00001 00009 #ifndef __TIMESTAMPRESPONSE_H__ 00010 #define __TIMESTAMPRESPONSE_H__ 00011 00012 #include "PKIFdll.h" 00013 #include "PKIFTSPDLL.h" 00014 00015 // forward declaration 00016 struct CPKIFTimeStampResponseImpl; 00017 00018 FD_SMART_PTR(CPKIFPKIStatusInfo); 00019 FD_SMART_PTR(CPKIFContentInfo); 00020 FD_SMART_PTR(CPKIFBuffer); 00021 00035 class PKIFTSP_API CPKIFTimeStampResponse 00036 { 00037 public: 00038 CPKIFTimeStampResponse(); 00039 ~CPKIFTimeStampResponse(); 00040 00041 void SetStatus(CPKIFPKIStatusInfoPtr& status); 00042 CPKIFPKIStatusInfoPtr GetStatus() const; 00043 00044 void SetTimeStampToken(CPKIFContentInfoPtr& timeStampToken); 00045 CPKIFContentInfoPtr GetTimeStampToken() const; 00046 00047 CPKIFBufferPtr Encode() const; 00048 void Decode(CPKIFBufferPtr& msg); 00049 00050 private: 00052 CPKIFTimeStampResponse(const CPKIFTimeStampResponse& copy); 00054 CPKIFTimeStampResponse& operator=(const CPKIFTimeStampResponse& rhs); //added 4/6/2004 00055 00056 struct CPKIFTimeStampResponseImpl *m_impl; 00057 }; 00058 DECLARE_SMART_POINTERS(CPKIFTimeStampResponse); 00059 00060 #endif //__TIMESTAMPRESPONSE_H__