00001 00009 #ifndef __CAPITRUSTROOTCRLREPOSITORY2_H__ 00010 #define __CAPITRUSTROOTCRLREPOSITORY2_H__ 00011 00012 #include "PKIFdll.h" 00013 #include "IPKIFColleague.h" 00014 #include "IPKIFCAPISource.h" 00015 #include "IPKIFCRLRepository.h" 00016 #include "components.h" 00017 00018 #include <wincrypt.h> 00019 00020 extern CAC_API char g_defCACCAPITrustStore[]; 00038 class CAC_API CPKIFCAPITrustRootCRLRepository2 : public IPKIFCRLRepository, public IPKIFColleague, public IPKIFCAPISource 00039 { 00040 public: 00041 CPKIFCAPITrustRootCRLRepository2(int sysStoRegLoc = CERT_SYSTEM_STORE_CURRENT_USER, const char* store = g_defCACCAPITrustStore); 00042 virtual ~CPKIFCAPITrustRootCRLRepository2(void); 00043 00044 //IPKIFColleague functions 00045 void Initialize(void); 00046 00047 //IPKIFCRLRepository functions 00048 void GetCRLs(const CPKIFCertificatePtr& cert, CPKIFCRLList& crlList, PKIInfoSource source = ALL); 00049 00050 private: 00052 CPKIFCAPITrustRootCRLRepository2(const CPKIFCAPITrustRootCRLRepository2& copy); 00054 CPKIFCAPITrustRootCRLRepository2& operator=(const CPKIFCAPITrustRootCRLRepository2& rhs); //added 4/6/2004 00055 00056 struct CPKIFCAPITrustRootCRLRepository2Impl *m_impl; 00057 00058 enum {thisComponent = TOOLKIT_SR_CAPITRUSTROOTCRLSTORE}; 00059 }; 00060 DECLARE_SMART_POINTERS(CPKIFCAPITrustRootCRLRepository2); 00061 00062 #endif