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

#include <hashstr.hpp>

Collaboration diagram for openvpn::HashString:
[legend]

Public Member Functions

 HashString (DigestFactory &digest_factory, const CryptoAlgs::Type digest_type)
 
void update (const std::string &str)
 
void update (const char *str)
 
void update (const char c)
 
void update (const Buffer &buf)
 
BufferPtr final ()
 
void final (Buffer &output)
 
std::string final_hex ()
 
std::string final_base64 ()
 

Private Attributes

DigestInstance::Ptr ctx
 

Detailed Description

Definition at line 23 of file hashstr.hpp.

Constructor & Destructor Documentation

◆ HashString()

openvpn::HashString::HashString ( DigestFactory digest_factory,
const CryptoAlgs::Type  digest_type 
)
inline

Definition at line 26 of file hashstr.hpp.

Member Function Documentation

◆ final() [1/2]

BufferPtr openvpn::HashString::final ( )
inline

Definition at line 52 of file hashstr.hpp.

Here is the caller graph for this function:

◆ final() [2/2]

void openvpn::HashString::final ( Buffer output)
inline

Definition at line 59 of file hashstr.hpp.

◆ final_base64()

std::string openvpn::HashString::final_base64 ( )
inline

Definition at line 74 of file hashstr.hpp.

Here is the caller graph for this function:

◆ final_hex()

std::string openvpn::HashString::final_hex ( )
inline

Definition at line 68 of file hashstr.hpp.

Here is the caller graph for this function:

◆ update() [1/4]

void openvpn::HashString::update ( const Buffer buf)
inline

Definition at line 47 of file hashstr.hpp.

◆ update() [2/4]

void openvpn::HashString::update ( const char *  str)
inline

Definition at line 37 of file hashstr.hpp.

◆ update() [3/4]

void openvpn::HashString::update ( const char  c)
inline

Definition at line 42 of file hashstr.hpp.

◆ update() [4/4]

void openvpn::HashString::update ( const std::string &  str)
inline

Definition at line 32 of file hashstr.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ ctx

DigestInstance::Ptr openvpn::HashString::ctx
private

Definition at line 81 of file hashstr.hpp.


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