#include <PKIFCRLDPRetrieval.h>
TSP-enforcing: No
Definition at line 26 of file PKIFCRLDPRetrieval.h.
Public Member Functions | |
CPKIFCRLDPRetrieval (void) | |
virtual | ~CPKIFCRLDPRetrieval (void) |
void | Initialize (void) |
void | GetCRLs (const CPKIFCertificatePtr &cert, CPKIFCRLList &crlList, PKIInfoSource source=ALL) |
void | GetCRLSources (const CPKIFCertificatePtr &cert, CPKIFCrlSourceList &crlNodeList, PKIInfoSource source=ALL) |
CPKIFCRLDPRetrieval::CPKIFCRLDPRetrieval | ( | void | ) |
Interface: External
This function creates and initializes CPKIFCRLDPRetrieval objects.
Definition at line 56 of file PKIFCRLDPRetrieval.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_OCSP_CHECKER.
CPKIFCRLDPRetrieval::~CPKIFCRLDPRetrieval | ( | void | ) | [virtual] |
Interface: External
This function destroys CPKIFCRLDPRetrieval objects
Definition at line 68 of file PKIFCRLDPRetrieval.cpp.
References LOG_STRING_DEBUG, and TOOLKIT_OCSP_CHECKER.
void CPKIFCRLDPRetrieval::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 83 of file PKIFCRLDPRetrieval.cpp.
void CPKIFCRLDPRetrieval::GetCRLs | ( | const CPKIFCertificatePtr & | cert, | |
CPKIFCRLList & | crlList, | |||
PKIInfoSource | source = ALL | |||
) | [virtual] |
Interface: External
This function appends pointers to CRLs that may be applicable to the certificate identified by cert to crlList. The CRLs are retrieved from HTTP or LDAP URLs specified in the CRL Distribution Points extension of the certificate passed via the cert parameter. This function does not ensure that the CRLs retrieved are applicable to the specified certificate. The function simply returns without searching when source is equal to LOCAL.
cert | [in] Pointer to a certificate for which revocation status is to be checked |
crlList | [out] Reference to a CRL list to receive CRLs that may be associated with the specified certificate |
source | [in] PKIInfoSource indicating the locations to search for CRLs |
Implements IPKIFCRLRepository.
Definition at line 493 of file PKIFCRLDPRetrieval.cpp.
References GetCRLfromLDAPURL(), PKIFENUMS::LOCAL, LOG_STRING_DEBUG, RetrieveCRLGivenHTTPURL(), and TOOLKIT_OCSP_CHECKER.
void CPKIFCRLDPRetrieval::GetCRLSources | ( | const CPKIFCertificatePtr & | cert, | |
CPKIFCrlSourceList & | crlNodeList, | |||
PKIInfoSource | source = ALL | |||
) |
Interface: External
This function will iterate over all associated crl cache objects and build up the crlList. This function relies solely on the associated objects and does nothing with the source other than pass it on.
cert | [in] Pointer to a certificate for which revocation status is to be checked |
crlNodeList | [out] Reference to a CRL node list to receive CRLs that may be associated with the specified certificate |
source | [in] PKIInfoSource indicating the locations to search for CRLs |
Definition at line 590 of file PKIFCRLDPRetrieval.cpp.
References PKIFENUMS::LOCAL, LOG_STRING_DEBUG, TOOLKIT_OCSP_CHECKER, and UriAlreadyInList().