PKIFPathLogger.cpp File Reference


Detailed Description

Subsystem: Certification Path Processing (PKIFPATH)

Module: CPKIFPathLogger

Id
PKIFPathLogger.cpp 12004 2010-11-03 17:48:11Z cwallace

Definition in file PKIFPathLogger.cpp.

#include "PKIFPathLogger.h"
#include "ToolkitUtils.h"
#include "components.h"
#include "PKIFCertificateNodeEntry.h"
#include "Certificate.h"
#include "Name.h"
#include "Validity.h"
#include "PolicyInformation.h"
#include "PKIFTime.h"
#include "BuilderStatistics.h"
#include "PKIFCertificatePath.h"
#include "PKIFCertStatus.h"
#include "RevocationSource.h"
#include "PKIFCRLInfo.h"
#include "CRL.h"
#include "CRLEntry.h"
#include "PKIFOCSPInfo.h"
#include "OCSPResponse.h"
#include "ResponseBytes.h"
#include "BasicOCSPResponse.h"
#include "ResponseData.h"
#include "ResponderID.h"
#include "SingleResponse.h"
#include "CertID.h"
#include "PKIFTrustRoot.h"
#include "PKIFPathSettings.h"
#include "CSingletonLDAPConnection.h"
#include "HttpServerBlacklist.h"
#include "Buffer.h"
#include "OID.h"
#include "AlgorithmIdentifier.h"
#include "PathResults.h"
#include "ooasn1.h"
#include "asn1ber.h"
#include "OCSP.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include "boost/thread/recursive_mutex.hpp"

Include dependency graph for PKIFPathLogger.cpp:

Go to the source code of this file.

Defines

#define _DISABLE_LOG4CXX_PATH_LOGGING   1

Functions

void PrintCertInfo (CPKIFCertificatePtr &cert, char *token, ostream *o)
void PrintCertInfo (CPKIFCertificateNodeEntry &certNode, char *token, ostream *o)
void DumpPolicyTable (const vector< CPKIFPolicyInformationListPtr > &authSet, ostream *o)
void DumpPolicySet (CPKIFPolicyInformationListPtr &polSet, ostream *o)

Variables

boost::recursive_mutex g_me
std::ostringstream g_pathLogFile


Define Documentation

#define _DISABLE_LOG4CXX_PATH_LOGGING   1

Definition at line 9 of file PKIFPathLogger.cpp.


Function Documentation

void DumpPolicySet ( CPKIFPolicyInformationListPtr &  polSet,
ostream *  o 
)

Interface: Subsystem

This is a helper function that output a policy set to the specified stream

Returns:
None
Parameters:
polSet  [in] Policy Information list that will be outputed
o  [in] Stream to which the information will be outputed

Definition at line 167 of file PKIFPathLogger.cpp.

Referenced by AddPoliciesToAuthSet(), CPKIFPathLogger::LogValidationResults(), and ProcessPolicyMapping().

void DumpPolicyTable ( const vector< CPKIFPolicyInformationListPtr > &  authSet,
ostream *  o 
)

Interface: Subsystem

This is a helper function that output a policy table to the specified stream

Returns:
None
Parameters:
authSet  [in] Vector of CPKIFPolicyInformationListPtr objects that will be outputed
o  [in] Stream to which the information will be outputed

Definition at line 137 of file PKIFPathLogger.cpp.

Referenced by CPKIFPathLogger::LogValidationResults().

void PrintCertInfo ( CPKIFCertificateNodeEntry certNode,
char *  token,
ostream *  o 
)

Interface: Subsystem

This is a helper function that prints information about the issuer, subject, and validity period of the certificate supplied in the certNode parameter.

Returns:
None
Parameters:
certNode  [in] Certificate node from where certificate information will be obtained
token  [in] A string to prepend to each line of output.
o  [in] Stream to which the information will be outputed

Definition at line 119 of file PKIFPathLogger.cpp.

References CPKIFCertificateNodeEntry::GetCert(), and PrintCertInfo().

void PrintCertInfo ( CPKIFCertificatePtr &  cert,
char *  token,
ostream *  o 
)

Parameters:
cert  [in] Certificate node from where certificate information will be obtained
token  [in] A string to prepend to each line of output.
o  [in] Stream to which the information will be outputed

Definition at line 96 of file PKIFPathLogger.cpp.

Referenced by CPKIFPathLogger::LogPath(), CPKIFPathLogger::LogValidationResults(), and PrintCertInfo().


Variable Documentation

boost::recursive_mutex g_me

std::ostringstream g_pathLogFile


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