IPKIFCertRepositoryUpdate Class Reference

#include <IPKIFCertRepositoryUpdate.h>

Inheritance diagram for IPKIFCertRepositoryUpdate:

Inheritance graph
[legend]

List of all members.


Detailed Description

The IPKIFCertRepositoryUpdate interface defines a means for adding certificates to a certificate store. This is commonly performed during path development to update local sources of information with remotely retrieved material to support future offline operation. PKIF provides one mediator and two colleague classed that implement this interface: CPKIFCacheMediator2, SimpleCertCache and CPKIFCAPICertUpdate2. PKIF does not provide a class to modify the contents of a directory server.

TSP-enforcing: No

Definition at line 26 of file IPKIFCertRepositoryUpdate.h.


Public Member Functions

 IPKIFCertRepositoryUpdate ()
virtual void AddCertificate (CertType certType, const CPKIFCertificatePtr &cert)=0
virtual void AddCertificate (CertType certType, const CPKIFCertificateNodeEntryPtr &certNode)

Constructor & Destructor Documentation

IPKIFCertRepositoryUpdate::IPKIFCertRepositoryUpdate (  ) 

Interface: External

This function serves as the default constructor for objects implementing the IPKIFCertRepositoryUpdate interface

Returns:
None

Definition at line 23 of file IPKIFCertRepositoryUpdate.cpp.


Member Function Documentation

virtual void IPKIFCertRepositoryUpdate::AddCertificate ( CertType  certType,
const CPKIFCertificatePtr &  cert 
) [pure virtual]

Upon completion, implementations of this function should ensure that the specified certificate has been added to the associated certificate store

Implemented in CPKIFCAPICertUpdate2, CPKIFCacheMediator2, CPKIFNSSCertUpdate, and SimpleCertCache.

Referenced by AddCertificate(), CertPathWantBackToResultsAndStores(), and CertPathWantBackToResultsAndStoresForDpd().

void IPKIFCertRepositoryUpdate::AddCertificate ( CertType  certType,
const CPKIFCertificateNodeEntryPtr certNode 
) [virtual]

Interface: External

Upon completion, implementations of this function should ensure that the specified certificate has been added to the associated certificate store. If the certificate cannot be added, an exception should be raised. Implementations of this function need not raise an exception if the specified certificate is already present in the target certificate store

Returns:
None
Parameters:
certType  [in] CertType value indicating the type of certificate being added (e.g. end entity or certification authority)
certNode  [in] Reference to a CPKIFCertificateNodeEntry object containing the certificate that should be added to the certificate store

Reimplemented in CPKIFCacheMediator2, and SimpleCertCache.

Definition at line 37 of file IPKIFCertRepositoryUpdate.cpp.

References AddCertificate(), LOG_STRING_DEBUG, and TOOLKIT_SR_MISC.


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

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