00001 00009 #include "InhibitAnyPolicyFactory.h" 00010 #include "InhibitAnyPolicy.h" 00011 00019 CPKIFInhibitAnyPolicyFactory::CPKIFInhibitAnyPolicyFactory() 00020 { 00021 } 00030 void CPKIFInhibitAnyPolicyFactory::Initialize() 00031 { 00032 } 00040 CPKIFInhibitAnyPolicyFactory::~CPKIFInhibitAnyPolicyFactory() 00041 { 00042 } 00050 //CPKIFX509ExtensionPtr CPKIFInhibitAnyPolicyFactory::create( 00051 // //![in] Reference to an internal representation of an extension containing information to use to 00052 // //!build a CPKIFInhibitAnyPolicy object. 00053 // const CACX509V3Extension& ext) 00054 //{ 00055 // CPKIFInhibitAnyPolicyPtr tmp(new CPKIFInhibitAnyPolicy(ext)); 00056 // return tmp; 00057 //} 00058 00066 CPKIFX509ExtensionPtr CPKIFInhibitAnyPolicyFactory::create( 00067 bool criticality, 00068 const CPKIFBufferPtr& ext) 00069 { 00070 CPKIFInhibitAnyPolicyPtr tmp(new CPKIFInhibitAnyPolicy(criticality, ext)); 00071 return tmp; 00072 } 00073 00074 00083 const char* CPKIFInhibitAnyPolicyFactory::refOID() 00084 { 00085 return CPKIFInhibitAnyPolicy::extOID; 00086 }