00001 00009 #include "AuthorityInfoAccessFactory.h" 00010 #include "AuthorityInfoAccess.h" 00011 #include "ASN1Helper.h" 00012 #include "PKIX1Implicit88.h" 00013 #include "PKIX1Explicit88.h" 00014 #include "OID.h" 00015 #include "X509Extension.h" 00016 00025 const char* CPKIFAuthorityInfoAccessFactory::refOID() 00026 { 00027 return CPKIFAuthorityInfoAccess::extOID; 00028 } 00036 CPKIFAuthorityInfoAccessFactory::CPKIFAuthorityInfoAccessFactory() 00037 { 00038 } 00047 void CPKIFAuthorityInfoAccessFactory::Initialize() 00048 { 00049 } 00057 CPKIFAuthorityInfoAccessFactory::~CPKIFAuthorityInfoAccessFactory() 00058 { 00059 } 00067 //CPKIFX509ExtensionPtr CPKIFAuthorityInfoAccessFactory::create( 00068 // //![in] Reference to an internal representation of an extension containing information to use to 00069 // //!build a CPKIFAuthorityInfoAccess object 00070 // const CACX509V3Extension& ext) 00071 //{ 00072 // CPKIFAuthorityInfoAccessPtr tmp(new CPKIFAuthorityInfoAccess(ext)); 00073 // return tmp; 00074 //} 00075 00083 CPKIFX509ExtensionPtr CPKIFAuthorityInfoAccessFactory::create( 00084 bool criticality, 00085 const CPKIFBufferPtr& ext) 00086 { 00087 CPKIFAuthorityInfoAccessPtr tmp(new CPKIFAuthorityInfoAccess(criticality, ext)); 00088 return tmp; 00089 }