00001 00009 #ifndef __IPKIFTRUSTCACHE_H__ 00010 #define __IPKIFTRUSTCACHE_H__ 00011 00012 #if _MSC_VER > 1000 00013 #pragma once 00014 #endif // _MSC_VER > 1000 00015 00016 #include "PKIFdll.h" 00017 FD_SMART_PTR(CPKIFName); 00018 FD_LIST_PTR(CPKIFTrustRoot); 00019 FD_LIST_PTR(IPKIFTrustAnchor); 00020 00028 class CAC_API CAC_NO_VTABLE IPKIFTrustCache 00029 { 00030 public: 00031 IPKIFTrustCache(); //added 8/21/2004 00032 //returns all trust anchors with subject name equal to value passed in subDN parameter 00033 virtual bool GetTrustRoots(const CPKIFNamePtr& subDN, IPKIFTrustAnchorList& root) = 0; 00034 private: 00035 //added 8/21/2004 00037 IPKIFTrustCache(const IPKIFTrustCache& copy); 00039 IPKIFTrustCache& operator=(const IPKIFTrustCache& rhs); 00040 }; 00041 DECLARE_SMART_POINTERS(IPKIFTrustCache); 00042 00043 #endif 00044