OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::DigestFactory Class Referenceabstract

#include <digestapi.hpp>

Inheritance diagram for openvpn::DigestFactory:
[legend]
Collaboration diagram for openvpn::DigestFactory:
[legend]

Public Types

typedef RCPtr< DigestFactoryPtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

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

Additional Inherited Members

- 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 45 of file digestapi.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 48 of file digestapi.hpp.

Member Function Documentation

◆ new_digest()

virtual DigestInstance::Ptr openvpn::DigestFactory::new_digest ( const CryptoAlgs::Type  digest_type)
pure virtual

Implemented in openvpn::CryptoDigestFactory< CRYPTO_API >.

Here is the caller graph for this function:

◆ new_hmac()

virtual HMACInstance::Ptr openvpn::DigestFactory::new_hmac ( const CryptoAlgs::Type  digest_type,
const unsigned char *  key,
const size_t  key_size 
)
pure virtual

Implemented in openvpn::CryptoDigestFactory< CRYPTO_API >.

Here is the caller graph for this function:

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