OpenVPN 3 Core Library
Loading...
Searching...
No Matches
DigestInfo Class Reference

#include <digest.hpp>

Public Types

enum  { NO_HMAC_ALG = -1 }
 

Public Member Functions

 DigestInfo (CryptoAlgs::Type type, const DigestAlgorithm *digest_alg, const CCHmacAlgorithm hmac_alg)
 
CryptoAlgs::Type type () const
 
const char * name () const
 
size_t size () const
 
const DigestAlgorithm * digest_alg () const
 
CCHmacAlgorithm hmac_alg () const
 

Private Attributes

CryptoAlgs::Type type_
 
const DigestAlgorithm * digest_alg_
 
CCHmacAlgorithm hmac_alg_
 

Detailed Description

Definition at line 95 of file digest.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NO_HMAC_ALG 

Definition at line 98 of file digest.hpp.

Constructor & Destructor Documentation

◆ DigestInfo()

DigestInfo::DigestInfo ( CryptoAlgs::Type  type,
const DigestAlgorithm *  digest_alg,
const CCHmacAlgorithm  hmac_alg 
)
inline

Definition at line 103 of file digest.hpp.

Member Function Documentation

◆ digest_alg()

const DigestAlgorithm * DigestInfo::digest_alg ( ) const
inline

Definition at line 124 of file digest.hpp.

◆ hmac_alg()

CCHmacAlgorithm DigestInfo::hmac_alg ( ) const
inline

Definition at line 128 of file digest.hpp.

Here is the caller graph for this function:

◆ name()

const char * DigestInfo::name ( ) const
inline

Definition at line 116 of file digest.hpp.

Here is the caller graph for this function:

◆ size()

size_t DigestInfo::size ( ) const
inline

Definition at line 120 of file digest.hpp.

◆ type()

CryptoAlgs::Type DigestInfo::type ( ) const
inline

Definition at line 112 of file digest.hpp.

Member Data Documentation

◆ digest_alg_

const DigestAlgorithm* DigestInfo::digest_alg_
private

Definition at line 135 of file digest.hpp.

◆ hmac_alg_

CCHmacAlgorithm DigestInfo::hmac_alg_
private

Definition at line 136 of file digest.hpp.

◆ type_

CryptoAlgs::Type DigestInfo::type_
private

Definition at line 134 of file digest.hpp.


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