00001 00010 #ifndef __REPLYWANTBACK_H__ 00011 #define __REPLYWANTBACK_H__ 00012 00013 00014 #include "PKIFSCVPDLL.h" 00015 #include "PKIFdll.h" 00016 #include "IPKIFExtHandlerData.h" 00017 00018 #include "EvidenceRecordVerifier.h" 00019 00020 // forward declarations 00021 struct CPKIFReplyWantBackImpl; 00022 00023 FD_SMART_PTR(CPKIFOID); 00024 FD_SMART_PTR(CPKIFBuffer); 00025 00031 class PKIFSCVP_API CPKIFReplyWantBack : public IPKIFExtHandlerData 00032 { 00033 public: 00034 CPKIFReplyWantBack(); 00035 CPKIFReplyWantBack(const CPKIFBufferPtr&); 00036 virtual ~CPKIFReplyWantBack(void); 00037 00038 //required field 00039 void SetWB(CPKIFOIDPtr& check); 00040 const CPKIFOIDPtr GetWB() const; 00041 00042 //required field 00043 void SetValue(CPKIFBufferPtr& value); 00044 const CPKIFBufferPtr GetValue() const; 00045 00046 private: 00048 CPKIFReplyWantBack(const CPKIFReplyWantBack& copy); 00050 CPKIFReplyWantBack& operator=(const CPKIFReplyWantBack& rhs); 00051 00052 struct CPKIFReplyWantBackImpl *m_impl; 00053 }; 00054 DECLARE_SMART_POINTERS(CPKIFReplyWantBack); 00055 00056 typedef std::vector<CPKIFReplyWantBackPtr, PKIFAlloc<CPKIFReplyWantBackPtr> > CPKIFReplyWantBackList; 00057 DECLARE_SMART_POINTERS(CPKIFReplyWantBackList); 00063 class PKIFSCVP_API CPKIFReplyWantBack_ExtDataHandler : public IPKIFExtHandlerData 00064 { 00065 public: 00066 std::vector<std::pair<CPKIFReplyWantBackPtr, std::vector<SeqResultsPtr> > > m_wantBacks; 00067 std::string m_scvpResponder; 00068 }; 00069 DECLARE_SMART_POINTERS(CPKIFReplyWantBack_ExtDataHandler); 00070 00071 #endif //__REPLYWANTBACK_H__