TianoCore EDK2 master
Loading...
Searching...
No Matches
TlsAuthConfigNvData.h
Go to the documentation of this file.
1
9#ifndef __TLS_AUTH_CONFIG_NV_DATA_H__
10#define __TLS_AUTH_CONFIG_NV_DATA_H__
11
13
14#define TLS_AUTH_CONFIG_GUID_SIZE 36
15#define TLS_AUTH_CONFIG_GUID_STORAGE_SIZE 37
16
17#define TLS_AUTH_CONFIG_FORMID1_FORM 1
18#define TLS_AUTH_CONFIG_FORMID2_FORM 2
19#define TLS_AUTH_CONFIG_FORMID3_FORM 3
20#define TLS_AUTH_CONFIG_FORMID4_FORM 4
21#define TLS_AUTH_CONFIG_FORMID5_FORM 5
22
23#define KEY_TLS_AUTH_CONFIG_SERVER_CA 0x1000
24#define KEY_TLS_AUTH_CONFIG_CLIENT_CERT 0x1001
25#define KEY_TLS_AUTH_CONFIG_ENROLL_CERT 0x1002
26#define KEY_TLS_AUTH_CONFIG_DELETE_CERT 0x1003
27#define KEY_TLS_AUTH_CONFIG_ENROLL_CERT_FROM_FILE 0x1004
28#define KEY_TLS_AUTH_CONFIG_CERT_GUID 0x1005
29#define KEY_TLS_AUTH_CONFIG_VALUE_SAVE_AND_EXIT 0x1006
30#define KEY_TLS_AUTH_CONFIG_VALUE_NO_SAVE_AND_EXIT 0x1007
31
32#define OPTION_DEL_CA_ESTION_ID 0x2000
33#define OPTION_CONFIG_RANGE 0x1000
34
35#define LABEL_CA_DELETE 0x1101
36#define LABEL_END 0xffff
37
38typedef struct {
39 CHAR16 CertGuid[TLS_AUTH_CONFIG_GUID_STORAGE_SIZE];
41
42#endif