PKIFBasicPathState2.cpp

Go to the documentation of this file.
00001 
00009 #include "PKIFBasicPathState2.h"
00010 
00011 #include "ToolkitUtils.h"
00012 #include "components.h"
00013 #include "PKIFTrustRoot.h"
00014 #include "CertificateNodeListWithSourceInfo.h"
00015 
00016 #include <iterator>
00024 CPKIFBasicPathState2::CPKIFBasicPathState2(void)
00025 {
00026     LOG_STRING_DEBUG("CPKIFRevocationStatusMediator<DefaultColleagues, DefaultMediators>::~CPKIFRevocationStatusMediator(void)", TOOLKIT_PATH_MEDIATOR, 0, this);
00027 
00028     //initialize the members not covered by ClearState
00029     m_maxSource = LOCAL;
00030     m_bInitCompleteLocal = false;
00031     m_nGrowCount=0;
00032     m_reserved = NULL;
00033 
00034     //then call clear state
00035     ClearState();
00036 }
00037 
00047 void CPKIFBasicPathState2::ClearState()
00048 {
00049     m_curRoot = NULL;
00050 }
00051 
00059 CPKIFBasicPathState2::~CPKIFBasicPathState2(void)
00060 {
00061     LOG_STRING_DEBUG("CPKIFRevocationStatusMediator<DefaultColleagues, DefaultMediators>::~CPKIFRevocationStatusMediator(void)", TOOLKIT_PATH_MEDIATOR, 0, this);
00062 }
00072 void CPKIFBasicPathState2::SetTrustRoot(
00074     const IPKIFTrustAnchorList& rootList)
00075 {
00076     m_rootList.clear(); 
00077     copy(rootList.begin(), rootList.end(), back_inserter(m_rootList));
00078 }

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