#include <CertReference.h>
TSP-enforcing: No
Definition at line 33 of file CertReference.h.
Public Member Functions | |
CPKIFCertReference () | |
CPKIFCertReference (const CPKIFBufferPtr &) | |
virtual | ~CPKIFCertReference (void) |
void | SetPKC (CPKIFPKCReferencePtr &pkc) |
const CPKIFPKCReferencePtr | GetPKC () const |
void | SetAC (CPKIFACReferencePtr &ac) |
const CPKIFACReferencePtr | GetAC () const |
CERTREFERENCES | GetCertRefType () |
CPKIFCertReference::CPKIFCertReference | ( | ) |
Interface: External
This function is used to create and initialize CPKIFCertReference object.
Definition at line 43 of file CertReference.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.
CPKIFCertReference::CPKIFCertReference | ( | const CPKIFBufferPtr & | certRef | ) |
Interface: External
This constructor is internally invoked; it will throw a std::bad_alloc exception if allocation of memory fails or ASN.1 decoding errors if the extension cannot be parsed.
std::bad_alloc |
certRef | [in] A reference to a smart pointer to CPKIFBuffer object containing der encoded HashValue |
Definition at line 58 of file CertReference.cpp.
References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_SCVP_ASN.
CPKIFCertReference::~CPKIFCertReference | ( | void | ) | [virtual] |
Interface: External
This function destroys instances of CPKIFCertReference.
Definition at line 97 of file CertReference.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.
void CPKIFCertReference::SetPKC | ( | CPKIFPKCReferencePtr & | pkc | ) |
Interface: External
This function is used to set pkc reference
pkc | [in] Smart pointer to CPKIFPKCReferencePtr object containing pkc |
Definition at line 140 of file CertReference.cpp.
const CPKIFPKCReferencePtr CPKIFCertReference::GetPKC | ( | ) | const |
Interface: External
This function is used to get pkc reference
Definition at line 156 of file CertReference.cpp.
void CPKIFCertReference::SetAC | ( | CPKIFACReferencePtr & | ac | ) |
Interface: External
This function is used to set attribute certificate value
ac | [in] Smart pointer to CPKIFBuffer object containing the attribute certificate reference |
Definition at line 112 of file CertReference.cpp.
const CPKIFACReferencePtr CPKIFCertReference::GetAC | ( | ) | const |
Interface: External
This function is used to get the hash value
Definition at line 128 of file CertReference.cpp.
CERTREFERENCES CPKIFCertReference::GetCertRefType | ( | ) |
Interface: External
This function returns the type of certificate reference info stored in this class.
Definition at line 168 of file CertReference.cpp.
References CERTREFERENCES_AC, CERTREFERENCES_NONE, and CERTREFERENCES_PKC.