Module: CPKIFPathLogger
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"
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 _DISABLE_LOG4CXX_PATH_LOGGING 1 |
Definition at line 9 of file PKIFPathLogger.cpp.
void DumpPolicySet | ( | CPKIFPolicyInformationListPtr & | polSet, | |
ostream * | o | |||
) |
Interface: Subsystem
This is a helper function that output a policy set to the specified stream
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
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.
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 | |||
) |
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().
boost::recursive_mutex g_me |
Definition at line 63 of file PKIFPathLogger.cpp.
Referenced by CPKIFPathLogger::LogPath(), and CPKIFPathLogger::LogValidationResults().
std::ostringstream g_pathLogFile |
Definition at line 94 of file PKIFPathLogger.cpp.
Referenced by CPKIFPathLogger::LogPath(), and CPKIFPathLogger::LogValidationResults().