summaryrefslogtreecommitdiff
path: root/res/xml
diff options
context:
space:
mode:
authorschwabe <none@none>2012-04-28 19:58:02 +0200
committerschwabe <none@none>2012-04-28 19:58:02 +0200
commit6dbfffefaf70609ac5bb7b3ebd71a0258427360a (patch)
tree84a00021ec486093b406ec050087ee486f6e6958 /res/xml
parent6f74ca80d395542ae92e7e9eb97af11aa4c706bd (diff)
Almost ready for version 0.4
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/vpn_authentification.xml27
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. &quot;Server&quot; matches &quot;Server-1&quot; and &quot;Server-2&quot;"
- 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. &quot;Server&quot; matches &quot;Server-1&quot; and &quot;Server-2&quot;\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