CountersignatureAttributeFactory.cpp

Go to the documentation of this file.
00001 
00009 #include "CountersignatureAttributeFactory.h"
00010 #include "ToolkitUtils.h"
00011 #include "components.h"
00012 #include "CountersignatureAttribute.h"
00013 
00014 
00015 
00017 struct CPKIFCountersignatureAttributeFactoryImpl
00018 {
00019 };
00021 
00029 CPKIFCountersignatureAttributeFactory::CPKIFCountersignatureAttributeFactory()
00030     :m_impl (new CPKIFCountersignatureAttributeFactoryImpl)
00031 {
00032     LOG_STRING_DEBUG("CPKIFCountersignatureAttributeFactory::CPKIFCountersignatureAttributeFactory()", TOOLKIT_MESSAGE_ASN, 0, this);
00033 }
00041 void CPKIFCountersignatureAttributeFactory::Initialize() 
00042 {
00043     LOG_STRING_DEBUG("CPKIFCountersignatureAttributeFactory::Initialize()", TOOLKIT_MESSAGE_ASN, 0, this);
00044 }
00052 CPKIFCountersignatureAttributeFactory::~CPKIFCountersignatureAttributeFactory()
00053 {
00054     LOG_STRING_DEBUG("CPKIFCountersignatureAttributeFactory::~CPKIFCountersignatureAttributeFactory()", TOOLKIT_MESSAGE_ASN, 0, this);
00055 
00056     delete m_impl;
00057     m_impl = NULL;
00058 }
00066 /*CPKIFAttributePtr CPKIFCountersignatureAttributeFactory::create(
00069     const CACCMSAttribute& ext)
00070 {
00071     LOG_STRING_DEBUG("CPKIFCountersignatureAttributeFactory::create(const CACCMSAttribute& ext)", TOOLKIT_MESSAGE_ASN, 0, this);
00072 
00073     CPKIFCountersignatureAttributePtr tmp(new CPKIFCountersignatureAttribute(ext));
00074     return tmp;
00075 }*/
00076 
00084 CPKIFAttributePtr CPKIFCountersignatureAttributeFactory::create(
00087     const CPKIFBufferPtr& buf)
00088 {
00089     LOG_STRING_DEBUG("CPKIFCountersignatureAttributeFactory::create(const CACCMSAttribute& ext)", TOOLKIT_MESSAGE_ASN, 0, this);
00090 
00091     CPKIFCountersignatureAttributePtr tmp(new CPKIFCountersignatureAttribute(buf));
00092     return tmp;
00093 }
00094 
00102 const char* CPKIFCountersignatureAttributeFactory::refOID()
00103 {
00104     return CPKIFCountersignatureAttribute::extOID;
00105 }

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