00001 00009 #include "CRLNumberFactory.h" 00010 #include "CRLNumber.h" 00011 00019 CPKIFCRLNumberFactory::CPKIFCRLNumberFactory() 00020 { 00021 } 00030 void CPKIFCRLNumberFactory::Initialize() 00031 { 00032 } 00040 CPKIFCRLNumberFactory::~CPKIFCRLNumberFactory() 00041 { 00042 } 00050 //CPKIFX509ExtensionPtr CPKIFCRLNumberFactory::create(const CACX509V3Extension& ext) 00051 //{ 00052 // CPKIFCRLNumberPtr tmp(new CPKIFCRLNumber(ext)); 00053 // return tmp; 00054 //} 00055 00063 CPKIFX509ExtensionPtr CPKIFCRLNumberFactory::create(bool criticality, const CPKIFBufferPtr& ext) 00064 { 00065 CPKIFCRLNumberPtr tmp(new CPKIFCRLNumber(criticality, ext)); 00066 return tmp; 00067 } 00068 00069 00078 const char* CPKIFCRLNumberFactory::refOID() 00079 { 00080 return CPKIFCRLNumber::extOID; 00081 }