BasicConstraintsFactory.cpp

Go to the documentation of this file.
00001 
00009 #include "BasicConstraintsFactory.h"
00010 #include "BasicConstraints.h"
00011 
00012 
00020 CPKIFBasicConstraintsFactory::CPKIFBasicConstraintsFactory()
00021 {
00022 }
00031 void CPKIFBasicConstraintsFactory::Initialize()
00032 {
00033 }
00041 CPKIFBasicConstraintsFactory::~CPKIFBasicConstraintsFactory()
00042 {
00043 }
00051 //CPKIFX509ExtensionPtr CPKIFBasicConstraintsFactory::create(
00052 //  //![in] Reference to an internal representation of an extension containing information to 
00053 //  //!use to build a CPKIFBasicConstraints object
00054 //  const CACX509V3Extension& ext)
00055 //{
00056 //  CPKIFBasicConstraintsPtr tmp(new CPKIFBasicConstraints(ext));
00057 //  return tmp;
00058 //}
00059 
00067 CPKIFX509ExtensionPtr CPKIFBasicConstraintsFactory::create(
00068     bool criticality,
00069     const CPKIFBufferPtr& ext)
00070 {
00071     CPKIFBasicConstraintsPtr tmp(new CPKIFBasicConstraints(criticality, ext));
00072     return tmp;
00073 }
00074 
00075 
00084 const char* CPKIFBasicConstraintsFactory::refOID()
00085 {
00086     return CPKIFBasicConstraints::extOID;
00087 }

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