00001 00009 #ifndef __PKIFLocalCertNode_H__ 00010 #define __PKIFLocalCertNode_H__ 00011 00012 #include "PKIFdll.h" 00013 #include "IPKIFPkiArtifact.h" 00014 00015 #include <vector> 00016 #include <string> 00017 00018 FD_SMART_PTR(CPKIFLDAPRepository); 00019 FD_SMART_PTR(CPKIFCertificate); 00020 FD_SMART_PTR(CPKIFName); 00021 00022 struct CPKIFLocalCertNodeImpl; 00023 00030 class CAC_API CPKIFLocalCertNode : public CPKIFCertificateSource 00031 { 00032 public: 00033 CPKIFLocalCertNode(PathBuildingDirection pbd); 00034 ~CPKIFLocalCertNode(); 00035 00036 //CPKIFCertificateSource interface 00037 void GetCertificates(CPKIFCertificateNodeList& certNodeList, PathBuildingDirection pbd); 00038 00039 void AddCertificate(CPKIFCertificateNodeEntryPtr& cert); 00040 00041 private: 00043 CPKIFLocalCertNode(const CPKIFLocalCertNode& copy); 00045 CPKIFLocalCertNode& operator=(const CPKIFLocalCertNode& rhs); 00046 00047 struct CPKIFLocalCertNodeImpl* m_impl; 00048 }; 00049 DECLARE_SMART_POINTERS(CPKIFLocalCertNode); 00050 typedef std::vector<CPKIFLocalCertNodePtr, PKIFAlloc<CPKIFLocalCertNodePtr> > CPKIFLocalCertNodeList; 00051 DECLARE_SMART_POINTERS(CPKIFLocalCertNodeList); 00052 00053 #endif