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
00019
00020
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();
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
00053
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
00065 IPKIFCertRepository(const IPKIFCertRepository& copy);
00067 IPKIFCertRepository& operator=(const IPKIFCertRepository& rhs);
00068 };
00069 DECLARE_SMART_POINTERS(IPKIFCertRepository);
00070
00071
00072 #endif //__IPKIFCERTREPOSITORY_H__
00073