OpenVPN 3 Core Library
|
#include <sslapi.hpp>
Public Types | |
typedef RCPtr< SSLFactoryAPI > | Ptr |
![]() | |
typedef RCPtr< RC > | Ptr |
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 Mode & | mode () const =0 |
![]() | |
RC () noexcept=default | |
RC (const RC &)=delete | |
virtual | ~RC ()=default |
RC & | operator= (const RC &)=delete |
olong | use_count () const noexcept |
Delegates call to RCImpl and returns the result. | |
Additional Inherited Members | |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
![]() | |
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 constexpr int | max_log_level |
static constexpr int | default_log_level |
![]() | |
static logging::Logger< DEFAULT_LOG_LEVEL, MAX_LEVEL > | log_ |
Definition at line 82 of file sslapi.hpp.
Definition at line 91 of file sslapi.hpp.
|
pure virtual |
Implemented in openvpn::MbedTLSContext, and openvpn::OpenSSLContext.
|
pure virtual |
Implemented in openvpn::AppleSSLContext, openvpn::MbedTLSContext, and openvpn::OpenSSLContext.
openvpn::SSLFactoryAPI::OPENVPN_EXCEPTION | ( | ssl_context_error | ) |
openvpn::SSLFactoryAPI::OPENVPN_EXCEPTION | ( | ssl_external_pki | ) |
openvpn::SSLFactoryAPI::OPENVPN_EXCEPTION | ( | ssl_options_error | ) |
openvpn::SSLFactoryAPI::OPENVPN_SIMPLE_EXCEPTION | ( | ssl_ciphertext_in_overflow | ) |
|
pure virtual |
Implemented in openvpn::AppleSSLContext, openvpn::MbedTLSContext, and openvpn::OpenSSLContext.
|
pure virtual |
Implemented in openvpn::MbedTLSContext, and openvpn::OpenSSLContext.