NetworkPkg/HttpDxe: sanity-check the TlsCaCertificate variable before use
[mirror_edk2.git] / NetworkPkg / HttpDxe / HttpDxe.inf
CommitLineData
47f51a06
YT
1## @file\r
2# Implementation of EFI HTTP protocol interfaces.\r
3#\r
7ff68b5e 4# Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>\r
47f51a06
YT
5#\r
6# This program and the accompanying materials\r
7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php.\r
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12#\r
13#\r
14##\r
15\r
16[Defines]\r
17 INF_VERSION = 0x00010005\r
18 BASE_NAME = HttpDxe\r
19 FILE_GUID = 2366c20f-e15a-11e3-8bf1-e4115b28bc50\r
20 MODULE_TYPE = UEFI_DRIVER\r
21 VERSION_STRING = 1.0\r
22 ENTRY_POINT = HttpDxeDriverEntryPoint\r
23 UNLOAD_IMAGE = NetLibDefaultUnload\r
24 MODULE_UNI_FILE = HttpDxe.uni\r
25\r
26[Packages]\r
27 MdePkg/MdePkg.dec\r
28 MdeModulePkg/MdeModulePkg.dec\r
dac45de3 29 NetworkPkg/NetworkPkg.dec\r
47f51a06
YT
30\r
31[Sources]\r
32 ComponentName.h\r
33 ComponentName.c\r
34 HttpDns.h\r
35 HttpDns.c\r
36 HttpDriver.h\r
37 HttpDriver.c\r
38 HttpImpl.h\r
39 HttpImpl.c\r
40 HttpProto.h\r
41 HttpProto.c\r
dac45de3
JW
42 HttpsSupport.h\r
43 HttpsSupport.c\r
47f51a06
YT
44\r
45[LibraryClasses]\r
46 UefiDriverEntryPoint\r
47 UefiBootServicesTableLib\r
dac45de3 48 UefiRuntimeServicesTableLib\r
47f51a06
YT
49 MemoryAllocationLib\r
50 BaseLib\r
51 UefiLib\r
52 DebugLib\r
53 NetLib\r
54 HttpLib\r
49c9f74c 55 DpcLib\r
47f51a06
YT
56\r
57[Protocols]\r
58 gEfiHttpServiceBindingProtocolGuid ## BY_START\r
59 gEfiHttpProtocolGuid ## BY_START\r
5ca29abe 60 gEfiHttpUtilitiesProtocolGuid ## CONSUMES\r
47f51a06
YT
61 gEfiTcp4ServiceBindingProtocolGuid ## TO_START\r
62 gEfiTcp4ProtocolGuid ## TO_START\r
b659408b
ZL
63 gEfiTcp6ServiceBindingProtocolGuid ## TO_START\r
64 gEfiTcp6ProtocolGuid ## TO_START\r
47f51a06
YT
65 gEfiDns4ServiceBindingProtocolGuid ## SOMETIMES_CONSUMES\r
66 gEfiDns4ProtocolGuid ## SOMETIMES_CONSUMES\r
b659408b
ZL
67 gEfiDns6ServiceBindingProtocolGuid ## SOMETIMES_CONSUMES\r
68 gEfiDns6ProtocolGuid ## SOMETIMES_CONSUMES\r
47f51a06 69 gEfiIp4Config2ProtocolGuid ## SOMETIMES_CONSUMES\r
b659408b 70 gEfiIp6ConfigProtocolGuid ## SOMETIMES_CONSUMES\r
dac45de3
JW
71 gEfiTlsServiceBindingProtocolGuid ## SOMETIMES_CONSUMES\r
72 gEfiTlsProtocolGuid ## SOMETIMES_CONSUMES\r
73 gEfiTlsConfigurationProtocolGuid ## SOMETIMES_CONSUMES\r
74\r
75[Guids]\r
f3494b80 76 gEfiTlsCaCertificateGuid ## SOMETIMES_CONSUMES ## Variable:L"TlsCaCertificate"\r
7ff68b5e 77 gEdkiiHttpTlsCipherListGuid ## SOMETIMES_CONSUMES ## Variable:L"HttpTlsCipherList"\r
0fd13678 78 gEfiCertX509Guid ## SOMETIMES_CONSUMES ## GUID # Check the cert type\r
47f51a06 79\r
221463c2
JW
80[Pcd]\r
81 gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections ## CONSUMES \r
82\r
47f51a06 83[UserExtensions.TianoCore."ExtraFiles"]\r
0fd13678 84 HttpDxeExtra.uni\r