00001 00009 #ifndef __ESSCertId_H__ 00010 #define __ESSCertId_H__ 00011 00012 #if _MSC_VER > 1000 00013 #pragma once 00014 #endif // _MSC_VER > 1000 00015 00016 #include "PKIFCMSDLL.h" 00017 00018 FD_SMART_PTR(CPKIFBuffer); 00019 FD_LIST_PTR(CPKIFGeneralName); 00020 FD_SMART_PTR(CPKIFCertificate); 00027 class PKIFCMS_API CPKIFESSCertId 00028 { 00029 public: 00030 CPKIFESSCertId(); 00031 CPKIFESSCertId(const CPKIFBufferPtr& buf); 00032 CPKIFESSCertId(const CPKIFCertificatePtr & cert); 00033 ~CPKIFESSCertId(); 00034 00035 const CPKIFBufferPtr GetCertHash() const; 00036 const char * GetSerialNumber() const; 00037 void GetIssuerName(CPKIFGeneralNameListPtr& issuerName) const; 00038 00039 void SetCertificate(const CPKIFCertificatePtr & cert); 00040 00041 private: 00043 CPKIFESSCertId(const CPKIFESSCertId& copy); 00045 CPKIFESSCertId& operator=(const CPKIFESSCertId& rhs); //added 4/6/2004 00046 00047 struct CPKIFESSCertIdImpl *m_impl; 00048 }; 00049 DECLARE_SMART_POINTERS(CPKIFESSCertId); 00050 00051 #endif //__TIMESTAMPATTRIBUTE_H__