SubjectAltNameFactory.cpp

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

Generated on Mon Nov 15 11:15:56 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6