B2BITS FIX Antenna C++ 2.33.0
|
Contains SSL specific information that is used while establishing connection. More...
#include <B2BITS_IPAddr.h>
Public Types | |
enum | ContextType { ContextType_Undefined , ContextType_Server , ContextType_Client } |
Type of the context contained. More... | |
Public Member Functions | |
void * | get () const |
const SSLContextConfiguratorPtr | getConfigurator () const |
Returns SSLContextConfigurator pointer if any. | |
ContextType | getContextType () const |
std::string | getStringProtocols () const |
template<typename T > | |
T * | getTyped () const |
bool | isClientContext () const |
Returns true if context contains client side information. | |
bool | isSecuredContext () const |
Returns true if context contains client or server side information. | |
bool | isServerContext () const |
Returns true if context contains server side information. | |
bool | operator!= (const SSLContext &other) const |
SSLContext & | operator= (SSLContext const &src) |
bool | operator== (const SSLContext &other) const |
SSLContext () | |
SSLContext (SSLContext const &src) | |
virtual | ~SSLContext () |
Public Attributes | |
std::string | ciphersList_ |
int | protocols_ |
Static Public Attributes | |
static const int | Protocol_ALL = Protocol_ALL_SSL | Protocol_ALL_TLS |
static const int | Protocol_ALL_SSL = Protocol_SSLv2 | Protocol_SSLv3 |
static const int | Protocol_ALL_TLS = Protocol_TLSv1 | Protocol_TLSv1_1 | Protocol_TLSv1_2 | Protocol_TLSv1_3 |
static const int | Protocol_SSLv2 = 1 |
static const int | Protocol_SSLv3 = 2 |
static const int | Protocol_TLSv1 = 4 |
static const int | Protocol_TLSv1_1 = 8 |
static const int | Protocol_TLSv1_2 = 16 |
static const int | Protocol_TLSv1_3 = 32 |
Protected Member Functions | |
SSLContext (ContextType ctxType, int protocols=Protocol_ALL, const SSLContextConfiguratorPtr &configurator=SSLContextConfiguratorPtr()) | |
Protected Attributes | |
SSLContextConfiguratorPtr | configurator_ |
ContextType | ctxType_ |
void * | sslCtx_ |
Contains SSL specific information that is used while establishing connection.
System::SSLContext::SSLContext | ( | ) |
|
virtual |
System::SSLContext::SSLContext | ( | SSLContext const & | src | ) |
|
protected |
void * System::SSLContext::get | ( | ) | const |
const SSLContextConfiguratorPtr System::SSLContext::getConfigurator | ( | ) | const |
Returns SSLContextConfigurator pointer if any.
ContextType System::SSLContext::getContextType | ( | ) | const |
std::string System::SSLContext::getStringProtocols | ( | ) | const |
|
inline |
|
inline |
Returns true if context contains client side information.
|
inline |
Returns true if context contains client or server side information.
True means that connection created with this context must and will be secured.
|
inline |
Returns true if context contains server side information.
bool System::SSLContext::operator!= | ( | const SSLContext & | other | ) | const |
SSLContext & System::SSLContext::operator= | ( | SSLContext const & | src | ) |
bool System::SSLContext::operator== | ( | const SSLContext & | other | ) | const |
std::string System::SSLContext::ciphersList_ |
|
protected |
|
protected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int System::SSLContext::protocols_ |
|
protected |