Standard HMAC-SHA256 object.
More...
#include <HMAC.hpp>
|
unsigned char | m_HMAC [HMAC_SHA256_HASH_SIZE] |
|
Standard HMAC-SHA256 object.
_Wolframe::crypto::HMAC_SHA256::HMAC_SHA256 |
( |
const unsigned char * |
key, |
|
|
size_t |
keySize, |
|
|
const unsigned char * |
msg, |
|
|
size_t |
msgSize |
|
) |
| |
|
inline |
_Wolframe::crypto::HMAC_SHA256::HMAC_SHA256 |
( |
const std::string & |
key, |
|
|
const std::string & |
message |
|
) |
| |
|
inline |
_Wolframe::crypto::HMAC_SHA256::HMAC_SHA256 |
( |
const unsigned char * |
key, |
|
|
size_t |
keySize, |
|
|
const std::string & |
message |
|
) |
| |
|
inline |
_Wolframe::crypto::HMAC_SHA256::HMAC_SHA256 |
( |
const std::string & |
key, |
|
|
const unsigned char * |
msg, |
|
|
size_t |
msgSize |
|
) |
| |
|
inline |
_Wolframe::crypto::HMAC_SHA256::HMAC_SHA256 |
( |
const std::string & |
str | ) |
|
- Note
- The string is a base64 representation of the value
const unsigned char* _Wolframe::crypto::HMAC_SHA256::hash |
( |
| ) |
const |
|
inline |
bool _Wolframe::crypto::HMAC_SHA256::operator!= |
( |
const HMAC_SHA256 & |
rhs | ) |
const |
|
inline |
bool _Wolframe::crypto::HMAC_SHA256::operator!= |
( |
const std::string & |
rhs | ) |
const |
|
inline |
bool _Wolframe::crypto::HMAC_SHA256::operator== |
( |
const HMAC_SHA256 & |
rhs | ) |
const |
bool _Wolframe::crypto::HMAC_SHA256::operator== |
( |
const std::string & |
rhs | ) |
const |
Comparisson operators
- Note
- The string is a base64 representation of the value
std::size_t _Wolframe::crypto::HMAC_SHA256::size |
( |
| ) |
const |
|
inline |
std::string _Wolframe::crypto::HMAC_SHA256::toBCD |
( |
| ) |
const |
BCD string representation of the HMAC value.
std::string _Wolframe::crypto::HMAC_SHA256::toString |
( |
| ) |
const |
Base64 string representation of the HMAC value.
- Note
- The string is without the base64 end padding
unsigned char _Wolframe::crypto::HMAC_SHA256::m_HMAC[HMAC_SHA256_HASH_SIZE] |
|
private |
The documentation for this class was generated from the following file: