IPKIFCertRepositoryUpdate.cpp

Go to the documentation of this file.
00001 
00010 #include "IPKIFCertRepositoryUpdate.h"
00011 #include "PKIFCertificateNodeEntry.h"
00012 #include "ToolkitUtils.h"
00013 #include "components.h"
00014 
00023 IPKIFCertRepositoryUpdate::IPKIFCertRepositoryUpdate()
00024 {
00025 }
00026 
00037 void IPKIFCertRepositoryUpdate::AddCertificate(
00039     CertType certType, 
00041     const CPKIFCertificateNodeEntryPtr& certNode)
00042 {
00043     LOG_STRING_DEBUG("IPKIFCertRepositoryUpdate::AddCertificate(CertType certType, const CPKIFCertificateNodeEntryPtr& certNode)", TOOLKIT_SR_MISC, 0, this);
00044 
00045     if(certNode == (CPKIFCertificateNodeEntry*)NULL)
00046         return;
00047 
00048     //extract the cert from the node
00049     CPKIFCertificatePtr cert = certNode->GetCert();
00050 
00051     //and invoke the cert-based AddCertificate function (must be implemented by derived class)
00052     AddCertificate(certType, cert);
00053 }

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