]>
git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c
2 RFC3161 Timestamp Countersignature Verification Wrapper Implementation which does
3 not provide real capabilities.
5 Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #include "InternalCryptLib.h"
19 Verifies the validity of a RFC3161 Timestamp CounterSignature embedded in PE/COFF Authenticode
22 Return FALSE to indicate this interface is not supported.
24 @param[in] AuthData Pointer to the Authenticode Signature retrieved from signed
25 PE/COFF image to be verified.
26 @param[in] DataSize Size of the Authenticode Signature in bytes.
27 @param[in] TsaCert Pointer to a trusted/root TSA certificate encoded in DER, which
28 is used for TSA certificate chain verification.
29 @param[in] CertSize Size of the trusted certificate in bytes.
30 @param[out] SigningTime Return the time of timestamp generation time if the timestamp
33 @retval FALSE This interface is not supported.
38 ImageTimestampVerify (
39 IN CONST UINT8
*AuthData
,
41 IN CONST UINT8
*TsaCert
,
43 OUT EFI_TIME
*SigningTime