TimestampVerifier.cpp File Reference


Detailed Description

Subsystem: Timestamp (PKIFTSP)

Module: CPKIFTimestampVerifier

Id
TimestampVerifier.cpp 9923 2009-05-14 13:49:58Z agalustyan

Definition in file TimestampVerifier.cpp.

#include "AlgorithmIdentifier.h"
#include "Buffer.h"
#include "CRLEntry.h"
#include "Certificate.h"
#include "ContentInfo.h"
#include "Duration.h"
#include "EncapsulatedContentInfo.h"
#include "ExtendedKeyUsage.h"
#include "GottaMatch.h"
#include "IPKIFCryptoMisc.h"
#include "IPKIFHashContext.h"
#include "IPKIFPathValidate.h"
#include "MessageImprint.h"
#include "OCSP.h"
#include "OCSPResponse.h"
#include "OID.h"
#include "PKIFCRLInfo.h"
#include "PKIFCertStatus.h"
#include "PKIFFuncStorage.h"
#include "PKIFMediators.h"
#include "PKIFOCSPInfo.h"
#include "PKIFTSP.h"
#include "PKIFTime.h"
#include "ParallelHash.h"
#include "PathResults.h"
#include "Period.h"
#include "RevocationSource.h"
#include "SignedData.h"
#include "SingleResponse.h"
#include "TSPException.h"
#include "TSTInfo.h"
#include "TimestampVerifier.h"
#include "ToolkitUtils.h"
#include "Validity.h"
#include "pkiftsperrors.h"
#include "SignerInfo.h"
#include "SigningCertificateAttribute.h"
#include "ESSCertId.h"
#include "GeneralName.h"
#include "Name.h"
#include <vector>

Include dependency graph for TimestampVerifier.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:19:40 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6