IPKIFCertRepository.h

Go to the documentation of this file.
00001 
00009 #ifndef __IPKIFCERTREPOSITORY_H__
00010 #define __IPKIFCERTREPOSITORY_H__
00011 
00012 #include "PKIFdll.h"
00013 #include "PKIFEnums.h"
00014 #include <vector>
00015 
00016 FD_SMART_PTR(CPKIFName);
00017 FD_LIST_PTR(CPKIFCertificate);
00018 //FD_SMART_PTR(CPKIFCertificateNodeEntry);
00019 //typedef std::vector<CPKIFCertificateNodeEntryPtr, PKIFAlloc<CPKIFCertificateNodeEntryPtr> > CPKIFCertificateNodeList;
00020 //DECLARE_SMART_POINTERS(CPKIFCertificateNodeList);
00021 FD_NODE_LIST_PTR(CPKIFCertificateNodeEntry);
00022 FD_SMART_PTR(CPKIFPathSettings);
00023 
00032 class CAC_API CAC_NO_VTABLE IPKIFCertRepository
00033 {
00034 public:
00035     IPKIFCertRepository(); //added 8/21/2004
00047     virtual void GetCertificates(const CPKIFNamePtr& subDN, CPKIFCertificateList& certList, PKIInfoSource source = ALL) = 0;
00048 
00049     virtual void GetCertificates(const CPKIFCertificatePtr& cert, CPKIFCertificateList& certList, PKIInfoSource source = ALL, PathBuildingDirection pbd = PBD_FORWARD);
00050     virtual void GetCertificates(const CPKIFCertificatePtr& cert, CPKIFCertificateNodeList& certNodeList, PKIInfoSource source = ALL, PathBuildingDirection pbd = PBD_FORWARD);
00051 
00052     //retrieves a list of CA certificate nodes (i.e. certs with additional state info) with subject name equal to 
00053     //value passed in subDN parameter from sources identified by source parameter.
00054     virtual void GetCertificates(const CPKIFNamePtr& subDN, CPKIFCertificateNodeList& certNodeList, PKIInfoSource source = ALL);
00055 
00056     virtual void GetCertificates(const CPKIFNamePtr& subDN, CPKIFCertificateList& certList, PKIInfoSource source, CPKIFPathSettingsPtr& ps);
00057     virtual void GetCertificates(const CPKIFCertificatePtr& cert, CPKIFCertificateList& certList, PKIInfoSource source, PathBuildingDirection pbd, CPKIFPathSettingsPtr& ps);
00058     virtual void GetCertificates(const CPKIFCertificatePtr& cert, CPKIFCertificateNodeList& certNodeList, PKIInfoSource source, PathBuildingDirection pbd, CPKIFPathSettingsPtr& ps);
00059     virtual void GetCertificates(const CPKIFNamePtr& subDN, CPKIFCertificateNodeList& certNodeList, PKIInfoSource source, CPKIFPathSettingsPtr& ps);
00060 
00061     virtual PKIInfoSource GetSourceType() = 0;
00062 private:
00063     //added 8/21/2004
00065     IPKIFCertRepository(const IPKIFCertRepository& copy);
00067     IPKIFCertRepository& operator=(const IPKIFCertRepository& rhs); 
00068 };
00069 DECLARE_SMART_POINTERS(IPKIFCertRepository);
00070 
00071 
00072 #endif //__IPKIFCERTREPOSITORY_H__
00073 

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