#include <PKCReference.h>
TSP-enforcing: No
Definition at line 28 of file PKCReference.h.
Public Member Functions | |
CPKIFPKCReference () | |
CPKIFPKCReference (const CPKIFBufferPtr &pkcRef) | |
virtual | ~CPKIFPKCReference (void) |
void | SetCert (CPKIFCertificatePtr &cert) |
CPKIFCertificatePtr | GetCert () |
void | SetSCVPCertID (CPKIFSCVPCertIDPtr &sCVPCertID) |
CPKIFSCVPCertIDPtr | GetSCVPCertID () |
REFERENCETYPE | GetRefType () |
CPKIFPKCReference::CPKIFPKCReference | ( | ) |
Interface: External
This function is used to create and initialize CPKIFQuery object.
Definition at line 45 of file PKCReference.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.
CPKIFPKCReference::CPKIFPKCReference | ( | const CPKIFBufferPtr & | pkcRef | ) |
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 |
pkcRef | [in] A reference to a smart pointer to CPKIFBuffer object containing der encoded PKCReference |
Definition at line 60 of file PKCReference.cpp.
References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_SCVP_ASN.
CPKIFPKCReference::~CPKIFPKCReference | ( | void | ) | [virtual] |
Interface: External
This function destroys instances of CPKIFPKCReference.
Definition at line 109 of file PKCReference.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.
void CPKIFPKCReference::SetCert | ( | CPKIFCertificatePtr & | cert | ) |
Interface: External
This function sets the certificate
cert | [in] Smart pointer to CPKIFCertificate object containing the certificate |
Definition at line 124 of file PKCReference.cpp.
CPKIFCertificatePtr CPKIFPKCReference::GetCert | ( | ) |
Interface: External
This function gets the certificate
Definition at line 142 of file PKCReference.cpp.
void CPKIFPKCReference::SetSCVPCertID | ( | CPKIFSCVPCertIDPtr & | sCVPCertID | ) |
Interface: External
This function sets the SCVPCertID
sCVPCertID | [in] Smart pointer to CPKIFSCVPCertID object containing SCVPCertID |
Definition at line 153 of file PKCReference.cpp.
CPKIFSCVPCertIDPtr CPKIFPKCReference::GetSCVPCertID | ( | ) |
Interface: External
This function gets the SCVPCertID
Definition at line 169 of file PKCReference.cpp.
REFERENCETYPE CPKIFPKCReference::GetRefType | ( | ) |
Interface: External
This function returns the type of certificate reference info stored in this class.
Definition at line 181 of file PKCReference.cpp.
References REFERENCETYPE_CERT, REFERENCETYPE_NONE, and REFERENCETYPE_PKCREF.