IPKIFCryptoMisc Class Reference

#include <IPKIFCryptoMisc.h>

Inheritance diagram for IPKIFCryptoMisc:

Inheritance graph
[legend]

List of all members.


Detailed Description

IPKIFCryptoMisc provides an interface to keyless cryptographic functionality, e.g. random number generation and message digesting. PKIF provides one mediator class and one colleague class that implement this interface: CPKIFCryptoMediator2 and CPKIFCAPIRaw.

TSP-enforcing: No

Definition at line 25 of file IPKIFCryptoMisc.h.


Public Member Functions

 IPKIFCryptoMisc ()
virtual void GenRandom (unsigned char *buf, int len)=0
virtual IPKIFHashContextHashInit (PKIFCRYPTO::HASH_ALG alg)=0
virtual void HashUpdate (IPKIFHashContext *hash, unsigned char *pData, int nDataLen)=0
virtual void HashFinal (IPKIFHashContext *hash, unsigned char *pResult, int *pnResultLen)=0

Constructor & Destructor Documentation

IPKIFCryptoMisc::IPKIFCryptoMisc (  ) 

Interface: External

Default constructor

Returns:
None

Definition at line 18 of file IPKIFCryptoMisc.cpp.


Member Function Documentation

virtual void IPKIFCryptoMisc::GenRandom ( unsigned char *  buf,
int  len 
) [pure virtual]

virtual IPKIFHashContext* IPKIFCryptoMisc::HashInit ( PKIFCRYPTO::HASH_ALG  alg  )  [pure virtual]

virtual void IPKIFCryptoMisc::HashUpdate ( IPKIFHashContext hash,
unsigned char *  pData,
int  nDataLen 
) [pure virtual]

virtual void IPKIFCryptoMisc::HashFinal ( IPKIFHashContext hash,
unsigned char *  pResult,
int *  pnResultLen 
) [pure virtual]


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

Generated on Mon Nov 15 11:20:56 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6