#include <OpenSSLCryptoKeyHMAC.hpp>
Inheritance diagram for OpenSSLCryptoKeyHMAC:
Used to provide HMAC keys to OpenSSLCryptoHashHMAC
Public Member Functions | |
Constructors and Destructors | |
OpenSSLCryptoKeyHMAC () | |
virtual | ~OpenSSLCryptoKeyHMAC () |
Key Interface methods | |
virtual XSECCryptoKey::KeyType | getKeyType () |
Return the type of this key. | |
virtual XSECCryptoKey * | clone () |
Replicate key. | |
virtual const XMLCh * | getProviderName () |
Return the OpenSSL string identifier. | |
Optional Interface methods | |
These functions do not necessarily have to be implmented. They are used by XSECKeyInfoResolverDefault to try to create a key from KeyInfo elements without knowing anything else.
If an interface class does not implement these functions, a simple stub that does nothing should be used. | |
virtual void | setKey (unsigned char *inBuf, unsigned int inLength) |
Set the key. | |
virtual unsigned int | getKey (safeBuffer &outBuf) |
Get the key value. |
|
|
|
|
|
Replicate key.
Implements XSECCryptoKeyHMAC. |
|
Get the key value. Copy the key into the safeBuffer and return the number of bytes copied.
Implements XSECCryptoKeyHMAC. |
|
Return the type of this key. For DSA keys, this allows people to determine whether this is a public key, private key or a key pair Reimplemented from XSECCryptoKeyHMAC. |
|
Return the OpenSSL string identifier.
Implements XSECCryptoKey. |
|
Set the key. Set the key from the buffer
Implements XSECCryptoKeyHMAC. |