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

#include <proto.hpp>

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

Public Member Functions

 OPENVPN_SIMPLE_EXCEPTION (tls_auth_pre_validate)
 
 TLSAuthPreValidate (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.
 

Private Attributes

OvpnHMACInstance::Ptr ta_hmac_recv
 
unsigned int reset_op
 

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 3701 of file proto.hpp.

Constructor & Destructor Documentation

◆ TLSAuthPreValidate()

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

Definition at line 3706 of file proto.hpp.

Member Function Documentation

◆ OPENVPN_SIMPLE_EXCEPTION()

openvpn::ProtoContext::TLSAuthPreValidate::OPENVPN_SIMPLE_EXCEPTION ( tls_auth_pre_validate  )

◆ validate()

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

Implements openvpn::ProtoContext::TLSWrapPreValidate.

Definition at line 3733 of file proto.hpp.

Member Data Documentation

◆ reset_op

unsigned int openvpn::ProtoContext::TLSAuthPreValidate::reset_op
private

Definition at line 3759 of file proto.hpp.

◆ ta_hmac_recv

OvpnHMACInstance::Ptr openvpn::ProtoContext::TLSAuthPreValidate::ta_hmac_recv
private

Definition at line 3758 of file proto.hpp.


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