00001 00009 #ifndef __ISSUERNAMEANDSERIALNUMBERBASEDSEARCH_H__ 00010 #define __ISSUERNAMEANDSERIALNUMBERBASEDSEARCH_H__ 00011 00012 #include "PKIFdll.h" 00013 #include "IPKIFSearchCriteria.h" 00014 00015 FD_SMART_PTR(CPKIFName); 00016 struct CPKIFIssuerNameAndSerialNumberBasedSearchImpl; 00017 00026 class CAC_API CPKIFIssuerNameAndSerialNumberBasedSearch : public IPKIFSearchCriteria 00027 { 00028 public: 00029 CPKIFIssuerNameAndSerialNumberBasedSearch(); 00030 ~CPKIFIssuerNameAndSerialNumberBasedSearch(); 00031 00032 //IPKIFSearchCriteria functions 00033 SearchType GetSearchType() const; 00034 00035 //misc. functions 00036 CPKIFNamePtr GetIssuerName() const; 00037 void SetIssuerName(CPKIFNamePtr& issuerName); 00038 00039 const char* GetSerialNumber() const; 00040 void SetSerialNumber(CPKIFStringPtr& serialNumber); 00041 00042 private: 00044 CPKIFIssuerNameAndSerialNumberBasedSearch(const CPKIFIssuerNameAndSerialNumberBasedSearch& copy); 00046 CPKIFIssuerNameAndSerialNumberBasedSearch& operator=(const CPKIFIssuerNameAndSerialNumberBasedSearch& rhs); //added 4/6/2004 00047 00048 00049 struct CPKIFIssuerNameAndSerialNumberBasedSearchImpl *m_impl; 00050 00051 }; 00052 DECLARE_SMART_POINTERS(CPKIFIssuerNameAndSerialNumberBasedSearch); 00053 #endif 00054