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