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

#include <cryptodc.hpp>

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

Public Member Functions

 OPENVPN_SIMPLE_EXCEPTION (no_data_channel_factory)
 
 CryptoDCSettings ()=default
 
void set_factory (const CryptoDCFactory::Ptr &factory)
 
void set_cipher (const CryptoAlgs::Type new_cipher)
 
void set_digest (const CryptoAlgs::Type new_digest)
 
void set_use_epoch_keys (bool at_the_end)
 
CryptoDCContextcontext ()
 
void reset ()
 
CryptoDCFactory::Ptr factory () const
 
- Public Member Functions inherited from openvpn::CryptoDCSettingsData
 OPENVPN_SIMPLE_EXCEPTION (no_data_channel_factory)
 
 CryptoDCSettingsData ()=default
 
void set_cipher (CryptoAlgs::Type cipher)
 
void set_digest (CryptoAlgs::Type digest)
 
void set_use_epoch_keys (bool use_epoch)
 
CryptoAlgs::Type cipher () const
 
CryptoAlgs::Type digest () const
 
bool useEpochKeys () const
 
void set_key_derivation (CryptoAlgs::KeyDerivation method)
 
CryptoAlgs::KeyDerivation key_derivation () const
 

Private Attributes

bool dirty = false
 
CryptoDCFactory::Ptr factory_
 
CryptoDCContext::Ptr context_
 

Detailed Description

Definition at line 193 of file cryptodc.hpp.

Constructor & Destructor Documentation

◆ CryptoDCSettings()

openvpn::CryptoDCSettings::CryptoDCSettings ( )
default

Member Function Documentation

◆ context()

CryptoDCContext & openvpn::CryptoDCSettings::context ( )
inline

Definition at line 234 of file cryptodc.hpp.

Here is the caller graph for this function:

◆ factory()

CryptoDCFactory::Ptr openvpn::CryptoDCSettings::factory ( ) const
inline

Definition at line 253 of file cryptodc.hpp.

Here is the caller graph for this function:

◆ OPENVPN_SIMPLE_EXCEPTION()

openvpn::CryptoDCSettings::OPENVPN_SIMPLE_EXCEPTION ( no_data_channel_factory  )

◆ reset()

void openvpn::CryptoDCSettings::reset ( )
inline

Definition at line 246 of file cryptodc.hpp.

◆ set_cipher()

void openvpn::CryptoDCSettings::set_cipher ( const CryptoAlgs::Type  new_cipher)
inline

Definition at line 207 of file cryptodc.hpp.

Here is the caller graph for this function:

◆ set_digest()

void openvpn::CryptoDCSettings::set_digest ( const CryptoAlgs::Type  new_digest)
inline

Definition at line 216 of file cryptodc.hpp.

Here is the caller graph for this function:

◆ set_factory()

void openvpn::CryptoDCSettings::set_factory ( const CryptoDCFactory::Ptr factory)
inline

Definition at line 200 of file cryptodc.hpp.

Here is the caller graph for this function:

◆ set_use_epoch_keys()

void openvpn::CryptoDCSettings::set_use_epoch_keys ( bool  at_the_end)
inline

Definition at line 225 of file cryptodc.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ context_

CryptoDCContext::Ptr openvpn::CryptoDCSettings::context_
private

Definition at line 261 of file cryptodc.hpp.

◆ dirty

bool openvpn::CryptoDCSettings::dirty = false
private

Definition at line 259 of file cryptodc.hpp.

◆ factory_

CryptoDCFactory::Ptr openvpn::CryptoDCSettings::factory_
private

Definition at line 260 of file cryptodc.hpp.


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