00001 00009 #ifndef __RevokedInfo_H__ 00010 #define __RevokedInfo_H__ 00011 00012 #include "PKIFdll.h" 00013 00014 struct RevokedInfo; 00015 struct CPKIFRevokedInfoImpl; 00016 FD_SMART_PTR(CPKIFCRLReason); 00017 00023 class CAC_API CPKIFRevokedInfo 00024 { 00025 public: 00026 CPKIFRevokedInfo(void); 00027 //CPKIFRevokedInfo(RevokedInfo& ri); 00028 CPKIFRevokedInfo(const char* time, const int reason); 00029 ~CPKIFRevokedInfo(void); 00030 00031 //revocation time 00032 const char* GetRevocationTime() const; 00033 void SetRevocationTime(CPKIFStringPtr& str); 00034 00035 //revocation reason 00036 CPKIFCRLReasonPtr GetRevocationReason() const; 00037 void SetRevocationReason(CPKIFCRLReasonPtr& crlReason); 00038 00039 private: 00041 CPKIFRevokedInfo(const CPKIFRevokedInfo& copy); 00043 CPKIFRevokedInfo& operator=(const CPKIFRevokedInfo& rhs); //added 4/6/2004 00044 00045 struct CPKIFRevokedInfoImpl *m_impl; 00046 }; 00047 DECLARE_SMART_POINTERS(CPKIFRevokedInfo); 00048 00049 #endif