blob: 3bc31398b9967d5e1957e29fdc65d7ba6f5a3972 [file] [log] [blame]
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -05001<?xml version="1.0" encoding="utf-8"?>
2<!--
3Copyright (C) 2004-2013 Savoir-Faire Linux Inc.
4
5Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
6
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 3 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21Additional permission under GNU GPL version 3 section 7:
22
23If you modify this program, or any covered work, by linking or
24combining it with the OpenSSL project's OpenSSL library (or a
25modified version of that library), containing parts covered by the
26terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
27grants you additional permission to convey the resulting work.
28Corresponding Source for a non-source form of such a combination
29shall include the source code for the parts of OpenSSL used as well
30as that of the covered work.
31-->
32
33<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
34
35 <CheckBoxPreference
36 android:id="@+id/account_tls_verify_client"
37 android:defaultValue="false"
38 android:key="TLS.verifyClient"
39 android:persistent="false"
40 android:summaryOff="disabled"
41 android:summaryOn="enabled"
42 android:title="Use TLS Transport" />
43
44 <EditTextPreference
45 android:id="@+id/account_tls_listener_port"
46 android:key="TLS.listenerPort"
47 android:persistent="false"
48 android:title="Listener Port" />
49 <Preference
50 android:id="@+id/account_tls_certificate_list_file"
51 android:key="TLS.certificateListFile"
52 android:persistent="false"
53 android:title="TLS Certificate List File" />
54 <Preference
55 android:id="@+id/account_tls_certificate_file"
56 android:key="TLS.certificateFile"
57 android:persistent="false"
58 android:title="TLS Certificate File" />
59 <Preference
60 android:id="@+id/account_tls_private_key_file"
61 android:key="TLS.privateKeyFile"
62 android:persistent="false"
63 android:title="TLS Private Key File" />
64 <EditTextPreference
65 android:id="@+id/account_tls_password"
66 android:key="TLS.password"
67 android:persistent="false"
68 android:title="TLS Password" />
69 <EditTextPreference
70 android:id="@+id/account_tls_method"
71 android:key="TLS.method"
72 android:persistent="false"
73 android:title="TLS Method" />
74 <EditTextPreference
75 android:id="@+id/account_tls_ciphers"
76 android:key="TLS.ciphers"
77 android:persistent="false"
78 android:title="TLS Ciphers" />
79 <EditTextPreference
80 android:id="@+id/account_tls_server_name"
81 android:key="TLS.serverName"
82 android:persistent="false"
83 android:title="TLS Server Name" />
84
85 <CheckBoxPreference
86 android:id="@+id/account_tls_verify_server"
87 android:key="TLS.verifyServer"
88 android:persistent="false"
89 android:title="TLS Verify Server" />
90 <CheckBoxPreference
91 android:id="@+id/account_tls_verify_client"
92 android:key="TLS.verifyClient"
93 android:persistent="false"
94 android:title="TLS Verify Client" />
95 <CheckBoxPreference
96 android:id="@+id/account_tls_require_client_cert"
97 android:key="TLS.requireClientCertificate"
98 android:persistent="false"
99 android:title="TLS Require Client Certificate" />
100
101 <EditTextPreference
102 android:id="@+id/account_tls_timeout_sec"
103 android:key="TLS.negotiationTimeoutSec"
104 android:persistent="false"
105 android:title="TLS Timeout Sec" />
106 <EditTextPreference
107 android:id="@+id/account_tls_timeout_msec"
108 android:key="TLS.negotiationTimeoutMsec"
109 android:persistent="false"
110 android:title="TLS Timeout Msec" />
111
112</PreferenceScreen>