BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
#include <SSLFacility.h>
Public Member Functions | |
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) | |
Protected Types | |
using | VerificationMode = typename Poco::Net::Context::VerificationMode |
Protected Member Functions | |
virtual Poco::Net::Context::Ptr | createContext ()=0 |
Protected Member Functions inherited from BeeeOn::Loggable | |
void | setupLogger (Poco::Logger *logger=0) const |
Poco::Logger & | logger () const |
Additional Inherited Members | |
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) |
Abstract class for configuration of SSL context. It allows to set the most common settings of the Context. Properties specific to client or server context are to be added by the inhertited classes.
The SSLFacility provides the following properties for dependency-injection setup: