PKIFNSSHashContext.cpp

Go to the documentation of this file.
00001 
00009 #include "PKIFNSSHashContext.h"
00010 #include "ToolkitUtils.h"
00011 #include "components.h"
00019 CPKIFNSSHashContext::CPKIFNSSHashContext(void)
00020 {
00021     LOG_STRING_DEBUG("CPKIFNSSHashContext::CPKIFNSSHashContext(void)", TOOLKIT_CRYPTO_MISC, 0, this);
00022 
00023     m_hashContext = NULL;
00024 }
00032 CPKIFNSSHashContext::~CPKIFNSSHashContext(void)
00033 {
00034     LOG_STRING_DEBUG("CPKIFNSSHashContext::~CPKIFNSSHashContext(void)", TOOLKIT_CRYPTO_MISC, 0, this);
00035 
00036     if(NULL != m_hashContext)
00037     {
00038         PK11_DestroyContext(m_hashContext,PR_TRUE);
00039     }
00040 }

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