00001 00009 #ifndef __ISSUERANDSERIALNUMBER_H__ 00010 #define __ISSUERANDSERIALNUMBER_H__ 00011 00012 #include "PKIFCMSDLL.h" 00013 #include <vector> 00014 00015 FD_SMART_PTR(CPKIFName); 00016 FD_SMART_PTR(CPKIFBuffer); 00017 00026 class PKIFCMS_API CPKIFIssuerAndSerialNumber 00027 { 00028 public: 00029 CPKIFIssuerAndSerialNumber(); 00030 CPKIFIssuerAndSerialNumber(const CPKIFBufferPtr& isnBuf); 00031 virtual ~CPKIFIssuerAndSerialNumber(); 00032 00033 void SetName(CPKIFNamePtr& name); 00034 CPKIFNamePtr GetName() const; 00035 00036 void SetSerialNumber(CPKIFStringPtr& serialNumber); 00037 const char* GetSerialNumber() const; 00038 00039 private: 00041 CPKIFIssuerAndSerialNumber(const CPKIFIssuerAndSerialNumber& copy); 00043 CPKIFIssuerAndSerialNumber& operator=(const CPKIFIssuerAndSerialNumber& rhs); //added 4/6/2004 00044 00045 struct CPKIFIssuerAndSerialNumberImpl *m_impl; 00046 00047 }; 00048 DECLARE_SMART_POINTERS(CPKIFIssuerAndSerialNumber); 00049 00050 #endif