Add minimum TLS version for Wi-Fi EAP network

- Remove "TLS v1.3" if device does not support it

Bug: 258372351
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=WifiConfigController2Test

Change-Id: If7e41e8c404b4fbf92268afddd92bc6553e60576
This commit is contained in:
Weng Su
2022-11-09 14:57:07 +08:00
parent fb8200aef8
commit c5ec83f1bd
5 changed files with 88 additions and 1 deletions

View File

@@ -211,6 +211,15 @@
<item>Require certificate status</item>
</string-array>
<!-- Match this with the integer value of WifiEnterpriseConfig.TlsVersion -->
<!-- Type of TlsVersion -->
<string-array name="wifi_eap_tls_ver" translatable="false">
<item>TLS v1.0</item>
<item>TLS v1.1</item>
<item>TLS v1.2</item>
<item>TLS v1.3</item>
</string-array>
<!-- Wi-Fi AP band settings. Either 2.4GHz or 5GHz prefer. -->
<!-- Note that adding/removing/moving the items will need wifi settings code change. -->
<string-array translatable="false" name="wifi_ap_band">

View File

@@ -1534,6 +1534,8 @@
<string name="please_select_phase2">Phase 2 authentication</string>
<!-- Label for the EAP CA certificate of the network -->
<string name="wifi_eap_ca_cert">CA certificate</string>
<!-- Label for the EAP minimum TLS version of the network -->
<string name="wifi_eap_min_tls_ver">Minimum TLS version</string>
<!-- Label for the OCSP type of the network. [CHAR LIMIT=32] -->
<string name="wifi_eap_ocsp">Online Certificate Status</string>
<!-- Label for the domain name that the EAP CA certificate(s) can be used to validate. -->