Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

WinCAPICryptoKeyHMAC Class Reference

#include <WinCAPICryptoKeyHMAC.hpp>

Inheritance diagram for WinCAPICryptoKeyHMAC:

Inheritance graph
[legend]
Collaboration diagram for WinCAPICryptoKeyHMAC:

Collaboration graph
[legend]
List of all members.

Public Methods

 WinCAPICryptoKeyHMAC ()
virtual ~WinCAPICryptoKeyHMAC ()
virtual XSECCryptoKeyclone ()
 Replicate key. More...

virtual XSECCryptoKey::KeyType getKeyType ()
 Return the type of this key. More...

virtual const XMLCh * getProviderName ()
 Returns a string that identifies the crypto owner of this library. More...

virtual void setKey (unsigned char *inBuf, unsigned int inLength)
 Set the key. More...

virtual unsigned int getKey (safeBuffer &outBuf)
 Get the key value. More...

void setWinKey (HCRYPTKEY k)
HCRYPTKEY getWinKey (void)

Constructor & Destructor Documentation

WinCAPICryptoKeyHMAC::WinCAPICryptoKeyHMAC  
 

virtual WinCAPICryptoKeyHMAC::~WinCAPICryptoKeyHMAC   [inline, virtual]
 


Member Function Documentation

virtual XSECCryptoKey* WinCAPICryptoKeyHMAC::clone   [virtual]
 

Replicate key.

Implements XSECCryptoKeyHMAC.

virtual unsigned int WinCAPICryptoKeyHMAC::getKey safeBuffer   outBuf [virtual]
 

Get the key value.

Copy the key into the safeBuffer and return the number of bytes copied.

Parameters:
outBuf  Buffer to copy key into
Returns:
number of bytes copied in

Implements XSECCryptoKeyHMAC.

virtual XSECCryptoKey::KeyType WinCAPICryptoKeyHMAC::getKeyType   [inline, virtual]
 

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.

virtual const XMLCh* WinCAPICryptoKeyHMAC::getProviderName   [inline, virtual]
 

Returns a string that identifies the crypto owner of this library.

Implements XSECCryptoKey.

HCRYPTKEY WinCAPICryptoKeyHMAC::getWinKey void   
 

virtual void WinCAPICryptoKeyHMAC::setKey unsigned char *    inBuf,
unsigned int    inLength
[virtual]
 

Set the key.

Set the key from the buffer

Parameters:
inBuf  Buffer containing the key
inLength  Number of bytes of key in the buffer

Implements XSECCryptoKeyHMAC.

void WinCAPICryptoKeyHMAC::setWinKey HCRYPTKEY    k
 


The documentation for this class was generated from the following file:
Generated on Thu May 8 20:17:37 2003 for XML-Security-C by doxygen1.2.15