IPKIFCryptoKeyIDOperations Class Reference

#include <IPKIFCryptoKeyIDOperations.h>

Inheritance diagram for IPKIFCryptoKeyIDOperations:

Inheritance graph
[legend]

List of all members.


Detailed Description

IPKIFCryptoKeyIDOperations provides means of performing cryptographic operations using persistent stored key material, e.g. a CAC. PKIF provides one mediator class and one colleague class that implement this interface: CPKIFCryptoMediator2 and CPKIFCAPI2.

TSP-enforcing: No

Definition at line 37 of file IPKIFCryptoKeyIDOperations.h.


Public Member Functions

 IPKIFCryptoKeyIDOperations ()
virtual void GetKeyList (CPKIFCredentialList &v, std::bitset< 9 > *ku=NULL)=0
virtual void GetKeyList (CPKIFCredentialList &v, CPKIFKeyUsagePtr &ku)=0
virtual void Sign (const CPKIFCredential &key, unsigned char *pHashData, int nHashDataLen, unsigned char *pSig, int *nSigLen, PKIFCRYPTO::HASH_ALG hashAlg)=0
virtual void Decrypt (const CPKIFCredential &key, unsigned char *pData, int nDataLen, unsigned char *pResult, int *pnResultLen)=0
virtual void Encrypt (const CPKIFCredential &key, unsigned char *pData, int nDataLen, unsigned char *pResult, int *pnResultLen)=0
virtual bool Verify (const CPKIFCredential &key, unsigned char *pHashData, int nHashDataLen, unsigned char *pSig, int nSigLen, PKIFCRYPTO::HASH_ALG hashAlg)=0
virtual IPKIFCryptContextCryptInit (CPKIFCredentialPtr &key, bool pad=true)=0
virtual void Decrypt (IPKIFCryptContext *cryptContext, unsigned char *pData, int nDataLen, unsigned char *pResult, int *pnResultLen, bool final)=0
virtual void Encrypt (IPKIFCryptContext *cryptContext, unsigned char *pData, int nDataLen, unsigned char *pResult, int *pnResultLen, bool final)=0

Constructor & Destructor Documentation

IPKIFCryptoKeyIDOperations::IPKIFCryptoKeyIDOperations (  ) 

Interface: External

Default constructor

Returns:
None

Definition at line 19 of file IPKIFCryptoKeyIDOperations.cpp.


Member Function Documentation

virtual void IPKIFCryptoKeyIDOperations::GetKeyList ( CPKIFCredentialList v,
std::bitset< 9 > *  ku = NULL 
) [pure virtual]

virtual void IPKIFCryptoKeyIDOperations::GetKeyList ( CPKIFCredentialList v,
CPKIFKeyUsagePtr &  ku 
) [pure virtual]

virtual void IPKIFCryptoKeyIDOperations::Sign ( const CPKIFCredential key,
unsigned char *  pHashData,
int  nHashDataLen,
unsigned char *  pSig,
int *  nSigLen,
PKIFCRYPTO::HASH_ALG  hashAlg 
) [pure virtual]

virtual void IPKIFCryptoKeyIDOperations::Decrypt ( const CPKIFCredential key,
unsigned char *  pData,
int  nDataLen,
unsigned char *  pResult,
int *  pnResultLen 
) [pure virtual]

virtual void IPKIFCryptoKeyIDOperations::Encrypt ( const CPKIFCredential key,
unsigned char *  pData,
int  nDataLen,
unsigned char *  pResult,
int *  pnResultLen 
) [pure virtual]

virtual bool IPKIFCryptoKeyIDOperations::Verify ( const CPKIFCredential key,
unsigned char *  pHashData,
int  nHashDataLen,
unsigned char *  pSig,
int  nSigLen,
PKIFCRYPTO::HASH_ALG  hashAlg 
) [pure virtual]

virtual IPKIFCryptContext* IPKIFCryptoKeyIDOperations::CryptInit ( CPKIFCredentialPtr &  key,
bool  pad = true 
) [pure virtual]

virtual void IPKIFCryptoKeyIDOperations::Decrypt ( IPKIFCryptContext cryptContext,
unsigned char *  pData,
int  nDataLen,
unsigned char *  pResult,
int *  pnResultLen,
bool  final 
) [pure virtual]

virtual void IPKIFCryptoKeyIDOperations::Encrypt ( IPKIFCryptContext cryptContext,
unsigned char *  pData,
int  nDataLen,
unsigned char *  pResult,
int *  pnResultLen,
bool  final 
) [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