#include <RevokedInfo.h>
TSP-enforcing: No
Definition at line 23 of file RevokedInfo.h.
Public Member Functions | |
CPKIFRevokedInfo (void) | |
CPKIFRevokedInfo (const char *time, const int reason) | |
~CPKIFRevokedInfo (void) | |
const char * | GetRevocationTime () const |
void | SetRevocationTime (CPKIFStringPtr &str) |
CPKIFCRLReasonPtr | GetRevocationReason () const |
void | SetRevocationReason (CPKIFCRLReasonPtr &crlReason) |
CPKIFRevokedInfo::CPKIFRevokedInfo | ( | void | ) |
Interface: External
Default constructor
Definition at line 35 of file RevokedInfo.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.
CPKIFRevokedInfo::CPKIFRevokedInfo | ( | const char * | time, | |
const int | reason | |||
) |
Interface: External
This function is used to create and initialize CPKIFRevokedInfo objects. This function is used internally by PKIF when parsing OCSP objects. It is not used by applications
time | [in] A pointer to a string containing GeneralizedTime |
reason | [in] An integer indication revocation reason if reason is < 0 then reason is ommited |
Definition at line 62 of file RevokedInfo.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.
CPKIFRevokedInfo::~CPKIFRevokedInfo | ( | void | ) |
Interface: External
This function destroys CPKIFRevokedInfo objects.
Definition at line 86 of file RevokedInfo.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.
const char * CPKIFRevokedInfo::GetRevocationTime | ( | ) | const |
Interface: External
This function is used to get the revocation time associated with a RevokedInfo object.
Definition at line 100 of file RevokedInfo.cpp.
void CPKIFRevokedInfo::SetRevocationTime | ( | CPKIFStringPtr & | str | ) |
Interface: External
This function is used to set the revocation time associated with a RevokedInfo object.
str | [in] Reference to a CPKIFStringPtr object containing the time of revocation |
Definition at line 111 of file RevokedInfo.cpp.
CPKIFCRLReasonPtr CPKIFRevokedInfo::GetRevocationReason | ( | ) | const |
Interface: External
This function is used to get the revocation reason associated with a RevokedInfo object.
Definition at line 124 of file RevokedInfo.cpp.
void CPKIFRevokedInfo::SetRevocationReason | ( | CPKIFCRLReasonPtr & | crlReason | ) |
Interface: External
This function is used to set the revocation reason associated with a RevokedInfo object.
crlReason | [in] Reference to a smart pointer to a CPKIFCRLReason object |
Definition at line 135 of file RevokedInfo.cpp.