RequestReference.h

Go to the documentation of this file.
00001 
00010 #ifndef __REQUESTREFERENCE_H__
00011 #define __REQUESTREFERENCE_H__
00012 
00013 
00014 #include "PKIFSCVPDLL.h"
00015 #include "PKIFdll.h"
00016 
00017 
00018 // forward declarations
00019 struct CPKIFRequestReferenceImpl;
00020 
00021 enum REQUESTREV {REQUESTREV_FULL,REQUESTREV_HASH, REQUESTREV_NONE};
00022 
00023 FD_SMART_PTR(CPKIFBuffer);
00024 FD_SMART_PTR(CPKIFHashValue);
00025 
00031 class PKIFSCVP_API CPKIFRequestReference
00032 {
00033 public:
00034     CPKIFRequestReference();
00035     CPKIFRequestReference(const CPKIFBufferPtr&);
00036     virtual ~CPKIFRequestReference(void);
00037 
00038     //required field
00039     void SetFullRequest(CPKIFBufferPtr& fullRequest);
00040     const CPKIFBufferPtr GetFullRequest() const;
00041 
00042     //required field
00043     void SetHashValue(CPKIFHashValuePtr& hashValue);
00044     const CPKIFHashValuePtr GetHashValue() const;
00045 
00046     REQUESTREV GetRequestRefType();
00047 
00048 private:
00050     CPKIFRequestReference(const CPKIFRequestReference& copy);
00052     CPKIFRequestReference& operator=(const CPKIFRequestReference& rhs);
00053 
00054     struct CPKIFRequestReferenceImpl *m_impl;
00055 };
00056 DECLARE_SMART_POINTERS(CPKIFRequestReference);
00057 
00058 #endif //__REQUESTREFERENCE_H__

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