PKIFCryptoPPExternalDigest.h File Reference


Detailed Description

Subsystem: Cryptography (PKIFCRYPTO)

Module: PKIFCryptoPPExternalDigest

Id
PKIFCryptoPPExternalDigest.h 9903 2009-05-13 13:02:22Z agalustyan

Definition in file PKIFCryptoPPExternalDigest.h.

#include "PKIFdll.h"
#include "cryptlib.h"
#include "pubkey.h"

Include dependency graph for PKIFCryptoPPExternalDigest.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PKIFCryptoPPExternalDigest

Typedefs

typedef
CryptoPP::PK_MessageAccumulatorImpl
< PKIFCryptoPPExternalDigest
PKIFCryptoPPExternalDigestAccumulator
 A message accumulator to adapt the external digest "transformation" to crypto++ signature verification routines.

Functions

PKIFCryptoPPExternalDigestAccumulatorNewEDAccumulator (unsigned char *digest, size_t len)


Typedef Documentation

typedef CryptoPP::PK_MessageAccumulatorImpl<PKIFCryptoPPExternalDigest> PKIFCryptoPPExternalDigestAccumulator

A message accumulator to adapt the external digest "transformation" to crypto++ signature verification routines.

Definition at line 63 of file PKIFCryptoPPExternalDigest.h.


Function Documentation

PKIFCryptoPPExternalDigestAccumulator* NewEDAccumulator ( unsigned char *  digest,
size_t  len 
)

Interface: Module Create a new MessageAccumulator that uses the external digest class instead of one that expects to calculate the digest using Update() repeatedly

Returns:
newly allocated ExternalDigestAccumulator The caller is responsible for freeing it, but if it's used with Verify() it will be freed by crypto++ inside the Verify() routine.
Parameters:
digest  [in] pre-calculated message digest to use with the accumulator
len  [in] size in bytes of the digest buffer

Definition at line 103 of file PKIFCryptoPPExternalDigest.cpp.

References PKIFCryptoPPExternalDigest::SetDigest().

Referenced by CPKIFCryptoPP::Sign().


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