VirtualBox

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

Last change on this file since 77662 was 77662, checked in by vboxsync, 6 years ago

EFI: First step in UDK2018 merge. Does not build yet.

  • Property svn:eol-style set to native
File size: 4.6 KB
Line 
1/** @file
2 VFR file used by TlsAuthConfigDxe driver.
3
4 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php.
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14**/
15
16#include "TlsAuthConfigNvData.h"
17
18formset
19 guid = TLS_AUTH_CONFIG_GUID,
20 title = STRING_TOKEN(STR_TLS_AUTH_CONFIG_TITLE),
21 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_HELP),
22
23 varstore TLS_AUTH_CONFIG_IFR_NVDATA,
24 name = TLS_AUTH_CONFIG_IFR_NVDATA,
25 guid = TLS_AUTH_CONFIG_GUID;
26
27 //
28 // ##1 Form1: Main form for Tls Auth configration
29 //
30 form formid = TLS_AUTH_CONFIG_FORMID1_FORM,
31 title = STRING_TOKEN(STR_TLS_AUTH_CONFIG_TITLE);
32
33 subtitle text = STRING_TOKEN(STR_NULL);
34
35 //
36 // Display Server CA configration
37 //
38 goto TLS_AUTH_CONFIG_FORMID2_FORM,
39 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_SERVER_CA),
40 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_SERVER_CA_HELP),
41 flags = INTERACTIVE,
42 key = KEY_TLS_AUTH_CONFIG_SERVER_CA;
43
44 subtitle text = STRING_TOKEN(STR_NULL);
45
46 //
47 // Display Client cert configration
48 //
49 grayoutif TRUE; /// Current unsupported.
50 goto TLS_AUTH_CONFIG_FORMID3_FORM,
51 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_CLIENT_CERT),
52 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_CLIENT_CERT_HELP),
53 flags = INTERACTIVE,
54 key = KEY_TLS_AUTH_CONFIG_CLIENT_CERT;
55 endif;
56 endform;
57
58 //
59 // ##2 Form2: CA configuration
60 //
61 form formid = TLS_AUTH_CONFIG_FORMID2_FORM,
62 title = STRING_TOKEN(STR_TLS_AUTH_CONFIG_SERVER_CA);
63
64 subtitle text = STRING_TOKEN(STR_NULL);
65
66 goto TLS_AUTH_CONFIG_FORMID4_FORM,
67 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_ENROLL_CERT),
68 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_ENROLL_CERT_HELP),
69 flags = INTERACTIVE,
70 key = KEY_TLS_AUTH_CONFIG_ENROLL_CERT;
71
72 subtitle text = STRING_TOKEN(STR_NULL);
73
74 goto TLS_AUTH_CONFIG_FORMID5_FORM,
75 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_DELETE_CERT),
76 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_DELETE_CERT_HELP),
77 flags = INTERACTIVE,
78 key = KEY_TLS_AUTH_CONFIG_DELETE_CERT;
79 endform;
80
81 //
82 // ##3 Form3 : Client cert configuration
83 //
84 form formid = TLS_AUTH_CONFIG_FORMID3_FORM,
85 title = STRING_TOKEN(STR_TLS_AUTH_CONFIG_CLIENT_CERT);
86
87 subtitle text = STRING_TOKEN(STR_NULL);
88
89 //
90 // TODO...
91 //
92 endform;
93
94 //
95 // ##4 Form4: Enroll cert for CA
96 //
97 form formid = TLS_AUTH_CONFIG_FORMID4_FORM,
98 title = STRING_TOKEN(STR_TLS_AUTH_CONFIG_ENROLL_CERT);
99
100 subtitle text = STRING_TOKEN(STR_NULL);
101
102 goto TLS_AUTH_CONFIG_FORMID4_FORM,
103 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_ADD_CERT_FILE),
104 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_ADD_CERT_FILE),
105 flags = INTERACTIVE,
106 key = KEY_TLS_AUTH_CONFIG_ENROLL_CERT_FROM_FILE;
107
108 subtitle text = STRING_TOKEN(STR_NULL);
109 label TLS_AUTH_CONFIG_FORMID4_FORM;
110 label LABEL_END;
111 subtitle text = STRING_TOKEN(STR_NULL);
112
113 string varid = TLS_AUTH_CONFIG_IFR_NVDATA.CertGuid,
114 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_CERT_GUID),
115 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_CERT_GUID_HELP),
116 flags = INTERACTIVE,
117 key = KEY_TLS_AUTH_CONFIG_CERT_GUID,
118 minsize = TLS_AUTH_CONFIG_GUID_SIZE,
119 maxsize = TLS_AUTH_CONFIG_GUID_SIZE,
120 endstring;
121
122 subtitle text = STRING_TOKEN(STR_NULL);
123 subtitle text = STRING_TOKEN(STR_NULL);
124
125 goto TLS_AUTH_CONFIG_FORMID1_FORM,
126 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_SAVE_AND_EXIT),
127 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_SAVE_AND_EXIT),
128 flags = INTERACTIVE,
129 key = KEY_TLS_AUTH_CONFIG_VALUE_SAVE_AND_EXIT;
130
131 goto TLS_AUTH_CONFIG_FORMID1_FORM,
132 prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_NO_SAVE_AND_EXIT),
133 help = STRING_TOKEN(STR_TLS_AUTH_CONFIG_NO_SAVE_AND_EXIT),
134 flags = INTERACTIVE,
135 key = KEY_TLS_AUTH_CONFIG_VALUE_NO_SAVE_AND_EXIT;
136
137 endform;
138
139 //
140 // ##5 Form5: Delete cert for CA
141 //
142 form formid = TLS_AUTH_CONFIG_FORMID5_FORM,
143 title = STRING_TOKEN(STR_TLS_AUTH_CONFIG_DELETE_CERT);
144
145 label LABEL_CA_DELETE;
146 label LABEL_END;
147
148 subtitle text = STRING_TOKEN(STR_NULL);
149
150 endform;
151
152endformset;
153
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