TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | _EFI_TLS_CONFIGURATION_PROTOCOL |
Macros | |
#define | EFI_TLS_CONFIGURATION_PROTOCOL_GUID |
Typedefs | |
typedef struct _EFI_TLS_CONFIGURATION_PROTOCOL | EFI_TLS_CONFIGURATION_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | EFI_TLS_CONFIGURATION_SET_DATA) (IN EFI_TLS_CONFIGURATION_PROTOCOL *This, IN EFI_TLS_CONFIG_DATA_TYPE DataType, IN VOID *Data, IN UINTN DataSize) |
typedef EFI_STATUS(EFIAPI * | EFI_TLS_CONFIGURATION_GET_DATA) (IN EFI_TLS_CONFIGURATION_PROTOCOL *This, IN EFI_TLS_CONFIG_DATA_TYPE DataType, IN OUT VOID *Data OPTIONAL, IN OUT UINTN *DataSize) |
Enumerations | |
enum | EFI_TLS_CONFIG_DATA_TYPE { EfiTlsConfigDataTypeHostPublicCert , EfiTlsConfigDataTypeHostPrivateKey , EfiTlsConfigDataTypeCACertificate , EfiTlsConfigDataTypeCertRevocationList , EfiTlsConfigDataTypeMaximum } |
Variables | |
EFI_GUID | gEfiTlsConfigurationProtocolGuid |
EFI TLS Configuration Protocol as defined in UEFI 2.5. The EFI TLS Configuration Protocol provides a way to set and get TLS configuration.
Copyright (c) 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file TlsConfig.h.
#define EFI_TLS_CONFIGURATION_PROTOCOL_GUID |
The EFI Configuration protocol provides a way to set and get TLS configuration.
Definition at line 19 of file TlsConfig.h.
typedef EFI_STATUS(EFIAPI * EFI_TLS_CONFIGURATION_GET_DATA) (IN EFI_TLS_CONFIGURATION_PROTOCOL *This, IN EFI_TLS_CONFIG_DATA_TYPE DataType, IN OUT VOID *Data OPTIONAL, IN OUT UINTN *DataSize) |
Get TLS configuration data.
The GetData() function gets TLS configuration.
[in] | This | Pointer to the EFI_TLS_CONFIGURATION_PROTOCOL instance. |
[in] | DataType | Configuration data type. |
[in,out] | Data | Pointer to configuration data. |
[in,out] | DataSize | Total size of configuration data. On input, it means the size of Data buffer. On output, it means the size of copied Data buffer if EFI_SUCCESS, and means the size of desired Data buffer if EFI_BUFFER_TOO_SMALL. |
EFI_SUCCESS | The TLS configuration data is got successfully. |
EFI_INVALID_PARAMETER | One or more of the following conditions is TRUE: This is NULL. DataSize is NULL. Data is NULL if *DataSize is not zero. |
EFI_UNSUPPORTED | The DataType is unsupported. |
EFI_NOT_FOUND | The TLS configuration data is not found. |
EFI_BUFFER_TOO_SMALL | The buffer is too small to hold the data. |
Definition at line 107 of file TlsConfig.h.
typedef struct _EFI_TLS_CONFIGURATION_PROTOCOL EFI_TLS_CONFIGURATION_PROTOCOL |
Definition at line 24 of file TlsConfig.h.
typedef EFI_STATUS(EFIAPI * EFI_TLS_CONFIGURATION_SET_DATA) (IN EFI_TLS_CONFIGURATION_PROTOCOL *This, IN EFI_TLS_CONFIG_DATA_TYPE DataType, IN VOID *Data, IN UINTN DataSize) |
Set TLS configuration data.
The SetData() function sets TLS configuration to non-volatile storage or volatile storage.
[in] | This | Pointer to the EFI_TLS_CONFIGURATION_PROTOCOL instance. |
[in] | DataType | Configuration data type. |
[in] | Data | Pointer to configuration data. |
[in] | DataSize | Total size of configuration data. |
EFI_SUCCESS | The TLS configuration data is set successfully. |
EFI_INVALID_PARAMETER | One or more of the following conditions is TRUE: This is NULL. Data is NULL. DataSize is 0. |
EFI_UNSUPPORTED | The DataType is unsupported. |
EFI_OUT_OF_RESOURCES | Required system resources could not be allocated. |
Definition at line 75 of file TlsConfig.h.
EFI_TLS_CONFIG_DATA_TYPE
Definition at line 29 of file TlsConfig.h.