B2BITS FIX Antenna C++  2.27.1
Protected Member Functions | List of all members
System::SSLServerContext Class Reference

Server specific SSL context. More...

#include <B2BITS_IPAddr.h>

+ Inheritance diagram for System::SSLServerContext:
+ Collaboration diagram for System::SSLServerContext:

Protected Member Functions

 SSLServerContext (int protocols=Protocol_ALL, const SSLContextConfiguratorPtr &configurator=SSLContextConfiguratorPtr())
- Protected Member Functions inherited from System::SSLContext
 SSLContext (ContextType ctxType, int protocols=Protocol_ALL, const SSLContextConfiguratorPtr &configurator=SSLContextConfiguratorPtr())

Additional Inherited Members

- Public Types inherited from System::SSLContext
enum  ContextType { ContextType_Undefined, ContextType_Server, ContextType_Client }
 Type of the context contained. More...
- Public Member Functions inherited from System::SSLContext
void * get () const
const SSLContextConfiguratorPtr getConfigurator () const
 Returns SSLContextConfigurator pointer if any. More...
ContextType getContextType () const
std::string getStringProtocols () const
template<typename T >
T * getTyped () const
bool isClientContext () const
 Returns true if context contains client side information. More...
bool isSecuredContext () const
 Returns true if context contains client or server side information. More...
bool isServerContext () const
 Returns true if context contains server side information. More...
SSLContextoperator= (SSLContext const &src)
 SSLContext ()
 SSLContext (SSLContext const &src)
virtual ~SSLContext ()
- Public Attributes inherited from System::SSLContext
std::string ciphersList_
int protocols_
- Static Public Attributes inherited from System::SSLContext
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
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
- Protected Attributes inherited from System::SSLContext
SSLContextConfiguratorPtr configurator_
ContextType ctxType_
void * sslCtx_

Detailed Description

Server specific SSL context.

This context type is used to establish secured connection from server side. This class can't be created by user. Use FAProperties::getSSLServerContext() to get the instance. FAProperties::getSSLServerContext() returns the instance populated with the same data as used with SSL server socket by the engine.

Constructor & Destructor Documentation

◆ SSLServerContext()

System::SSLServerContext::SSLServerContext ( int  protocols = Protocol_ALL,
const SSLContextConfiguratorPtr configurator = SSLContextConfiguratorPtr()