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