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

#include <digestapi.hpp>

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

Public Member Functions

 CryptoDigestFactory (SSLLib::Ctx libctx_arg=nullptr)
 
virtual DigestInstance::Ptr new_digest (const CryptoAlgs::Type digest_type)
 
virtual HMACInstance::Ptr new_hmac (const CryptoAlgs::Type digest_type, const unsigned char *key, const size_t key_size)
 
- 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.
 

Public Attributes

SSLLib::Ctx libctx
 

Additional Inherited Members

- Public Types inherited from openvpn::DigestFactory
typedef RCPtr< DigestFactoryPtr
 
- 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::CryptoDigestFactory< CRYPTO_API >

Definition at line 121 of file digestapi.hpp.

Constructor & Destructor Documentation

◆ CryptoDigestFactory()

template<typename CRYPTO_API >
openvpn::CryptoDigestFactory< CRYPTO_API >::CryptoDigestFactory ( SSLLib::Ctx  libctx_arg = nullptr)
inline

Definition at line 124 of file digestapi.hpp.

Member Function Documentation

◆ new_digest()

template<typename CRYPTO_API >
virtual DigestInstance::Ptr openvpn::CryptoDigestFactory< CRYPTO_API >::new_digest ( const CryptoAlgs::Type  digest_type)
inlinevirtual

Implements openvpn::DigestFactory.

Definition at line 129 of file digestapi.hpp.

◆ new_hmac()

template<typename CRYPTO_API >
virtual HMACInstance::Ptr openvpn::CryptoDigestFactory< CRYPTO_API >::new_hmac ( const CryptoAlgs::Type  digest_type,
const unsigned char *  key,
const size_t  key_size 
)
inlinevirtual

Implements openvpn::DigestFactory.

Definition at line 134 of file digestapi.hpp.

Member Data Documentation

◆ libctx

template<typename CRYPTO_API >
SSLLib::Ctx openvpn::CryptoDigestFactory< CRYPTO_API >::libctx

Definition at line 143 of file digestapi.hpp.


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