Kea  1.5.0
isc::cryptolink::btn Namespace Reference

Functions

const std::string getHashAlgorithmName (isc::cryptolink::HashAlgorithm algorithm)
 Decode the HashAlgorithm enum into a name usable by Botan. More...
 

Function Documentation

◆ getHashAlgorithmName()

const std::string isc::cryptolink::btn::getHashAlgorithmName ( isc::cryptolink::HashAlgorithm  algorithm)

Decode the HashAlgorithm enum into a name usable by Botan.

Parameters
algorithmalgorithm to be converted
Returns
static text representation of the algorithm name
Parameters
algorithmalgorithm to be converted
Returns
text representation of the algorithm name

Definition at line 29 of file botan1_hash.cc.

References isc::cryptolink::MD5, isc::cryptolink::SHA1, isc::cryptolink::SHA224, isc::cryptolink::SHA256, isc::cryptolink::SHA384, isc::cryptolink::SHA512, and isc::cryptolink::UNKNOWN_HASH.

Referenced by isc::cryptolink::HashImpl::HashImpl(), and isc::cryptolink::HMACImpl::HMACImpl().