PKIFTSP_helpers.cpp File Reference


Detailed Description

Subsystem: Timestamp (PKIFTSP)

Module: Miscellaneous

Id
PKIFTSP_helpers.cpp 3785 2006-04-17 12:04:02Z agalustyan

Definition in file PKIFTSP_helpers.cpp.

#include "PKIFPathInterfaces.h"
#include "components.h"
#include "PKIFCertificateNodeEntry.h"
#include "ExtendedKeyUsage.h"
#include "ToolkitUtils.h"
#include "Certificate.h"
#include "OID.h"
#include "GottaMatch.h"
#include <vector>

Include dependency graph for PKIFTSP_helpers.cpp:

Go to the source code of this file.

Functions

void EKUChecker_TimestampTSP (const CPKIFCertificateNodeEntryPtr &certNode, CPKIFPathValidationResults &results, CertificateType type)


Function Documentation

void EKUChecker_TimestampTSP ( const CPKIFCertificateNodeEntryPtr &  certNode,
CPKIFPathValidationResults results,
CertificateType  type 
)

Interface: External

This function processes the extended key usage extension of the certificate pointed to by certNode, confirming that id-kp-timeStamping ("1.3.6.1.5.5.7.3.8") is present. If the extension is present and has the correct value, the certNode will mark that extension as processed.

Returns:
None
Parameters:
certNode  [in] [in] Reference to a smart pointer to a CPKIFCertificateNodeEntry object containing the certificate to process and associated information
results  [in] Reference to a CPKIFPathValidationResults object (not used by this function)
type  [in] CertificateType value indicating the type of certificate, e.g. EE or CA

Definition at line 54 of file PKIFTSP_helpers.cpp.

References PKIFENUMS::EE, g_anyEKU, g_timestampingEKU, LOG_STRING_DEBUG, GottaMatch< T >::SetRHS(), and TOOLKIT_TSP_TIMESTAMP_VERIFIER.

Referenced by CPKIFTimestampVerifier::Verify().


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