| 
    OpenVPN 3 Core Library
    
   | 
 
#include <cryptodc.hpp>
Public Member Functions | |
| 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 | |
| CryptoAlgs::Type | cipher_ = CryptoAlgs::NONE | 
| CryptoAlgs::Type | digest_ = CryptoAlgs::NONE | 
| CryptoAlgs::KeyDerivation | key_derivation_ = CryptoAlgs::KeyDerivation::OPENVPN_PRF | 
| bool | use_epoch_keys = false | 
class that holds settings for a data channel encryption
Definition at line 98 of file cryptodc.hpp.
      
  | 
  default | 
      
  | 
  inline | 
      
  | 
  inline | 
Retrieve the digest configured for the data channel. If the configured data channel cipher does not use any additional digest, CryptoAlgs::NONE is returned.
Definition at line 132 of file cryptodc.hpp.
      
  | 
  inline | 
| openvpn::CryptoDCSettingsData::OPENVPN_SIMPLE_EXCEPTION | ( | no_data_channel_factory | ) | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  private | 
Definition at line 154 of file cryptodc.hpp.
      
  | 
  private | 
Definition at line 155 of file cryptodc.hpp.
      
  | 
  private | 
Definition at line 156 of file cryptodc.hpp.
      
  | 
  private | 
Definition at line 157 of file cryptodc.hpp.