ExtendedKeyUsageFactory.cpp

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

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