#include <IPKIFCertRepositoryUpdate.h>
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) |
IPKIFCertRepositoryUpdate::IPKIFCertRepositoryUpdate | ( | ) |
Interface: External
This function serves as the default constructor for objects implementing the IPKIFCertRepositoryUpdate interface
Definition at line 23 of file IPKIFCertRepositoryUpdate.cpp.
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
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.