00001 00009 #ifndef __IPKIFSEARCHCRITERIA_H__ 00010 #define __IPKIFSEARCHCRITERIA_H__ 00011 00012 #include "PKIFdll.h" 00013 00014 00017 enum SearchType {ALLCERTS, ISSUERNAME, SUBJECTNAME, KEYID, ISSUERSERIAL}; 00018 00027 class CAC_API CAC_NO_VTABLE IPKIFSearchCriteria 00028 { 00029 public: 00030 IPKIFSearchCriteria(); //added 8/21/2004 00031 virtual ~IPKIFSearchCriteria(); 00032 virtual SearchType GetSearchType() const = 0; //all search criteria classes must implement means of 00033 //indicating type of search. a means of setting the 00034 //search type may or may not be provided. 00035 private: 00036 //added 8/21/2004 00038 IPKIFSearchCriteria(const IPKIFSearchCriteria& copy); 00040 IPKIFSearchCriteria& operator=(const IPKIFSearchCriteria& rhs); 00041 }; 00042 DECLARE_SMART_POINTERS(IPKIFSearchCriteria); 00043 00044 #endif 00045