BinarySigningTimeAttributeFactory.cpp
Go to the documentation of this file.00001
00009 #include "BinarySigningTimeAttributeFactory.h"
00010 #include "ToolkitUtils.h"
00011 #include "components.h"
00012
00013 #include "Attribute.h"
00014 #include "Buffer.h"
00015 #include "BinarySigningTimeAttribute.h"
00016
00018 struct CPKIFBinarySigningTimeAttributeFactoryImpl
00019 {
00020 };
00022
00030 CPKIFBinarySigningTimeAttributeFactory::CPKIFBinarySigningTimeAttributeFactory()
00031 :m_impl (new CPKIFBinarySigningTimeAttributeFactoryImpl)
00032 {
00033 LOG_STRING_DEBUG("CPKIFBinarySigningTimeAttributeFactory::CPKIFBinarySigningTimeAttributeFactory()", TOOLKIT_MESSAGE_ASN, 0, this);
00034 }
00042 void CPKIFBinarySigningTimeAttributeFactory::Initialize()
00043 {
00044 LOG_STRING_DEBUG("CPKIFBinarySigningTimeAttributeFactory::Initialize()", TOOLKIT_MESSAGE_ASN, 0, this);
00045 }
00053 CPKIFBinarySigningTimeAttributeFactory::~CPKIFBinarySigningTimeAttributeFactory()
00054 {
00055 LOG_STRING_DEBUG("CPKIFBinarySigningTimeAttributeFactory::~CPKIFBinarySigningTimeAttributeFactory()", TOOLKIT_MESSAGE_ASN, 0, this);
00056
00057 delete m_impl;
00058 m_impl = NULL;
00059 }
00060
00068 CPKIFAttributePtr CPKIFBinarySigningTimeAttributeFactory::create(
00070 const CPKIFBufferPtr& buf)
00071 {
00072 LOG_STRING_DEBUG("CPKIFBinarySigningTimeAttributeFactory::create(const CACCMSAttribute& ext)", TOOLKIT_MESSAGE_ASN, 0, this);
00073
00074 CPKIFBinarySigningTimeAttributePtr tmp(new CPKIFBinarySigningTimeAttribute(buf));
00075 return tmp;
00076 }
00077
00086 const char* CPKIFBinarySigningTimeAttributeFactory::refOID()
00087 {
00088 return CPKIFBinarySigningTimeAttribute::extOID;
00089 }