A cryptographic message authentication code class.
More...
#include <secure.h>
|
static bool | has (const char *name) |
| Test to see if a specific digest type is supported.
|
|
static secure::keybytes | sha256 (secure::keybytes key, const uint8_t *mem, size_t size) |
|
static secure::keybytes | sha384 (secure::keybytes key, const uint8_t *mem, size_t soze) |
|
|
const uint8_t * | get (void) |
|
void | release (void) |
|
A cryptographic message authentication code class.
This class can support md5 digests, sha1, sha256, etc, depending on what the underlying library supports.
- Author
- David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org
Definition at line 656 of file secure.h.
◆ has()
static bool ucommon::HMAC::has |
( |
const char * | name | ) |
|
|
static |
Test to see if a specific digest type is supported.
- Parameters
-
name | of digest we want to check. |
- Returns
- true if supported, false if not.
◆ operator bool()
ucommon::HMAC::operator bool |
( |
| ) |
const |
|
inline |
◆ operator secure::string()
ucommon::HMAC::operator secure::string |
( |
| ) |
|
|
inline |
◆ operator!()
bool ucommon::HMAC::operator! |
( |
| ) |
const |
|
inline |
◆ operator*()
secure::string ucommon::HMAC::operator* |
( |
| ) |
|
|
inline |
◆ operator*=()
bool ucommon::HMAC::operator*= |
( |
const char * | text | ) |
|
|
inline |
◆ operator+=()
bool ucommon::HMAC::operator+= |
( |
const char * | text | ) |
|
|
inline |
◆ operator<<() [1/4]
HMAC & ucommon::HMAC::operator<< |
( |
const char * | str | ) |
|
|
inline |
◆ operator<<() [2/4]
◆ operator<<() [3/4]
HMAC & ucommon::HMAC::operator<< |
( |
int16_t | value | ) |
|
|
inline |
◆ operator<<() [4/4]
HMAC & ucommon::HMAC::operator<< |
( |
int32_t | value | ) |
|
|
inline |
◆ puts()
bool ucommon::HMAC::puts |
( |
const char * | str | ) |
|
|
inline |
◆ size()
unsigned ucommon::HMAC::size |
( |
| ) |
const |
|
inline |
◆ hmacid
int ucommon::HMAC::hmacid |
◆ hmactype
const void* ucommon::HMAC::hmactype |
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/ucommon-7.0.0-build/ucommon-7.0.0/inc/ucommon/secure.h