OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::DecryptCHM< CRYPTO_API > Class Template Reference

#include <decrypt_chm.hpp>

Collaboration diagram for openvpn::DecryptCHM< CRYPTO_API >:
[legend]

Public Member Functions

 OPENVPN_SIMPLE_EXCEPTION (chm_unsupported_cipher_mode)
 
Error::Type decrypt (BufferAllocated &buf, const std::time_t now)
 

Public Attributes

Frame::Ptr frame
 
CipherContext< CRYPTO_API > cipher
 
OvpnHMAC< CRYPTO_API > hmac
 
PacketIDDataReceive pid_recv
 
SessionStats::Ptr stats
 

Private Member Functions

bool verify_packet_id (BufferAllocated &buf, const std::time_t now)
 

Private Attributes

BufferAllocated work
 

Detailed Description

template<typename CRYPTO_API>
class openvpn::DecryptCHM< CRYPTO_API >

Definition at line 33 of file decrypt_chm.hpp.

Member Function Documentation

◆ decrypt()

template<typename CRYPTO_API >
Error::Type openvpn::DecryptCHM< CRYPTO_API >::decrypt ( BufferAllocated buf,
const std::time_t  now 
)
inline

Definition at line 38 of file decrypt_chm.hpp.

◆ OPENVPN_SIMPLE_EXCEPTION()

template<typename CRYPTO_API >
openvpn::DecryptCHM< CRYPTO_API >::OPENVPN_SIMPLE_EXCEPTION ( chm_unsupported_cipher_mode  )

◆ verify_packet_id()

template<typename CRYPTO_API >
bool openvpn::DecryptCHM< CRYPTO_API >::verify_packet_id ( BufferAllocated buf,
const std::time_t  now 
)
inlineprivate

Definition at line 115 of file decrypt_chm.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ cipher

template<typename CRYPTO_API >
CipherContext<CRYPTO_API> openvpn::DecryptCHM< CRYPTO_API >::cipher

Definition at line 109 of file decrypt_chm.hpp.

◆ frame

template<typename CRYPTO_API >
Frame::Ptr openvpn::DecryptCHM< CRYPTO_API >::frame

Definition at line 108 of file decrypt_chm.hpp.

◆ hmac

template<typename CRYPTO_API >
OvpnHMAC<CRYPTO_API> openvpn::DecryptCHM< CRYPTO_API >::hmac

Definition at line 110 of file decrypt_chm.hpp.

◆ pid_recv

template<typename CRYPTO_API >
PacketIDDataReceive openvpn::DecryptCHM< CRYPTO_API >::pid_recv

Definition at line 111 of file decrypt_chm.hpp.

◆ stats

template<typename CRYPTO_API >
SessionStats::Ptr openvpn::DecryptCHM< CRYPTO_API >::stats

Definition at line 112 of file decrypt_chm.hpp.

◆ work

template<typename CRYPTO_API >
BufferAllocated openvpn::DecryptCHM< CRYPTO_API >::work
private

Definition at line 121 of file decrypt_chm.hpp.


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