RevInfoWantBack.h

Go to the documentation of this file.
00001 
00010 #ifndef __REVINFOWANTBACK_H__
00011 #define __REVINFOWANTBACK_H__
00012 
00013 
00014 #include "PKIFSCVPDLL.h"
00015 #include "PKIFdll.h"
00016 
00017 
00018 // forward declarations
00019 struct CPKIFRevInfoWantBackImpl;
00020 
00021 FD_LIST_PTR(CPKIFRevocationInfo);
00022 FD_SMART_PTR(CPKIFCertBundle);
00023 FD_SMART_PTR(CPKIFBuffer);
00024 
00025 CPKIFRevocationInfoListPtr PKIFSCVP_API GetRevInfos(CPKIFBufferPtr& revInfoWB);
00026 
00032 class PKIFSCVP_API CPKIFRevInfoWantBack
00033 {
00034 public:
00035     CPKIFRevInfoWantBack();
00036     CPKIFRevInfoWantBack(const CPKIFBufferPtr&);
00037     virtual ~CPKIFRevInfoWantBack(void);
00038 
00039     //required field
00040     void SetRevInfos(CPKIFRevocationInfoListPtr& check);
00041     void GetRevInfos(CPKIFRevocationInfoListPtr& check) const;
00042 
00043     //optional field
00044     void SetExtraCerts(CPKIFCertBundlePtr& certBundle);
00045     const CPKIFCertBundlePtr GetExtraCerts() const;
00046 
00047     CPKIFBufferPtr Encode();
00048 
00049 
00050 private:
00052     CPKIFRevInfoWantBack(const CPKIFRevInfoWantBack& copy);
00054     CPKIFRevInfoWantBack& operator=(const CPKIFRevInfoWantBack& rhs);
00055     
00056     struct CPKIFRevInfoWantBackImpl *m_impl;
00057 };
00058 DECLARE_SMART_POINTERS(CPKIFRevInfoWantBack);
00059 
00060 typedef std::vector<CPKIFRevInfoWantBackPtr, PKIFAlloc<CPKIFRevInfoWantBackPtr> > CPKIFRevInfoWantBackList; 
00061 DECLARE_SMART_POINTERS(CPKIFRevInfoWantBackList);
00062 #endif //__REPLYWANTBACK_H__

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