#include <XSECCryptoKeyHMAC.hpp>
Inheritance diagram for XSECCryptoKeyHMAC:
The library uses classes derived from this to process HMAC keys.
Public Member Functions | |
Constructors and Destructors | |
XSECCryptoKeyHMAC () | |
virtual | ~XSECCryptoKeyHMAC () |
Key Interface methods | |
virtual XSECCryptoKey::KeyType | getKeyType () |
Return the type of this key. | |
virtual XSECCryptoKey * | clone ()=0 |
Replicate key. | |
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)=0 |
Set the key. | |
virtual unsigned int | getKey (safeBuffer &outBuf)=0 |
Get the key value. |
|
|
|
|
|
Replicate key.
Implements XSECCryptoKey. Implemented in OpenSSLCryptoKeyHMAC, and WinCAPICryptoKeyHMAC. |
|
Get the key value. Copy the key into the safeBuffer and return the number of bytes copied.
Implemented in OpenSSLCryptoKeyHMAC, and WinCAPICryptoKeyHMAC. |
|
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 XSECCryptoKey. Reimplemented in OpenSSLCryptoKeyHMAC, and WinCAPICryptoKeyHMAC. |
|
Set the key. Set the key from the buffer
Implemented in OpenSSLCryptoKeyHMAC, and WinCAPICryptoKeyHMAC. |