TianoCore EDK2 master
Loading...
Searching...
No Matches
CryptTsNull.c File Reference
#include "InternalCryptLib.h"

Go to the source code of this file.

Functions

BOOLEAN EFIAPI ImageTimestampVerify (IN CONST UINT8 *AuthData, IN UINTN DataSize, IN CONST UINT8 *TsaCert, IN UINTN CertSize, OUT EFI_TIME *SigningTime)
 

Detailed Description

RFC3161 Timestamp Countersignature Verification Wrapper Implementation which does not provide real capabilities.

Copyright (c) 2023, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file CryptTsNull.c.

Function Documentation

◆ ImageTimestampVerify()

BOOLEAN EFIAPI ImageTimestampVerify ( IN CONST UINT8 *  AuthData,
IN UINTN  DataSize,
IN CONST UINT8 *  TsaCert,
IN UINTN  CertSize,
OUT EFI_TIME SigningTime 
)

Verifies the validity of a RFC3161 Timestamp CounterSignature embedded in PE/COFF Authenticode signature.

Return FALSE to indicate this interface is not supported.

Parameters
[in]AuthDataPointer to the Authenticode Signature retrieved from signed PE/COFF image to be verified.
[in]DataSizeSize of the Authenticode Signature in bytes.
[in]TsaCertPointer to a trusted/root TSA certificate encoded in DER, which is used for TSA certificate chain verification.
[in]CertSizeSize of the trusted certificate in bytes.
[out]SigningTimeReturn the time of timestamp generation time if the timestamp signature is valid.
Return values
FALSEThis interface is not supported.

Definition at line 32 of file CryptTsNull.c.