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

#include <kocrypto.hpp>

Inheritance diagram for openvpn::KoRekey::Key:
[legend]

Public Member Functions

 Key ()
 

Static Public Member Functions

static void validate (const CryptoAlgs::Type cipher, const CryptoAlgs::Type digest)
 

Protected Member Functions

const unsigned char * verify_key (const char *title, const StaticKey &sk, const size_t size_required)
 
void set_nonce_tail (const char *title, unsigned char *dest, const size_t dest_size, const StaticKey &src)
 

Private Member Functions

 Key (const Key &)=delete
 
Keyoperator= (const Key &)=delete
 

Detailed Description

Definition at line 56 of file kocrypto.hpp.

Constructor & Destructor Documentation

◆ Key() [1/2]

openvpn::KoRekey::Key::Key ( const Key )
privatedelete

◆ Key() [2/2]

openvpn::KoRekey::Key::Key ( )
inline

Definition at line 103 of file kocrypto.hpp.

Member Function Documentation

◆ operator=()

Key & openvpn::KoRekey::Key::operator= ( const Key )
privatedelete

◆ set_nonce_tail()

void openvpn::KoRekey::Key::set_nonce_tail ( const char *  title,
unsigned char *  dest,
const size_t  dest_size,
const StaticKey src 
)
inlineprotected

Definition at line 115 of file kocrypto.hpp.

Here is the caller graph for this function:

◆ validate()

static void openvpn::KoRekey::Key::validate ( const CryptoAlgs::Type  cipher,
const CryptoAlgs::Type  digest 
)
inlinestatic

Definition at line 63 of file kocrypto.hpp.

Here is the caller graph for this function:

◆ verify_key()

const unsigned char * openvpn::KoRekey::Key::verify_key ( const char *  title,
const StaticKey sk,
const size_t  size_required 
)
inlineprotected

Definition at line 108 of file kocrypto.hpp.

Here is the caller graph for this function:

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