CPKIFCRLDPRetrieval Class Reference

#include <PKIFCRLDPRetrieval.h>

Inheritance diagram for CPKIFCRLDPRetrieval:

Inheritance graph
[legend]
Collaboration diagram for CPKIFCRLDPRetrieval:

Collaboration graph
[legend]

List of all members.


Detailed Description

This class provides a means of retrieving CRLs from locations specified in HTTP and LDAP URL CRL Distribution Point extensions. Typically, this class is not used directly by applications and is intended for as a colleague associated with a cache mediator used by the path builder.

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)

Constructor & Destructor Documentation

CPKIFCRLDPRetrieval::CPKIFCRLDPRetrieval ( void   ) 

Interface: External

This function creates and initializes CPKIFCRLDPRetrieval objects.

Returns:
None

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

Returns:
None

Definition at line 68 of file PKIFCRLDPRetrieval.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_OCSP_CHECKER.


Member Function Documentation

void CPKIFCRLDPRetrieval::Initialize ( void   )  [virtual]

Interface: External

This function initializes an instance for use in a collection of IPKIFColleague objects held by a mediator.

Returns:
None

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.

Returns:
None
Parameters:
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.

Returns:
None
Parameters:
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().


The documentation for this class was generated from the following files:

Generated on Mon Nov 15 11:20:08 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6