#include <CertID.h>
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) |
CPKIFCertID::CPKIFCertID | ( | ) |
Interface: External
This function is used to create and initialize CPKIFCertID objects. Default constructor.
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.
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.
Definition at line 93 of file CertID.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.
CPKIFAlgorithmIdentifierPtr CPKIFCertID::GetHashAlg | ( | ) | const |
Interface: External
This function are used to get the hash algorithm associated with a CPKIFCertID object.
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.
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.
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.
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.
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.
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".
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".
serialNumber | [in] Reference to a CPKIFStringPtr object |
Definition at line 173 of file CertID.cpp.