00001 00010 #ifndef __ACREFERENCE_H__ 00011 #define __ACREFERENCE_H__ 00012 00013 #include "PKIFSCVPDLL.h" 00014 #include "PKIFdll.h" 00015 00016 // forward declarations 00017 struct CPKIFACReferenceImpl; 00018 00019 FD_SMART_PTR(CPKIFBuffer); 00020 FD_SMART_PTR(CPKIFCertificate); 00021 FD_SMART_PTR(CPKIFSCVPCertID); 00028 class PKIFSCVP_API CPKIFACReference 00029 { 00030 public: 00031 CPKIFACReference(); 00032 CPKIFACReference(const CPKIFBufferPtr& pkcRef); 00033 virtual ~CPKIFACReference(void); 00034 00035 void SetACCert(CPKIFBufferPtr& cert); 00036 CPKIFBufferPtr GetACCert(); 00037 00038 void SetSCVPCertID(CPKIFSCVPCertIDPtr& sCVPCertID); 00039 CPKIFSCVPCertIDPtr GetSCVPCertID(); 00040 00041 private: 00043 CPKIFACReference(const CPKIFACReference& copy); 00045 CPKIFACReference& operator=(const CPKIFACReference& rhs); 00046 00047 struct CPKIFACReferenceImpl *m_impl; 00048 }; 00049 DECLARE_SMART_POINTERS(CPKIFACReference); 00050 00051 typedef std::vector<CPKIFACReferencePtr, PKIFAlloc<CPKIFACReferencePtr> > CPKIFACReferenceList; 00052 DECLARE_SMART_POINTERS(CPKIFACReferenceList); 00053 00054 #endif //__ACREFERENCE_H__