Module: CPKIFTimestampVerifier
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>
Go to the source code of this file.
Functions | |
void | EKUChecker_TimestampTSP (const CPKIFCertificateNodeEntryPtr &certNode, CPKIFPathValidationResults &results, CertificateType type) |
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.
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().