B2BITS FIX Antenna C++ 2.33.0
Loading...
Searching...
No Matches
Public 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:

Public Member Functions

 SSLServerContext (int protocols=Protocol_ALL, const SSLContextConfiguratorPtr &configurator=SSLContextConfiguratorPtr())
 Creates server specific context.
 
- Public Member Functions inherited from System::SSLContext
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
 
SSLContextoperator= (SSLContext const &src)
 
bool operator== (const SSLContext &other) const
 
 SSLContext ()
 
 SSLContext (SSLContext const &src)
 
virtual ~SSLContext ()
 

Additional Inherited Members

- Public Types inherited from System::SSLContext
enum  ContextType { ContextType_Undefined , ContextType_Server , ContextType_Client }
 Type of the context contained. More...
 
- 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 | 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 inherited from System::SSLContext
 SSLContext (ContextType ctxType, int protocols=Protocol_ALL, const SSLContextConfiguratorPtr &configurator=SSLContextConfiguratorPtr())
 
- 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. FAProperties::getSSLServerContext() returns the instance populated with the same data as used with engine's wide SSL server sockets.

Constructor & Destructor Documentation

◆ SSLServerContext()

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

Creates server specific context.

Parameters
protocols- defines which protocols are allowed to use.
configurator- custom SSL context configurator.