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

#include <ovpnhmac.hpp>

Inheritance diagram for openvpn::CryptoOvpnHMACContext< CRYPTO_API >:
[legend]
Collaboration diagram for openvpn::CryptoOvpnHMACContext< CRYPTO_API >:
[legend]

Public Member Functions

 CryptoOvpnHMACContext (const CryptoAlgs::Type digest_type)
 
size_t size () const override
 
OvpnHMACInstance::Ptr new_obj () override
 
- 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

CryptoAlgs::Type digest
 

Additional Inherited Members

- Public Types inherited from openvpn::OvpnHMACContext
typedef RCPtr< OvpnHMACContextPtr
 
- 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

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

Definition at line 224 of file ovpnhmac.hpp.

Constructor & Destructor Documentation

◆ CryptoOvpnHMACContext()

template<typename CRYPTO_API >
openvpn::CryptoOvpnHMACContext< CRYPTO_API >::CryptoOvpnHMACContext ( const CryptoAlgs::Type  digest_type)
inline

Definition at line 227 of file ovpnhmac.hpp.

Member Function Documentation

◆ new_obj()

template<typename CRYPTO_API >
OvpnHMACInstance::Ptr openvpn::CryptoOvpnHMACContext< CRYPTO_API >::new_obj ( )
inlineoverridevirtual

Implements openvpn::OvpnHMACContext.

Definition at line 237 of file ovpnhmac.hpp.

◆ size()

template<typename CRYPTO_API >
size_t openvpn::CryptoOvpnHMACContext< CRYPTO_API >::size ( ) const
inlineoverridevirtual

Implements openvpn::OvpnHMACContext.

Definition at line 232 of file ovpnhmac.hpp.

Member Data Documentation

◆ digest

template<typename CRYPTO_API >
CryptoAlgs::Type openvpn::CryptoOvpnHMACContext< CRYPTO_API >::digest
private

Definition at line 243 of file ovpnhmac.hpp.


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