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

#include <proto.hpp>

Inheritance diagram for openvpn::ProtoContext::TLSCryptPreValidate:
[legend]
Collaboration diagram for openvpn::ProtoContext::TLSCryptPreValidate:
[legend]

Public Member Functions

 OPENVPN_SIMPLE_EXCEPTION (tls_crypt_pre_validate)
 
 TLSCryptPreValidate (const ProtoConfig &c, const bool server)
 
bool validate (const BufferAllocated &net_buf)
 
- 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.
 

Protected Attributes

unsigned int reset_op
 

Private Attributes

TLSCryptInstance::Ptr tls_crypt_recv
 
Frame::Ptr frame
 
BufferAllocated work
 
bool disabled = false
 

Additional Inherited Members

- Public Types inherited from openvpn::ProtoContext::TLSWrapPreValidate
typedef RCPtr< TLSWrapPreValidatePtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 
- 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.
 

Detailed Description

Definition at line 3762 of file proto.hpp.

Constructor & Destructor Documentation

◆ TLSCryptPreValidate()

openvpn::ProtoContext::TLSCryptPreValidate::TLSCryptPreValidate ( const ProtoConfig c,
const bool  server 
)
inline

Definition at line 3767 of file proto.hpp.

Member Function Documentation

◆ OPENVPN_SIMPLE_EXCEPTION()

openvpn::ProtoContext::TLSCryptPreValidate::OPENVPN_SIMPLE_EXCEPTION ( tls_crypt_pre_validate  )

◆ validate()

bool openvpn::ProtoContext::TLSCryptPreValidate::validate ( const BufferAllocated net_buf)
inlinevirtual

Implements openvpn::ProtoContext::TLSWrapPreValidate.

Definition at line 3804 of file proto.hpp.

Member Data Documentation

◆ disabled

bool openvpn::ProtoContext::TLSCryptPreValidate::disabled = false
private

Definition at line 3854 of file proto.hpp.

◆ frame

Frame::Ptr openvpn::ProtoContext::TLSCryptPreValidate::frame
private

Definition at line 3852 of file proto.hpp.

◆ reset_op

unsigned int openvpn::ProtoContext::TLSCryptPreValidate::reset_op
protected

Definition at line 3848 of file proto.hpp.

◆ tls_crypt_recv

TLSCryptInstance::Ptr openvpn::ProtoContext::TLSCryptPreValidate::tls_crypt_recv
private

Definition at line 3851 of file proto.hpp.

◆ work

BufferAllocated openvpn::ProtoContext::TLSCryptPreValidate::work
private

Definition at line 3853 of file proto.hpp.


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