00001 00009 #ifndef __IPKIFSynonymousSourceStore_H__ 00010 #define __IPKIFSynonymousSourceStore_H__ 00011 00012 #include "PKIFdll.h" 00013 #include "PKIFEnums.h" 00014 FD_NODE_LIST_PTR(CPKIFCertificateNodeEntry); 00015 FD_LIST_PTR(CPKIFCertificateSource); 00016 FD_LIST_PTR(CPKIFCrlSource); 00017 FD_CRL_NODE_LIST_PTR(CPKIFCRLNodeEntry); 00018 FD_SMART_PTR(CPKIFCertificate); 00019 00032 class CAC_API IPKIFSynonymousSourceStore 00033 { 00034 public: 00035 IPKIFSynonymousSourceStore(); 00036 virtual ~IPKIFSynonymousSourceStore(); 00037 00038 virtual void GetCRLs(const CPKIFCertificatePtr& cert, CPKIFCrlSourceList& crlSourceList, CPKIFCRLNodeList& crlNodeList) = 0; 00039 virtual void GetCerts(CPKIFCertificateSourceList& certSources, CPKIFCertificateNodeList& certList, PathBuildingDirection pbd = PBD_FORWARD) = 0; 00040 00041 virtual void AddCRL(CPKIFCRLNodeEntryPtr& crl) = 0; 00042 virtual void AddCert(CPKIFCertificateNodeEntryPtr& cert) = 0; 00043 00044 public: 00046 IPKIFSynonymousSourceStore(const IPKIFSynonymousSourceStore& copy); 00048 IPKIFSynonymousSourceStore& operator=(const IPKIFSynonymousSourceStore& rhs); 00049 }; 00050 DECLARE_SMART_POINTERS(IPKIFSynonymousSourceStore); 00051 00052 #endif 00053