00001 00009 #ifndef __PolicyMapping_H__ 00010 #define __PolicyMapping_H__ 00011 00012 #if _MSC_VER > 1000 00013 #pragma once 00014 #endif // _MSC_VER > 1000 00015 00016 00017 #include "PKIFdll.h" 00018 #define CAC_API_FACTORY 00019 00020 #include <vector> 00021 00022 struct CPKIFPolicyMappingImpl; 00023 struct CACX509V3PolicyMappings_element; 00024 FD_SMART_PTR(CPKIFOID); 00025 00038 class CAC_API CPKIFPolicyMapping 00039 { 00040 public: 00041 CPKIFPolicyMapping(); 00042 CPKIFPolicyMapping(const CPKIFOID& issuerDomainPolicy, const CPKIFOID& subjectDomainPolicy); 00043 //CPKIFPolicyMapping(const CACX509V3PolicyMappings_element* ext); 00044 virtual ~CPKIFPolicyMapping(); 00045 00046 CPKIFOIDPtr IssuerDomain() const; 00047 CPKIFOIDPtr SubjectDomain() const; 00048 00049 private: 00050 // TO DO 00052 CPKIFPolicyMapping(const CPKIFPolicyMapping& ext); 00054 CPKIFPolicyMapping& operator=(const CPKIFPolicyMapping& rhs); //added 4/6/2004 00055 00056 struct CPKIFPolicyMappingImpl *m_impl; 00057 }; 00058 DECLARE_SMART_POINTERS(CPKIFPolicyMapping); 00059 typedef std::vector<CPKIFPolicyMappingPtr, PKIFAlloc<CPKIFPolicyMappingPtr> > CPKIFPolicyMappingList; 00060 DECLARE_SMART_POINTERS(CPKIFPolicyMappingList); 00061 00062 #endif