00001 00009 #ifndef __PKIFUSERREPOSITORY2_H__ 00010 #define __PKIFUSERREPOSITORY2_H__ 00011 00012 #include "PKIFdll.h" 00013 #include "IPKIFCertSearch.h" 00014 #include "IPKIFCAPISource.h" 00015 #include "IPKIFColleague.h" 00016 #include "components.h" 00017 00018 extern CAC_API char g_defCACCAPIEEStore[]; 00019 00038 class CAC_API CPKIFCAPIUserRepository2 : public IPKIFCertSearch, public IPKIFColleague, public IPKIFCAPISource 00039 { 00040 public: 00041 CPKIFCAPIUserRepository2(int sysStoRegLoc = CERT_SYSTEM_STORE_CURRENT_USER, const char* store = g_defCACCAPIEEStore); 00042 virtual ~CPKIFCAPIUserRepository2(void); 00043 00044 //IPKIFColleague functions 00045 void Initialize(void); 00046 00047 //IPKIFPKIRepository IPKIFCertSearch 00048 void FindCertificates(IPKIFSearchCriteria* searchCriteria, CPKIFCertificateList& certList, PKIInfoSource source = ALL); 00049 00050 private: 00052 CPKIFCAPIUserRepository2(const CPKIFCAPIUserRepository2& copy); 00054 CPKIFCAPIUserRepository2& operator=(const CPKIFCAPIUserRepository2& rhs); //added 4/6/2004 00055 00056 struct CPKIFCAPIUserRepository2Impl *m_impl; 00057 00058 enum {thisComponent = TOOLKIT_SR_CAPIUSERREPOSITORY}; 00059 }; 00060 DECLARE_SMART_POINTERS(CPKIFCAPIUserRepository2); 00061 00062 #endif