OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::AppleSSLContext Class Reference

#include <sslctx.hpp>

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

Classes

class  Config
 
class  SSL
 

Public Types

enum  { MAX_CIPHERTEXT_IN = 64 }
 
typedef RCPtr< AppleSSLContextPtr
 
- Public Types inherited from openvpn::SSLFactoryAPI
typedef RCPtr< SSLFactoryAPIPtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

SSLAPI::Ptr ssl () override
 
SSLAPI::Ptr ssl (const std::string &hostname) override
 
const Modemode () const override
 
- Public Member Functions inherited from openvpn::SSLFactoryAPI
 OPENVPN_EXCEPTION (ssl_options_error)
 
 OPENVPN_EXCEPTION (ssl_context_error)
 
 OPENVPN_EXCEPTION (ssl_external_pki)
 
 OPENVPN_SIMPLE_EXCEPTION (ssl_ciphertext_in_overflow)
 
virtual SSLLib::Ctx libctx ()=0
 
virtual SSLAPI::Ptr ssl (const std::string *hostname, const std::string *cache_key)=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.
 

Private Member Functions

 AppleSSLContext (Config *config)
 
const Frame::Ptrframe () const
 
const CF::Array & identity () const
 

Static Private Member Functions

static CF::Array load_identity_ (const std::string &subj_match)
 

Private Attributes

Config::Ptr config_
 

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 56 of file sslctx.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 59 of file sslctx.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
MAX_CIPHERTEXT_IN 

Definition at line 61 of file sslctx.hpp.

Constructor & Destructor Documentation

◆ AppleSSLContext()

openvpn::AppleSSLContext::AppleSSLContext ( Config config)
inlineprivate

Definition at line 448 of file sslctx.hpp.

Member Function Documentation

◆ frame()

const Frame::Ptr & openvpn::AppleSSLContext::frame ( ) const
inlineprivate

Definition at line 455 of file sslctx.hpp.

Here is the caller graph for this function:

◆ identity()

const CF::Array & openvpn::AppleSSLContext::identity ( ) const
inlineprivate

Definition at line 459 of file sslctx.hpp.

Here is the caller graph for this function:

◆ load_identity_()

static CF::Array openvpn::AppleSSLContext::load_identity_ ( const std::string &  subj_match)
inlinestaticprivate

Definition at line 466 of file sslctx.hpp.

Here is the caller graph for this function:

◆ mode()

const Mode & openvpn::AppleSSLContext::mode ( ) const
inlineoverridevirtual

Implements openvpn::SSLFactoryAPI.

Definition at line 442 of file sslctx.hpp.

Here is the caller graph for this function:

◆ ssl() [1/2]

SSLAPI::Ptr openvpn::AppleSSLContext::ssl ( )
inlineoverridevirtual

Implements openvpn::SSLFactoryAPI.

Definition at line 431 of file sslctx.hpp.

◆ ssl() [2/2]

SSLAPI::Ptr openvpn::AppleSSLContext::ssl ( const std::string &  hostname)
inlineoverride

Definition at line 437 of file sslctx.hpp.

Member Data Documentation

◆ config_

Config::Ptr openvpn::AppleSSLContext::config_
private

Definition at line 483 of file sslctx.hpp.


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