00001 00009 #ifndef __PolicyMappings_H__ 00010 #define __PolicyMappings_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 "X509Extension.h" 00021 #include <vector> 00022 #include <iosfwd> 00023 00024 struct CPKIFPolicyMappingsImpl; 00025 FD_LIST_PTR(CPKIFPolicyMapping); 00026 00046 class CAC_API CPKIFPolicyMappings : public CPKIFX509Extension 00047 { 00048 public: 00049 CPKIFPolicyMappings(); 00050 //CPKIFPolicyMappings(const CACX509V3Extension& ext); 00051 CPKIFPolicyMappings(const bool& criticality, const CPKIFBufferPtr& ext); 00052 virtual ~CPKIFPolicyMappings(); 00057 static char extOID[]; 00058 const CPKIFOIDPtr oid() const; 00059 00060 CPKIFPolicyMappingListPtr PolicyMappings() const; 00061 CPKIFBufferPtr value() const; 00062 00063 private: 00064 // TO DO 00065 CPKIFPolicyMappings(const CPKIFPolicyMappings& ext); 00066 CPKIFPolicyMappings& operator=(const CPKIFPolicyMappings& rhs); //added 4/6/2004 00067 00068 struct CPKIFPolicyMappingsImpl *m_impl; 00069 }; 00070 DECLARE_SMART_POINTERS(CPKIFPolicyMappings); 00071 00072 CAC_API std::ostream& operator<<(std::ostream & os, const CPKIFPolicyMappingsPtr & extension); 00073 CAC_API std::ostream& operator<<(std::ostream & os, const CPKIFPolicyMappings & extension); 00074 00075 #endif