From 9ca366fb2db61926021866a37e14c332ebc57c59 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 13 Oct 2021 19:24:42 +0200 Subject: Fix summary of Auth settings dialog and add TLS Profile setting --- main/src/ui/res/xml/vpn_authentification.xml | 94 ++++++++++++++++------------ 1 file changed, 55 insertions(+), 39 deletions(-) (limited to 'main/src/ui/res/xml/vpn_authentification.xml') diff --git a/main/src/ui/res/xml/vpn_authentification.xml b/main/src/ui/res/xml/vpn_authentification.xml index be24495a..770f6599 100644 --- a/main/src/ui/res/xml/vpn_authentification.xml +++ b/main/src/ui/res/xml/vpn_authentification.xml @@ -3,64 +3,80 @@ ~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt --> - + + + android:key="remoteServerTLS" + android:summary="@string/check_remote_tlscert" + android:title="@string/check_remote_tlscert_title" /> + android:key="checkRemoteCN" + android:summary="@string/remote_tlscn_check_summary" + android:title="@string/remote_tlscn_check_title" /> + android:dependency="checkRemoteCN" + android:key="remotecn" + android:negativeButtonText="@string/cancel" + android:positiveButtonText="@android:string/ok" + android:title="@string/enter_tlscn_title" /> + android:dependency="checkRemoteCN" + android:dialogMessage="Field in the X.509 certificate subject to be used as the username (default=CN)." + android:key="remotex509name" + android:persistent="false" + android:title="X509 Username Field" /> + + android:key="useTLSAuth" + android:summary="@string/tls_key_auth" + android:title="@string/useTLSAuth" /> + android:dependency="useTLSAuth" + + android:key="tlsAuthFile" + android:title="@string/tls_auth_file" + app:useSimpleSummaryProvider="true" /> + android:dependency="useTLSAuth" + + android:entries="@array/tls_directions_entries" + android:entryValues="@array/tls_directions_values" + android:key="tls_direction" + android:persistent="false" + android:title="@string/tls_direction" + app:useSimpleSummaryProvider="true" /> + android:dialogMessage="@string/chipher_dialog_message" + android:dialogTitle="@string/cipher_dialog_title" + android:key="dataciphers" + android:persistent="false" + android:title="@string/encryption_cipher" + app:useSimpleSummaryProvider="true" /> + android:dialogMessage="@string/auth_dialog_message" + android:dialogTitle="@string/auth_dialog_title" + android:key="auth" + android:persistent="false" + android:title="@string/packet_auth" + + app:useSimpleSummaryProvider="true" /> \ No newline at end of file -- cgit v1.2.3