]>
Commit | Line | Data |
---|---|---|
7618784b HW |
1 | /** @file\r |
2 | Header file for NV data structure definition.\r | |
3 | \r | |
4 | Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r | |
5 | This program and the accompanying materials\r | |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this distribution. The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php\r | |
9 | \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 | #ifndef __TLS_AUTH_CONFIG_NV_DATA_H__\r | |
16 | #define __TLS_AUTH_CONFIG_NV_DATA_H__\r | |
17 | \r | |
18 | #include <Guid/TlsAuthConfigHii.h>\r | |
19 | \r | |
20 | #define TLS_AUTH_CONFIG_GUID_SIZE 36\r | |
21 | #define TLS_AUTH_CONFIG_GUID_STORAGE_SIZE 37\r | |
22 | \r | |
23 | #define TLS_AUTH_CONFIG_FORMID1_FORM 1\r | |
24 | #define TLS_AUTH_CONFIG_FORMID2_FORM 2\r | |
25 | #define TLS_AUTH_CONFIG_FORMID3_FORM 3\r | |
26 | #define TLS_AUTH_CONFIG_FORMID4_FORM 4\r | |
27 | #define TLS_AUTH_CONFIG_FORMID5_FORM 5\r | |
28 | \r | |
29 | \r | |
30 | #define KEY_TLS_AUTH_CONFIG_SERVER_CA 0x1000\r | |
31 | #define KEY_TLS_AUTH_CONFIG_CLIENT_CERT 0x1001\r | |
32 | #define KEY_TLS_AUTH_CONFIG_ENROLL_CERT 0x1002\r | |
33 | #define KEY_TLS_AUTH_CONFIG_DELETE_CERT 0x1003\r | |
34 | #define KEY_TLS_AUTH_CONFIG_ENROLL_CERT_FROM_FILE 0x1004\r | |
35 | #define KEY_TLS_AUTH_CONFIG_CERT_GUID 0x1005\r | |
36 | #define KEY_TLS_AUTH_CONFIG_VALUE_SAVE_AND_EXIT 0x1006\r | |
37 | #define KEY_TLS_AUTH_CONFIG_VALUE_NO_SAVE_AND_EXIT 0x1007\r | |
38 | \r | |
39 | #define OPTION_DEL_CA_ESTION_ID 0x2000\r | |
40 | #define OPTION_CONFIG_RANGE 0x1000\r | |
41 | \r | |
42 | #define LABEL_CA_DELETE 0x1101\r | |
43 | #define LABEL_END 0xffff\r | |
44 | \r | |
45 | typedef struct {\r | |
46 | CHAR16 CertGuid[TLS_AUTH_CONFIG_GUID_STORAGE_SIZE];\r | |
47 | } TLS_AUTH_CONFIG_IFR_NVDATA;\r | |
48 | \r | |
49 | #endif\r | |
50 | \r |