OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::SSLFactoryAPI Class Referenceabstract

#include <sslapi.hpp>

Inheritance diagram for openvpn::SSLFactoryAPI:
[legend]
Collaboration diagram for openvpn::SSLFactoryAPI:
[legend]

Public Types

typedef RCPtr< SSLFactoryAPIPtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

 OPENVPN_EXCEPTION (ssl_options_error)
 
 OPENVPN_EXCEPTION (ssl_context_error)
 
 OPENVPN_EXCEPTION (ssl_external_pki)
 
 OPENVPN_SIMPLE_EXCEPTION (ssl_ciphertext_in_overflow)
 
virtual SSLAPI::Ptr ssl ()=0
 
virtual SSLLib::Ctx libctx ()=0
 
virtual SSLAPI::Ptr ssl (const std::string *hostname, const std::string *cache_key)=0
 
virtual const Modemode () const =0
 
- Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount >
 RC () noexcept=default
 
 RC (const RC &)=delete
 
virtual ~RC ()=default
 
RCoperator= (const RC &)=delete
 
olong use_count () const noexcept
 Delegates call to RCImpl and returns the result.
 

Additional Inherited Members

- Static Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount >
static constexpr bool is_thread_safe ()
 Delegates call to RCImpl and returns the result.
 
- Static Public Member Functions inherited from openvpn::logging::LoggingMixin< logging::LOG_LEVEL_VERB, logging::LOG_LEVEL_TRACE, SSLFactoryAPI >
static int log_level ()
 return the current logging level for all logging
 
static void set_log_level (int level)
 set the log level for all loggigng
 
- Static Public Attributes inherited from openvpn::logging::LoggingMixin< logging::LOG_LEVEL_VERB, logging::LOG_LEVEL_TRACE, SSLFactoryAPI >
static constexpr int max_log_level
 
static constexpr int default_log_level
 
- Static Protected Attributes inherited from openvpn::logging::LoggingMixin< logging::LOG_LEVEL_VERB, logging::LOG_LEVEL_TRACE, SSLFactoryAPI >
static logging::Logger< DEFAULT_LOG_LEVEL, MAX_LEVEL > log_
 

Detailed Description

Definition at line 82 of file sslapi.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 91 of file sslapi.hpp.

Member Function Documentation

◆ libctx()

virtual SSLLib::Ctx openvpn::SSLFactoryAPI::libctx ( )
pure virtual

Implemented in openvpn::MbedTLSContext, and openvpn::OpenSSLContext.

Here is the caller graph for this function:

◆ mode()

virtual const Mode & openvpn::SSLFactoryAPI::mode ( ) const
pure virtual

Implemented in openvpn::AppleSSLContext, openvpn::MbedTLSContext, and openvpn::OpenSSLContext.

Here is the caller graph for this function:

◆ OPENVPN_EXCEPTION() [1/3]

openvpn::SSLFactoryAPI::OPENVPN_EXCEPTION ( ssl_context_error  )

◆ OPENVPN_EXCEPTION() [2/3]

openvpn::SSLFactoryAPI::OPENVPN_EXCEPTION ( ssl_external_pki  )

◆ OPENVPN_EXCEPTION() [3/3]

openvpn::SSLFactoryAPI::OPENVPN_EXCEPTION ( ssl_options_error  )

◆ OPENVPN_SIMPLE_EXCEPTION()

openvpn::SSLFactoryAPI::OPENVPN_SIMPLE_EXCEPTION ( ssl_ciphertext_in_overflow  )

◆ ssl() [1/2]

virtual SSLAPI::Ptr openvpn::SSLFactoryAPI::ssl ( )
pure virtual

Implemented in openvpn::AppleSSLContext, openvpn::MbedTLSContext, and openvpn::OpenSSLContext.

Here is the caller graph for this function:

◆ ssl() [2/2]

virtual SSLAPI::Ptr openvpn::SSLFactoryAPI::ssl ( const std::string *  hostname,
const std::string *  cache_key 
)
pure virtual

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