#include <PKIFX509CRLChecker.h>
TSP-enforcing: No
Definition at line 42 of file PKIFX509CRLChecker.h.
Public Types | |
enum | CERTTYPES { CT_EE_DP, CT_EE, CT_CA_DP, CT_CA, CT_UNSUPPORTED } |
The CERTTYPES enum is used to identify certificate types. More... | |
enum | CRLSCOPE { CS_COMPLETE, CS_DP, CS_DELTA, CS_DELTA_DP, CS_UNSUPPORTED } |
The CRLSCOPE enum is used to identify CRL scope. More... | |
enum | CRLCOVERAGE { CC_ALL, CC_EEONLY, CC_CAONLY, CC_UNSUPPORTED } |
The CRLCOVERAGE enum is used to identify CRL coverage. More... | |
enum | CRLAUTHORITY { CA_DIRECT, CA_INDIRECT, CA_UNSUPPORTED } |
The CRLAUTHORITY enum is used to identify CRL authority. More... | |
enum | CRLREASONS { CR_ALLREASONS, CR_SOMEREASONS, CR_UNSUPPORTED } |
The CRLREASONS enum is used to identify CRL reasons. More... | |
Public Member Functions | |
CPKIFX509CRLChecker (void) | |
virtual | ~CPKIFX509CRLChecker (void) |
void | Initialize () |
bool | CheckStatus (const CPKIFCertificatePtr &targetCert, const CPKIFCertificatePtr &issuersCert, RevocationStatus &status, CPKIFCertStatusPtr &certStatus) |
bool | CheckStatusPath (CPKIFCertificatePath &path, RevocationStatus &status) |
void | SetReasonCodesOfInterest (CPKIFReasonFlagsPtr &reasons) |
CPKIFReasonFlagsPtr | GetReasonCodesOfInterest () const |
CPKIFPathSettingsPtr | GetPathSettings () const |
void | SetPathSettings (CPKIFPathSettingsPtr &settings) |
Friends | |
struct | CPKIFX509CRLCheckerImpl |
The CERTTYPES enum is used to identify certificate types.
Definition at line 51 of file PKIFX509CRLChecker.h.
The CRLSCOPE enum is used to identify CRL scope.
Definition at line 53 of file PKIFX509CRLChecker.h.
The CRLCOVERAGE enum is used to identify CRL coverage.
Definition at line 55 of file PKIFX509CRLChecker.h.
The CRLAUTHORITY enum is used to identify CRL authority.
Definition at line 57 of file PKIFX509CRLChecker.h.
The CRLREASONS enum is used to identify CRL reasons.
Definition at line 59 of file PKIFX509CRLChecker.h.
CPKIFX509CRLChecker::CPKIFX509CRLChecker | ( | void | ) |
Interface: External
This function creates and initializes CPKIFX509CRLChecker objects.
Definition at line 2780 of file CCACX509CRLChecker.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_PATH_MISC.
CPKIFX509CRLChecker::~CPKIFX509CRLChecker | ( | void | ) | [virtual] |
Interface: External
This function destroys CPKIFX509CRLChecker objects.
Definition at line 2792 of file CCACX509CRLChecker.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_PATH_MISC.
void CPKIFX509CRLChecker::Initialize | ( | void | ) | [virtual] |
Interface: External
This function initializes an instance for use in a collection of IPKIFColleague objects held by a mediator.
Reimplemented from IPKIFColleague.
Definition at line 2805 of file CCACX509CRLChecker.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_PATH_MISC.
bool CPKIFX509CRLChecker::CheckStatus | ( | const CPKIFCertificatePtr & | targetCert, | |
const CPKIFCertificatePtr & | issuersCert, | |||
RevocationStatus & | status, | |||
CPKIFCertStatusPtr & | certStatus | |||
) | [virtual] |
Interface: External
This function may be used to check the revocation status of a single certificate. It is not typically invoked directly by applications. Instead, applications invoke this function on a mediator object with which an instance of this class has been associated.
targetCert | [in] Reference to a smart pointer to a CPKIFCertificate object containing the certificate for which revocation status is sought |
issuersCert | [in] Reference to a smart pointer to a CPKIFCertificate object containing the certificate of the issuer of the certificate passed via the cert parameter |
status | [out] Reference to a RevocationStatus variable to receive the revocation status |
certStatus | [out] Reference to a smart pointer to a CPKIFCertStatus object containing status information about target certificate |
Implements IPKIFRevocationStatus.
Definition at line 2818 of file CCACX509CRLChecker.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_PATH_MISC.
bool CPKIFX509CRLChecker::CheckStatusPath | ( | CPKIFCertificatePath & | path, | |
RevocationStatus & | status | |||
) | [virtual] |
Interface: External
This function is used to check the revocation status of each certificate in a certification path. It is invoked during path validation to determine the revocation status of each certificate in a certificate path.
path | [in/out] Reference to a CPKIFCertificatePath object containing the certificates for which revocation status is sought; status information is directly associated with each entry in the path |
status | [out] Reference to a RevocationStatus object to receive the least successful revocation status value assigned to a certificate passed via the path parameter |
Implements IPKIFRevocationStatus.
Definition at line 2853 of file CCACX509CRLChecker.cpp.
References g_ocspNoCheck, CPKIFCertificatePath::GetPath(), CPKIFCertificatePath::GetPathSettings(), CPKIFCertificatePath::GetTrustRoot(), LOG_STRING_DEBUG, NOT_CHECKED, NOT_REVOKED, and TOOLKIT_PATH_MISC.
void CPKIFX509CRLChecker::SetReasonCodesOfInterest | ( | CPKIFReasonFlagsPtr & | reasons | ) |
Interface: External
This function is used to specify the values of the reason codes of interest associated with a CPKIFX509CRLChecker instance. Currently, reason-based partitioning is not support so these functions have no effect on processing.
reasons | [in] Reference to a smart pointer to a CPKIFReasonFlags object containing the reason codes of interest to set |
Definition at line 2960 of file CCACX509CRLChecker.cpp.
CPKIFReasonFlagsPtr CPKIFX509CRLChecker::GetReasonCodesOfInterest | ( | ) | const |
Interface: External
This function is used to retrieve the values of the reason codes of interest associated with a CPKIFX509CRLChecker instance. Currently, reason-based partitioning is not support so these functions have no effect on processing.
Definition at line 2976 of file CCACX509CRLChecker.cpp.
CPKIFPathSettingsPtr CPKIFX509CRLChecker::GetPathSettings | ( | ) | const |
Definition at line 2981 of file CCACX509CRLChecker.cpp.
void CPKIFX509CRLChecker::SetPathSettings | ( | CPKIFPathSettingsPtr & | settings | ) |
Definition at line 2985 of file CCACX509CRLChecker.cpp.
friend struct CPKIFX509CRLCheckerImpl [friend] |
Definition at line 44 of file PKIFX509CRLChecker.h.