00001 00009 #ifndef __PolicyQualifier_H__ 00010 #define __PolicyQualifier_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 CPKIFPolicyQualifierImpl; 00023 struct CACX509V3PolicyQualifierInfo; 00024 FD_SMART_PTR(CPKIFOID); 00025 FD_SMART_PTR(CPKIFBuffer); 00026 00032 class CAC_API CPKIFPolicyQualifier 00033 { 00034 public: 00035 CPKIFPolicyQualifier(); 00036 CPKIFPolicyQualifier(const CPKIFBufferPtr& ext); 00037 //CPKIFPolicyQualifier(const CACX509V3PolicyQualifierInfo* ext); 00038 virtual ~CPKIFPolicyQualifier(); 00039 00040 00041 CPKIFOIDPtr QualifierID() const; 00042 CPKIFBufferPtr Qualifier() const; 00043 00044 private: 00045 // TO DO 00046 CPKIFPolicyQualifier(const CPKIFPolicyQualifier& ext); 00047 CPKIFPolicyQualifier& operator=(const CPKIFPolicyQualifier& rhs); //added 4/6/2004 00048 00049 struct CPKIFPolicyQualifierImpl *m_impl; 00050 }; 00051 DECLARE_SMART_POINTERS(CPKIFPolicyQualifier); 00052 typedef std::vector<CPKIFPolicyQualifierPtr, PKIFAlloc<CPKIFPolicyQualifierPtr> > CPKIFPolicyQualifierList; 00053 DECLARE_SMART_POINTERS(CPKIFPolicyQualifierList); 00054 00055 #endif