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