diff options
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/vpn_authentification.xml | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/res/xml/vpn_authentification.xml b/res/xml/vpn_authentification.xml index 3781211f..0444831b 100644 --- a/res/xml/vpn_authentification.xml +++ b/res/xml/vpn_authentification.xml @@ -12,8 +12,29 @@ <EditTextPreference android:dependency="checkRemoteCN" - android:dialogMessage="Enter the String against which the remote Server is checked. Openvpn will use prefix matching. "Server" matches "Server-1" and "Server-2"" - android:title="Remote Hostname(CN)" - android:key="remotecn"/> + android:dialogMessage="Enter the String against which the remote Server is checked. Openvpn will use prefix matching. "Server" matches "Server-1" and "Server-2"\nLeave empty to check the CN against the server hostname." + android:key="remotecn" + android:title="Remote Hostname(CN)" /> + + <PreferenceCategory android:title="TLS Authentication" > + <SwitchPreference + android:key="useTLSAuth" + android:summary="Enables the TLS Key Authentication" + android:title="@string/useTLSAuth" /> + + <Preference + android:dependency="useTLSAuth" + android:key="tlsAuthFile" + android:title="Title Auth File" /> + + <ListPreference + android:dependency="useTLSAuth" + android:dialogMessage="Select the direction for TLS Auth." + android:entries="@array/tls_directions" + android:entryValues="@array/tls_directions_entries" + android:key="tls_direction" + android:title="TLS Direction" + android:persistent="false"/> + </PreferenceCategory> </PreferenceScreen>
\ No newline at end of file |