#include <IPKIFCryptoMisc.h>
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 IPKIFHashContext * | HashInit (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 |
IPKIFCryptoMisc::IPKIFCryptoMisc | ( | ) |
Interface: External
Default constructor
Definition at line 18 of file IPKIFCryptoMisc.cpp.
virtual void IPKIFCryptoMisc::GenRandom | ( | unsigned char * | buf, | |
int | len | |||
) | [pure virtual] |
Implemented in CPKIFCryptoMediator2, CPKIFCAPIRaw, CPKIFCNGCAPIRaw, CPKIFCryptoPPRaw, and CPKIFNSSRaw.
Referenced by PKIFXSECCrypto::getRandom().
virtual IPKIFHashContext* IPKIFCryptoMisc::HashInit | ( | PKIFCRYPTO::HASH_ALG | alg | ) | [pure virtual] |
Implemented in CPKIFCryptoMediator2, CPKIFCAPIRaw, CPKIFCNGCAPIRaw, CPKIFCryptoPPRaw, and CPKIFNSSRaw.
Referenced by _HashIssuerName(), _HashPublicKey(), CalculateHashOfArchiveTimestampChain(), CertReferenceMatchesCertificate(), ComputeSignedAttrHash(), Countersign(), GetThumbprint(), GetThumbprintForSubjectAndIssuerPair(), CPKIFMessageImprint::HashAndSet(), HashBuffer(), CPKIFESSCertId::SetCertificate(), CPKIFParallelHash::SetDigestAlgs(), CPKIFTimestampVerifier::Verify(), VerifyCertificateWithCryptoPP(), and VerifyCounterSignatures().
virtual void IPKIFCryptoMisc::HashUpdate | ( | IPKIFHashContext * | hash, | |
unsigned char * | pData, | |||
int | nDataLen | |||
) | [pure virtual] |
Implemented in CPKIFCryptoMediator2, CPKIFCAPIRaw, CPKIFCNGCAPIRaw, CPKIFCryptoPPRaw, and CPKIFNSSRaw.
Referenced by _HashIssuerName(), _HashPublicKey(), CalculateHashOfArchiveTimestampChain(), CertReferenceMatchesCertificate(), ComputeSignedAttrHash(), Countersign(), GetThumbprint(), GetThumbprintForSubjectAndIssuerPair(), CPKIFMessageImprint::HashAndSet(), HashBuffer(), CPKIFESSCertId::SetCertificate(), CPKIFParallelHash::UpdateMessage(), CPKIFTimestampVerifier::Verify(), VerifyCertificateWithCryptoPP(), and VerifyCounterSignatures().
virtual void IPKIFCryptoMisc::HashFinal | ( | IPKIFHashContext * | hash, | |
unsigned char * | pResult, | |||
int * | pnResultLen | |||
) | [pure virtual] |
Implemented in CPKIFCryptoMediator2, CPKIFCAPIRaw, CPKIFCNGCAPIRaw, CPKIFCryptoPPRaw, and CPKIFNSSRaw.
Referenced by _HashIssuerName(), _HashPublicKey(), CalculateHashOfArchiveTimestampChain(), CertReferenceMatchesCertificate(), ComputeSignedAttrHash(), Countersign(), CPKIFParallelHash::FinalizeHashes(), GetThumbprint(), GetThumbprintForSubjectAndIssuerPair(), CPKIFMessageImprint::HashAndSet(), HashBuffer(), CPKIFESSCertId::SetCertificate(), CPKIFTimestampVerifier::Verify(), VerifyCertificateWithCryptoPP(), and VerifyCounterSignatures().