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
using Ptr = RCPtr< TLSWrapPreValidate >
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
using Ptr = RCPtr< RC >
 
- 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 3802 of file proto.hpp.

Constructor & Destructor Documentation

◆ TLSCryptPreValidate()

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

Definition at line 3807 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 3844 of file proto.hpp.

Member Data Documentation

◆ disabled

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

Definition at line 3894 of file proto.hpp.

◆ frame

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

Definition at line 3892 of file proto.hpp.

◆ reset_op

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

Definition at line 3888 of file proto.hpp.

◆ tls_crypt_recv

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

Definition at line 3891 of file proto.hpp.

◆ work

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

Definition at line 3893 of file proto.hpp.


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