summaryrefslogtreecommitdiff
path: root/res/xml/vpn_authentification.xml
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-04-27 23:24:49 +0200
committerArne Schwabe <arne@rfc2549.org>2012-04-27 23:24:49 +0200
commit6f74ca80d395542ae92e7e9eb97af11aa4c706bd (patch)
tree8506351e5a3e9904c70c881b1d13b2a1d1030383 /res/xml/vpn_authentification.xml
parenta9bd49391b200d24515f8da54d2e69d589da721a (diff)
it is not getIntent() nor savedState nor other fancy stuff, getArgument() is what I want
Diffstat (limited to 'res/xml/vpn_authentification.xml')
-rw-r--r--res/xml/vpn_authentification.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/res/xml/vpn_authentification.xml b/res/xml/vpn_authentification.xml
index 949093d6..3781211f 100644
--- a/res/xml/vpn_authentification.xml
+++ b/res/xml/vpn_authentification.xml
@@ -5,7 +5,15 @@
android:key="remoteServerTLS"
android:summary="Checks whether the server uses a TLS Server Certificate"
android:title="Except TLS Server" />
+ <CheckBoxPreference
+ android:key="checkRemoteCN"
+ android:summary="Checks the Remote Server Certificate CN against a String"
+ android:title="Certificate Hostname Check" />
+
+ <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"/>
-
- <CheckBoxPreference android:key="useTLSAuth"/>
</PreferenceScreen> \ No newline at end of file