VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigVfr.vfr@ 80721

Last change on this file since 80721 was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • Property svn:eol-style set to native
File size: 4.2 KB
Line 
1/** @file
2 VFR file used by TlsAuthConfigDxe driver.
3
4 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#include "TlsAuthConfigNvData.h"
11
12formset
13 guid = TLS_AUTH_CONFIG_GUID,
14 title = STRING_TOKEN(STR_TLS_AUTH_CONFIG_TITLE),
15 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_HELP),
16
17 varstore TLS_AUTH_CONFIG_IFR_NVDATA,
18 name = TLS_AUTH_CONFIG_IFR_NVDATA,
19 guid = TLS_AUTH_CONFIG_GUID;
20
21 //
22 // ##1 Form1: Main form for Tls Auth configration
23 //
24 form formid = TLS_AUTH_CONFIG_FORMID1_FORM,
25 title = STRING_TOKEN(STR_TLS_AUTH_CONFIG_TITLE);
26
27 subtitle text = STRING_TOKEN(STR_NULL);
28
29 //
30 // Display Server CA configration
31 //
32 goto TLS_AUTH_CONFIG_FORMID2_FORM,
33 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_SERVER_CA),
34 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_SERVER_CA_HELP),
35 flags = INTERACTIVE,
36 key = KEY_TLS_AUTH_CONFIG_SERVER_CA;
37
38 subtitle text = STRING_TOKEN(STR_NULL);
39
40 //
41 // Display Client cert configration
42 //
43 grayoutif TRUE; /// Current unsupported.
44 goto TLS_AUTH_CONFIG_FORMID3_FORM,
45 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_CLIENT_CERT),
46 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_CLIENT_CERT_HELP),
47 flags = INTERACTIVE,
48 key = KEY_TLS_AUTH_CONFIG_CLIENT_CERT;
49 endif;
50 endform;
51
52 //
53 // ##2 Form2: CA configuration
54 //
55 form formid = TLS_AUTH_CONFIG_FORMID2_FORM,
56 title = STRING_TOKEN(STR_TLS_AUTH_CONFIG_SERVER_CA);
57
58 subtitle text = STRING_TOKEN(STR_NULL);
59
60 goto TLS_AUTH_CONFIG_FORMID4_FORM,
61 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_ENROLL_CERT),
62 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_ENROLL_CERT_HELP),
63 flags = INTERACTIVE,
64 key = KEY_TLS_AUTH_CONFIG_ENROLL_CERT;
65
66 subtitle text = STRING_TOKEN(STR_NULL);
67
68 goto TLS_AUTH_CONFIG_FORMID5_FORM,
69 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_DELETE_CERT),
70 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_DELETE_CERT_HELP),
71 flags = INTERACTIVE,
72 key = KEY_TLS_AUTH_CONFIG_DELETE_CERT;
73 endform;
74
75 //
76 // ##3 Form3 : Client cert configuration
77 //
78 form formid = TLS_AUTH_CONFIG_FORMID3_FORM,
79 title = STRING_TOKEN(STR_TLS_AUTH_CONFIG_CLIENT_CERT);
80
81 subtitle text = STRING_TOKEN(STR_NULL);
82
83 //
84 // TODO...
85 //
86 endform;
87
88 //
89 // ##4 Form4: Enroll cert for CA
90 //
91 form formid = TLS_AUTH_CONFIG_FORMID4_FORM,
92 title = STRING_TOKEN(STR_TLS_AUTH_CONFIG_ENROLL_CERT);
93
94 subtitle text = STRING_TOKEN(STR_NULL);
95
96 goto TLS_AUTH_CONFIG_FORMID4_FORM,
97 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_ADD_CERT_FILE),
98 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_ADD_CERT_FILE),
99 flags = INTERACTIVE,
100 key = KEY_TLS_AUTH_CONFIG_ENROLL_CERT_FROM_FILE;
101
102 subtitle text = STRING_TOKEN(STR_NULL);
103 label TLS_AUTH_CONFIG_FORMID4_FORM;
104 label LABEL_END;
105 subtitle text = STRING_TOKEN(STR_NULL);
106
107 string varid = TLS_AUTH_CONFIG_IFR_NVDATA.CertGuid,
108 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_CERT_GUID),
109 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_CERT_GUID_HELP),
110 flags = INTERACTIVE,
111 key = KEY_TLS_AUTH_CONFIG_CERT_GUID,
112 minsize = TLS_AUTH_CONFIG_GUID_SIZE,
113 maxsize = TLS_AUTH_CONFIG_GUID_SIZE,
114 endstring;
115
116 subtitle text = STRING_TOKEN(STR_NULL);
117 subtitle text = STRING_TOKEN(STR_NULL);
118
119 goto TLS_AUTH_CONFIG_FORMID1_FORM,
120 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_SAVE_AND_EXIT),
121 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_SAVE_AND_EXIT),
122 flags = INTERACTIVE,
123 key = KEY_TLS_AUTH_CONFIG_VALUE_SAVE_AND_EXIT;
124
125 goto TLS_AUTH_CONFIG_FORMID1_FORM,
126 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_NO_SAVE_AND_EXIT),
127 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_NO_SAVE_AND_EXIT),
128 flags = INTERACTIVE,
129 key = KEY_TLS_AUTH_CONFIG_VALUE_NO_SAVE_AND_EXIT;
130
131 endform;
132
133 //
134 // ##5 Form5: Delete cert for CA
135 //
136 form formid = TLS_AUTH_CONFIG_FORMID5_FORM,
137 title = STRING_TOKEN(STR_TLS_AUTH_CONFIG_DELETE_CERT);
138
139 label LABEL_CA_DELETE;
140 label LABEL_END;
141
142 subtitle text = STRING_TOKEN(STR_NULL);
143
144 endform;
145
146endformset;
147
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette