BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Protected Member Functions | Protected Attributes
BeeeOn::SSLClient Class Reference

#include <SSLClient.h>

Inheritance diagram for BeeeOn::SSLClient:
BeeeOn::SSLFacility BeeeOn::Loggable

Public Types

typedef Poco::SharedPtr
< SSLClient
Ptr
 

Protected Member Functions

Poco::Net::Context::Ptr createContext () override
 
- Protected Member Functions inherited from BeeeOn::Loggable
void setupLogger (Poco::Logger *logger=0) const
 
Poco::Logger & logger () const
 

Protected Attributes

Poco::SharedPtr
< Poco::Net::InvalidCertificateHandler > 
m_certHandler
 
- Protected Attributes inherited from BeeeOn::SSLFacility
Poco::Mutex m_lock
 
Poco::Net::Context::Ptr m_context
 
std::string m_caLocation
 
bool m_loadDefaultCA
 
std::string m_privateKey
 
std::string m_passphrase
 
std::string m_certificate
 
VerificationMode m_verificationMode
 
int m_verificationDepth
 
std::string m_cipherList
 
bool m_sessionCache
 
unsigned int m_disabledProtocols
 
bool m_extendedCertificateVerification
 

Additional Inherited Members

- Public Member Functions inherited from BeeeOn::SSLFacility
void setCALocation (const std::string &caLocation)
 
void setLoadDefaultCA (const std::string &enable)
 
void setPrivateKey (const std::string &file)
 
void setPassphrase (const std::string &passphrase)
 
void setCertificate (const std::string &file)
 
void setVerificationMode (const std::string &mode)
 
void setVerificationDepth (int depth)
 
void setCipherList (const std::string &list)
 
void setSessionCache (const std::string &enable)
 
void setDisabledProtocols (const std::string &protocols)
 
void setExtendedCertificateVerification (bool enable)
 
Poco::File caLocation () const
 
Poco::File privateKey () const
 
std::string passphrase () const
 
Poco::File certificate () const
 
Poco::Net::Context::VerificationMode verificationMode () const
 
std::set< std::string > disabledProtocols () const
 
std::string cipherList () const
 
Poco::Net::Context::Ptr context ()
 
void initContext ()
 
- Public Member Functions inherited from BeeeOn::Loggable
 Loggable (const ClassInfo &info)
 
 Loggable (const std::type_info &info)
 
- Static Public Member Functions inherited from BeeeOn::Loggable
static Poco::Logger & forMethod (const char *name)
 
static Poco::Logger & forClass (const ClassInfo &info)
 
static Poco::Logger & forClass (const std::type_info &info)
 
template<typename T >
static Poco::Logger & forInstance (const T *i)
 
static void configureSimple (Poco::Logger &logger, const std::string &level)
 
static void logException (Poco::Logger &logger, const Poco::Message::Priority priority, const Poco::Exception &e, const char *file, size_t line)
 
- Protected Types inherited from BeeeOn::SSLFacility
using VerificationMode = typename Poco::Net::Context::VerificationMode
 

Detailed Description

SSL Client context provider. Each group of SSL connections (connection to certain server, connections by certain L7 protocol, etc.) would usually use an instance of the SSLClient. Some applications may share a single instance.


The documentation for this class was generated from the following files: