]> git.proxmox.com Git - mirror_edk2.git/blame - CryptoPkg/Library/BaseCryptLib/Pk/CryptTsNull.c
CryptoPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / Pk / CryptTsNull.c
CommitLineData
2ac68e8b
QL
1/** @file\r
2 RFC3161 Timestamp Countersignature Verification Wrapper Implementation which does\r
3 not provide real capabilities.\r
4\r
5Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
2009f6b4 6SPDX-License-Identifier: BSD-2-Clause-Patent\r
2ac68e8b
QL
7\r
8**/\r
9\r
10#include "InternalCryptLib.h"\r
11\r
12/**\r
2998af86 13 Verifies the validity of a RFC3161 Timestamp CounterSignature embedded in PE/COFF Authenticode\r
2ac68e8b
QL
14 signature.\r
15\r
16 Return FALSE to indicate this interface is not supported.\r
17\r
18 @param[in] AuthData Pointer to the Authenticode Signature retrieved from signed\r
19 PE/COFF image to be verified.\r
20 @param[in] DataSize Size of the Authenticode Signature in bytes.\r
21 @param[in] TsaCert Pointer to a trusted/root TSA certificate encoded in DER, which\r
22 is used for TSA certificate chain verification.\r
23 @param[in] CertSize Size of the trusted certificate in bytes.\r
24 @param[out] SigningTime Return the time of timestamp generation time if the timestamp\r
25 signature is valid.\r
26\r
27 @retval FALSE This interface is not supported.\r
28\r
29**/\r
30BOOLEAN\r
31EFIAPI\r
32ImageTimestampVerify (\r
33 IN CONST UINT8 *AuthData,\r
34 IN UINTN DataSize,\r
35 IN CONST UINT8 *TsaCert,\r
36 IN UINTN CertSize,\r
37 OUT EFI_TIME *SigningTime\r
38 )\r
39{\r
40 ASSERT (FALSE);\r
41 return FALSE;\r
42}\r