ucommon::HMAC Class Reference

A cryptographic message authentication code class. More...

#include <secure.h>

Public Member Functions

const char * c_str (void)
const unsigned char * get (void)
 HMAC (const char *digest, const char *key, size_t keylen=0)
 operator bool () const
 operator String ()
bool operator! () const
const char * operator* ()
bool operator*= (const char *text)
bool operator+= (const char *text)
HMACoperator<< (const PrintProtocol &p)
HMACoperator<< (int32_t value)
HMACoperator<< (int16_t value)
HMACoperator<< (const char *str)
bool put (const void *memory, size_t size)
bool puts (const char *str)
void set (const char *digest, const char *key, size_t len)
unsigned size () const
String str (void)

Static Public Member Functions

static bool has (const char *name)
 Test to see if a specific digest type is supported.

Protected Member Functions

void release (void)

Detailed Description

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@gnutelephony.org>

Definition at line 535 of file secure.h.


Member Function Documentation

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.

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

Generated on 30 Jul 2013 for UCommon by  doxygen 1.6.1