00001 00009 #ifndef __InhibitAnyPolicy_H__ 00010 #define __InhibitAnyPolicy_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 <iosfwd> 00022 00023 struct CPKIFInhibitAnyPolicyImpl; 00024 00039 class CAC_API CPKIFInhibitAnyPolicy : public CPKIFX509Extension 00040 { 00041 public: 00042 CPKIFInhibitAnyPolicy(); 00043 //CPKIFInhibitAnyPolicy(const CACX509V3Extension& ext); 00044 CPKIFInhibitAnyPolicy(const bool& criticality, const CPKIFBufferPtr& ext); 00045 virtual ~CPKIFInhibitAnyPolicy(); 00050 static char extOID[]; 00051 const CPKIFOIDPtr oid() const; 00052 00053 int SkipCerts(); 00054 void SetSkipCerts(int skipCerts); 00055 00056 CPKIFBufferPtr value() const; 00057 00058 private: 00059 00060 CPKIFInhibitAnyPolicy(const CPKIFInhibitAnyPolicy& ext); 00061 CPKIFInhibitAnyPolicy& operator=(const CPKIFInhibitAnyPolicy& rhs); //added 4/6/2004 00062 00063 CPKIFInhibitAnyPolicyImpl *m_impl; 00064 }; 00065 DECLARE_SMART_POINTERS(CPKIFInhibitAnyPolicy); 00066 00067 CAC_API std::ostream& operator<<(std::ostream & os, const CPKIFInhibitAnyPolicyPtr & extension); 00068 CAC_API std::ostream& operator<<(std::ostream & os, const CPKIFInhibitAnyPolicy & extension); 00069 00070 #endif