CPKIFCertID Class Reference

#include <CertID.h>

Collaboration diagram for CPKIFCertID:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFCertID class provides an interface to OCSP CertID objects.

TSP-enforcing: No

Definition at line 28 of file CertID.h.


Public Member Functions

 CPKIFCertID ()
 CPKIFCertID (const CPKIFBufferPtr &cid)
 ~CPKIFCertID ()
CPKIFAlgorithmIdentifierPtr GetHashAlg () const
void SetHashAlg (CPKIFAlgorithmIdentifierPtr &hashAlg)
CPKIFBufferPtr GetIssuerNameHash () const
void SetIssuerNameHash (CPKIFBufferPtr &issuerNameHash)
CPKIFBufferPtr GetIssuerKeyHash () const
void SetIssuerKeyHash (CPKIFBufferPtr &issuerKeyHash)
const char * GetSerialNumber () const
void SetSerialNumber (CPKIFStringPtr &serialNumber)

Constructor & Destructor Documentation

CPKIFCertID::CPKIFCertID (  ) 

Interface: External

This function is used to create and initialize CPKIFCertID objects. Default constructor.

Returns:
None

Definition at line 41 of file CertID.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.

CPKIFCertID::CPKIFCertID ( const CPKIFBufferPtr &  cid  ) 

Interface: External This function is used to create and initialize CPKIFCertID objects. It is used internally by PKIF when parsing OCSP objects. It is not used by applications.

Returns:
None
Parameters:
cid  [in] Reference to a CertID structure

Definition at line 54 of file CertID.cpp.

References CACASNWRAPPER_CREATE, LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.

CPKIFCertID::~CPKIFCertID (  ) 

Interface: External

This function destroys CPKIFCertID objects.

Returns:
None

Definition at line 93 of file CertID.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.


Member Function Documentation

CPKIFAlgorithmIdentifierPtr CPKIFCertID::GetHashAlg (  )  const

Interface: External

This function are used to get the hash algorithm associated with a CPKIFCertID object.

Returns:
None

Definition at line 186 of file CertID.cpp.

void CPKIFCertID::SetHashAlg ( CPKIFAlgorithmIdentifierPtr &  hashAlg  ) 

Interface: External

This function are used to set the hash algorithm associated with a CPKIFCertID object.

Returns:
None
Parameters:
hashAlg  [in] Reference to a smart pointer to a CPKIFAlgorithmIdentifier object

Definition at line 197 of file CertID.cpp.

CPKIFBufferPtr CPKIFCertID::GetIssuerNameHash (  )  const

Interface: External

This function is used to get the issuer name hash value associated with a CPKIFCertID object.

Returns:
The issuer name hash value associated with a CPKIFCertID object.

Definition at line 108 of file CertID.cpp.

void CPKIFCertID::SetIssuerNameHash ( CPKIFBufferPtr &  issuerNameHash  ) 

Interface: External

This function is used to set the issuer name hash value associated with a CPKIFCertID object.

Returns:
None
Parameters:
issuerNameHash  [in] Reference to a smart pointer to a CPKIFBuffer object

Definition at line 119 of file CertID.cpp.

CPKIFBufferPtr CPKIFCertID::GetIssuerKeyHash (  )  const

Interface: External

This function is used to get the issuer key hash value associated with a CPKIFCertID object.

Returns:
The issuer key hash value associated with a CPKIFCertID object.

Definition at line 133 of file CertID.cpp.

void CPKIFCertID::SetIssuerKeyHash ( CPKIFBufferPtr &  issuerKeyHash  ) 

Interface: External

This function is used to set the issuer key hash value associated with a CPKIFCertID object.

Returns:
None
Parameters:
issuerKeyHash  [in] Reference to a smart pointer to a CPKIFBuffer object

Definition at line 144 of file CertID.cpp.

const char * CPKIFCertID::GetSerialNumber (  )  const

Interface: External

This function is used to get the serial number value associated with a CPKIFCertID object. The serial number must be in ASCII hexadecimal format and be preceded by "0x".

Returns:
The serial number value associated with a CPKIFCertID object.

Definition at line 158 of file CertID.cpp.

void CPKIFCertID::SetSerialNumber ( CPKIFStringPtr serialNumber  ) 

Interface: External

This function is used to set the serial number value associated with a CPKIFCertID object. The serial number must be in ASCII hexadecimal format and be preceded by "0x".

Returns:
None
Parameters:
serialNumber  [in] Reference to a CPKIFStringPtr object

Definition at line 173 of file CertID.cpp.


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

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