MySQL 8.4.2
Source Code Documentation
openssl::DigestCtx Class Reference

#include <openssl_digest.h>

Classes

class  Deleter
 

Public Member Functions

 DigestCtx (const EVP_MD *func)
 
 DigestCtx (const DigestFunc &func)
 
bool init ()
 
bool init (const EVP_MD *digest_func)
 
bool init (DigestFunc func)
 
template<class T >
bool update (const T &data)
 
template<class T >
bool finalize (T &out)
 

Private Attributes

const EVP_MD * digest_func_ {}
 
std::unique_ptr< EVP_MD_CTX, Deleterctx_
 

Constructor & Destructor Documentation

◆ DigestCtx() [1/2]

openssl::DigestCtx::DigestCtx ( const EVP_MD *  func)
inline

◆ DigestCtx() [2/2]

openssl::DigestCtx::DigestCtx ( const DigestFunc func)
inline

Member Function Documentation

◆ finalize()

template<class T >
bool openssl::DigestCtx::finalize ( T &  out)
inline

◆ init() [1/3]

bool openssl::DigestCtx::init ( )
inline

◆ init() [2/3]

bool openssl::DigestCtx::init ( const EVP_MD *  digest_func)
inline

◆ init() [3/3]

bool openssl::DigestCtx::init ( DigestFunc  func)
inline

◆ update()

template<class T >
bool openssl::DigestCtx::update ( const T &  data)
inline

Member Data Documentation

◆ ctx_

std::unique_ptr<EVP_MD_CTX, Deleter> openssl::DigestCtx::ctx_
private
Initial value:
{
EVP_MD_CTX_create()
}

◆ digest_func_

const EVP_MD* openssl::DigestCtx::digest_func_ {}
private

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