#include <RevocationInfo.h>
TSP-enforcing: No
Definition at line 28 of file RevocationInfo.h.
Public Member Functions | |
CPKIFRevocationInfo () | |
CPKIFRevocationInfo (const CPKIFBufferPtr &revInfo) | |
virtual | ~CPKIFRevocationInfo (void) |
void | SetCRL (CPKIFCRLPtr &crl) |
CPKIFCRLPtr | GetCRL () |
void | SetDeltaCRL (CPKIFCRLPtr &deltaCRL) |
CPKIFCRLPtr | GetDeltaCRL () |
void | SetOCSPResp (CPKIFBufferPtr &ocsp) |
CPKIFBufferPtr | GetOCSPResp () |
void | SetOtherRevInfo (CPKIFOIDPtr &riType, CPKIFBufferPtr &riValue) |
void | GetOtherRevInfo (CPKIFOIDPtr &riType, CPKIFBufferPtr &riValue) |
REVINFOTYPE | GetRevInfoType () |
CPKIFRevocationInfo::CPKIFRevocationInfo | ( | ) |
Interface: External
This function is used to create and initialize CPKIFRevocationInfo object.
Definition at line 38 of file RevocationInfo.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.
CPKIFRevocationInfo::CPKIFRevocationInfo | ( | const CPKIFBufferPtr & | revInfo | ) |
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 |
revInfo | [in] A reference to a smart pointer to CPKIFBuffer object containing der encoded Revocation Info |
Definition at line 54 of file RevocationInfo.cpp.
References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_SCVP_ASN.
CPKIFRevocationInfo::~CPKIFRevocationInfo | ( | void | ) | [virtual] |
Interface: External
This function destroys instances of CPKIFRevocationInfo.
Definition at line 130 of file RevocationInfo.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.
void CPKIFRevocationInfo::SetCRL | ( | CPKIFCRLPtr & | crl | ) |
Interface: External
This function sets the crl
crl | [in] Smart pointer to CPKIFCRL object containing the CRL |
Definition at line 146 of file RevocationInfo.cpp.
CPKIFCRLPtr CPKIFRevocationInfo::GetCRL | ( | ) |
Interface: External
This function gets the crl
Definition at line 169 of file RevocationInfo.cpp.
void CPKIFRevocationInfo::SetDeltaCRL | ( | CPKIFCRLPtr & | deltaCRL | ) |
Interface: External
This function sets the delta crl
deltaCRL | [in] Smart pointer to CPKIFCRL object containing the delta CRL |
Definition at line 180 of file RevocationInfo.cpp.
CPKIFCRLPtr CPKIFRevocationInfo::GetDeltaCRL | ( | ) |
Interface: External
This function gets the delta crl
Definition at line 202 of file RevocationInfo.cpp.
void CPKIFRevocationInfo::SetOCSPResp | ( | CPKIFBufferPtr & | ocsp | ) |
Interface: External
This function sets the der encoded ocsp response
ocsp | [in] Smart pointer to CPKIFBuffer object containing the ocsp response |
Definition at line 213 of file RevocationInfo.cpp.
CPKIFBufferPtr CPKIFRevocationInfo::GetOCSPResp | ( | ) |
Interface: External
This function gets the ocsp response
Definition at line 235 of file RevocationInfo.cpp.
void CPKIFRevocationInfo::SetOtherRevInfo | ( | CPKIFOIDPtr & | riType, | |
CPKIFBufferPtr & | riValue | |||
) |
Interface: External
This function sets the other revocation information
riType | [in] Smart pointer to CPKIFOID object containing the revocation info type |
riValue | [in] Smart pointer to CPKIFOID object containing the revocation info value |
Definition at line 246 of file RevocationInfo.cpp.
void CPKIFRevocationInfo::GetOtherRevInfo | ( | CPKIFOIDPtr & | riType, | |
CPKIFBufferPtr & | riValue | |||
) |
Interface: External
This function gets the other revocation info.
riType | [out] Smart pointer to CPKIFOID object containing the revocation info type |
riValue | [out] Smart pointer to CPKIFOID object containing the revocation info value |
Definition at line 269 of file RevocationInfo.cpp.
REVINFOTYPE CPKIFRevocationInfo::GetRevInfoType | ( | ) |
Interface: External
This function returns the type of revocation info stored in this class.
Definition at line 286 of file RevocationInfo.cpp.
References REVINFOTYPE_CRL, REVINFOTYPE_DELTACRL, REVINFOTYPE_NONE, REVINFOTYPE_OCSPRESP, and REVINFOTYPE_OTHER.