Hybrid ICN (hICN) plugin  v21.06-rc0-4-g18fa668
Public Member Functions | Static Public Member Functions | List of all members
transport::auth::CryptoHash Class Reference

Public Member Functions

 CryptoHash (const CryptoHash &other)
 
 CryptoHash (CryptoHash &&other)
 
 CryptoHash (CryptoHashType hash_type)
 
 CryptoHash (const uint8_t *hash, std::size_t size, CryptoHashType hash_type)
 
 CryptoHash (const std::vector< uint8_t > &hash, CryptoHashType hash_type)
 
CryptoHashoperator= (const CryptoHash &other)
 
bool operator== (const CryptoHash &other) const
 
void computeDigest (const uint8_t *buffer, std::size_t len)
 
void computeDigest (const std::vector< uint8_t > &buffer)
 
void computeDigest (const utils::MemBuf *buffer)
 
std::vector< uint8_t > getDigest () const
 
std::string getStringDigest () const
 
CryptoHashType getType () const
 
std::size_t getSize () const
 
void setType (CryptoHashType hash_type)
 
void display ()
 
void reset ()
 

Static Public Member Functions

static CryptoHashEVP getEVP (CryptoHashType hash_type)
 
static std::size_t getSize (CryptoHashType hash_type)
 
static bool compareDigest (const uint8_t *h1, const uint8_t *h2, CryptoHashType hash_type)
 

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