Module: Miscellaneous
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>
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().