TianoCore EDK2 master
Loading...
Searching...
No Matches
TlsAuthConfigImpl.h
Go to the documentation of this file.
1
10#ifndef __TLS_AUTH_CONFIG_IMPL_H__
11#define __TLS_AUTH_CONFIG_IMPL_H__
12
13#include <Uefi.h>
14
17#include <Protocol/HiiPopup.h>
18
19//
20// Libraries
21//
26#include <Library/BaseLib.h>
27#include <Library/UefiLib.h>
28#include <Library/DebugLib.h>
30#include <Library/HiiLib.h>
33#include <Library/PrintLib.h>
34
35#include <Guid/MdeModuleHii.h>
38
39//
40// Include files with function prototypes
41//
42#include "TlsAuthConfigNvData.h"
43
44extern UINT8 TlsAuthConfigDxeStrings[];
45extern UINT8 TlsAuthConfigVfrBin[];
46
47#define TLS_AUTH_CONFIG_PRIVATE_DATA_SIGNATURE SIGNATURE_32 ('T', 'A', 'C', 'D')
48#define TLS_AUTH_CONFIG_PRIVATE_FROM_THIS(a) CR (a, TLS_AUTH_CONFIG_PRIVATE_DATA, ConfigAccess, TLS_AUTH_CONFIG_PRIVATE_DATA_SIGNATURE)
49
50#define TLS_AUTH_CONFIG_VAR_BASE_ATTR (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS)
51
54
58typedef struct {
59 VENDOR_DEVICE_PATH VendorDevicePath;
62
64 EFI_FILE_HANDLE FHandle;
65 UINT16 *FileName;
66};
67
69 UINTN Signature;
70
71 EFI_HANDLE DriverHandle;
72 EFI_HII_HANDLE RegisteredHandle;
74 TLS_AUTH_CONFIG_IFR_NVDATA TlsAuthConfigNvData;
75
77
78 EFI_GUID *CertGuid;
79};
80
95 );
96
109 );
110
183EFIAPI
186 IN CONST EFI_STRING Request,
187 OUT EFI_STRING *Progress,
188 OUT EFI_STRING *Results
189 );
190
232EFIAPI
235 IN CONST EFI_STRING Configuration,
236 OUT EFI_STRING *Progress
237 );
238
265EFIAPI
268 IN EFI_BROWSER_ACTION Action,
269 IN EFI_QUESTION_ID QuestionId,
270 IN UINT8 Type,
272 OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest
273 );
274
275#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS TlsAuthConfigFormInit(IN TLS_AUTH_CONFIG_PRIVATE_DATA *Private)
EFI_STATUS EFIAPI TlsAuthConfigAccessRouteConfig(IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This, IN CONST EFI_STRING Configuration, OUT EFI_STRING *Progress)
EFI_STATUS EFIAPI TlsAuthConfigAccessCallback(IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This, IN EFI_BROWSER_ACTION Action, IN EFI_QUESTION_ID QuestionId, IN UINT8 Type, IN OUT EFI_IFR_TYPE_VALUE *Value, OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest)
EFI_STATUS TlsAuthConfigFormUnload(IN TLS_AUTH_CONFIG_PRIVATE_DATA *Private)
EFI_STATUS EFIAPI TlsAuthConfigAccessExtractConfig(IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This, IN CONST EFI_STRING Request, OUT EFI_STRING *Progress, OUT EFI_STRING *Results)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
VOID * EFI_HII_HANDLE
Definition: Base.h:213