NetworkPkg/TlsAuthConfigDxe: Provide the UI to support TLS auth configuration
This patch provides the UI to support TLS auth configuration. * EFI_SIGNATURE_LIST format is used for 'TlsCaCertificate' variable. So, TLS supports multiple certificate configuration. * The variable attribute is BS with NV, which only target at preventing runtime phase attack. Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Zhang Lubo <lubo.zhang@intel.com> Cc: Long Qin <qin.long@intel.com> Cc: Thomas Palmer <thomas.palmer@hpe.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com>
This commit is contained in:
73
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
Normal file
73
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
Normal file
@@ -0,0 +1,73 @@
|
||||
## @file
|
||||
# Provides the capability to configure Tls Authentication in a setup browser
|
||||
# By this module, user may change the content of TlsCaCertificate.
|
||||
#
|
||||
# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
# which accompanies this distribution. The full text of the license may be found at
|
||||
# http://opensource.org/licenses/bsd-license.php
|
||||
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = TlsAuthConfigDxe
|
||||
MODULE_UNI_FILE = TlsAuthConfigDxe.uni
|
||||
FILE_GUID = 7ca1024f-eb17-11e5-9dba-28d2447c4829
|
||||
MODULE_TYPE = DXE_DRIVER
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = TlsAuthConfigDxeDriverEntryPoint
|
||||
UNLOAD_IMAGE = TlsAuthConfigDxeUnload
|
||||
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64
|
||||
#
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
NetworkPkg/NetworkPkg.dec
|
||||
|
||||
[Sources]
|
||||
TlsAuthConfigImpl.c
|
||||
TlsAuthConfigImpl.h
|
||||
TlsAuthConfigNvData.h
|
||||
TlsAuthConfigDxe.c
|
||||
TlsAuthConfigDxeStrings.uni
|
||||
TlsAuthConfigVfr.vfr
|
||||
|
||||
[LibraryClasses]
|
||||
BaseLib
|
||||
BaseMemoryLib
|
||||
MemoryAllocationLib
|
||||
UefiLib
|
||||
UefiBootServicesTableLib
|
||||
UefiRuntimeServicesTableLib
|
||||
UefiDriverEntryPoint
|
||||
DebugLib
|
||||
HiiLib
|
||||
DevicePathLib
|
||||
UefiHiiServicesLib
|
||||
FileExplorerLib
|
||||
PrintLib
|
||||
|
||||
[Protocols]
|
||||
gEfiDevicePathProtocolGuid ## PRODUCES
|
||||
gEfiHiiConfigAccessProtocolGuid ## PRODUCES
|
||||
gEfiSimpleFileSystemProtocolGuid ## SOMETIMES_CONSUMES
|
||||
|
||||
[Guids]
|
||||
gTlsAuthConfigGuid ## PRODUCES ## GUID
|
||||
gEfiCertX509Guid ## CONSUMES ## GUID # Indicate the cert type
|
||||
gEfiIfrTianoGuid ## CONSUMES ## HII
|
||||
gEfiTlsCaCertificateGuid ## PRODUCES ## GUID
|
||||
|
||||
[Depex]
|
||||
gEfiHiiConfigRoutingProtocolGuid AND
|
||||
gEfiHiiDatabaseProtocolGuid
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
TlsAuthConfigDxeExtra.uni
|
Reference in New Issue
Block a user