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