00001 00009 #include "PolicyInformationSetFactory.h" 00010 #include "PolicyInformationSet.h" 00019 const char* CPKIFPolicyInformationSetFactory::refOID() 00020 { 00021 return CPKIFPolicyInformationSet::extOID; 00022 } 00023 00031 CPKIFPolicyInformationSetFactory::CPKIFPolicyInformationSetFactory() 00032 { 00033 } 00042 void CPKIFPolicyInformationSetFactory::Initialize() 00043 { 00044 } 00052 CPKIFPolicyInformationSetFactory::~CPKIFPolicyInformationSetFactory() 00053 { 00054 } 00062 //CPKIFX509ExtensionPtr CPKIFPolicyInformationSetFactory::create( 00063 // //![in] Reference to an internal representation of an extension containing information 00064 // //!to use to build a CPKIFPolicyInformationSet object. 00065 // const CACX509V3Extension& ext) 00066 //{ 00067 // CPKIFPolicyInformationSetPtr tmp(new CPKIFPolicyInformationSet(ext)); 00068 // return tmp; 00069 //} 00070 00078 CPKIFX509ExtensionPtr CPKIFPolicyInformationSetFactory::create( 00079 bool criticality, 00080 const CPKIFBufferPtr& ext) 00081 { 00082 CPKIFPolicyInformationSetPtr tmp(new CPKIFPolicyInformationSet(criticality, ext)); 00083 return tmp; 00084 }