OCSPRequest.h

Go to the documentation of this file.
00001 
00009 #ifndef __OCSPRequest_H__
00010 #define __OCSPRequest_H__
00011 
00012 
00013 #include "PKIFdll.h"
00014 
00015 // changed with the merger of mediator and colleague interfaces
00016 FD_MC_PTR();
00017 FD_SMART_PTR(CPKIFCredential);
00018 FD_SMART_PTR(CPKIFTBSRequest);
00019 FD_SMART_PTR(CPKIFBuffer);
00020 
00021 struct CPKIFOCSPRequestImpl;
00022 
00037 class CAC_API CPKIFOCSPRequest //: IPKIFMediator
00038 {
00039     friend struct CPKIFOCSPRequestImpl;
00040 public:
00041     CPKIFOCSPRequest();
00042     ~CPKIFOCSPRequest();
00043 
00044     //tbsRequest
00045     //cred parameter is not used and should always be set to NULL
00046     //this version of PKIF does not support generation of signed OCSP requests
00047     void SetRequest(CPKIFTBSRequestPtr& request, CPKIFCredentialPtr& cred, IPKIFMediator* cm = NULL);
00048     CPKIFTBSRequestPtr GetRequest() const;
00049 
00050     CPKIFBufferPtr Encode();
00051     void Decode(CPKIFBufferPtr& msg);
00052 
00053 private:
00055     CPKIFOCSPRequest(const CPKIFOCSPRequest& copy);
00057     CPKIFOCSPRequest& operator=(const CPKIFOCSPRequest& rhs); //added 4/6/2004
00058 
00059     struct CPKIFOCSPRequestImpl *m_impl;
00060 
00061 
00062 };
00063 
00064 #endif

Generated on Mon Nov 15 11:15:51 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6