00001 00009 #ifndef __Request_H__ 00010 #define __Request_H__ 00011 00012 #if _MSC_VER > 1000 00013 #pragma once 00014 #endif // _MSC_VER > 1000 00015 00016 #include "PKIFdll.h" 00017 #include "Buffer.h" 00018 #include <vector> 00019 00020 FD_SMART_PTR(CPKIFCertID); 00021 00022 struct Request; 00023 00029 class CAC_API CPKIFRequest 00030 { 00031 public: 00032 CPKIFRequest(); 00033 CPKIFRequest(const CPKIFBufferPtr& r); 00034 ~CPKIFRequest(); 00035 00036 //reqCert 00037 void SetCertID(CPKIFCertIDPtr& certID); 00038 CPKIFCertIDPtr GetCertID() const; 00039 00040 //extensions 00041 //XXX-DEFER single request extensions (no support for *requesting* single request extensions 00042 00043 private: 00045 CPKIFRequest(const CPKIFRequest& copy); 00047 CPKIFRequest& operator=(const CPKIFRequest& rhs); //added 4/6/2004 00048 00049 struct CPKIFRequestImpl *m_impl; 00050 00051 00052 }; 00053 DECLARE_SMART_POINTERS(CPKIFRequest); 00054 typedef std::vector<CPKIFRequestPtr, PKIFAlloc<CPKIFRequestPtr> > CPKIFRequestList; 00055 DECLARE_SMART_POINTERS(CPKIFRequestList); 00056 00057 #endif