blob: 39c484988e995e2ce9925df95d82843c5eb51e2c [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"
Alexandre Lision8ad39592013-11-21 13:23:58 -050037 android:key="TLS.enable"
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050038 android:title="Use TLS Transport" />
39
40 <EditTextPreference
41 android:id="@+id/account_tls_listener_port"
42 android:key="TLS.listenerPort"
43 android:persistent="false"
44 android:title="Listener Port" />
Alexandre Lision8ad39592013-11-21 13:23:58 -050045
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050046 <Preference
47 android:id="@+id/account_tls_certificate_list_file"
48 android:key="TLS.certificateListFile"
49 android:persistent="false"
50 android:title="TLS Certificate List File" />
51 <Preference
52 android:id="@+id/account_tls_certificate_file"
53 android:key="TLS.certificateFile"
54 android:persistent="false"
55 android:title="TLS Certificate File" />
56 <Preference
57 android:id="@+id/account_tls_private_key_file"
58 android:key="TLS.privateKeyFile"
59 android:persistent="false"
60 android:title="TLS Private Key File" />
Alexandre Lision8ad39592013-11-21 13:23:58 -050061
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050062 <EditTextPreference
63 android:id="@+id/account_tls_password"
64 android:key="TLS.password"
65 android:persistent="false"
66 android:title="TLS Password" />
67 <EditTextPreference
68 android:id="@+id/account_tls_method"
69 android:key="TLS.method"
70 android:persistent="false"
71 android:title="TLS Method" />
72 <EditTextPreference
73 android:id="@+id/account_tls_ciphers"
74 android:key="TLS.ciphers"
75 android:persistent="false"
76 android:title="TLS Ciphers" />
77 <EditTextPreference
78 android:id="@+id/account_tls_server_name"
79 android:key="TLS.serverName"
80 android:persistent="false"
81 android:title="TLS Server Name" />
82
83 <CheckBoxPreference
84 android:id="@+id/account_tls_verify_server"
85 android:key="TLS.verifyServer"
86 android:persistent="false"
87 android:title="TLS Verify Server" />
88 <CheckBoxPreference
89 android:id="@+id/account_tls_verify_client"
90 android:key="TLS.verifyClient"
91 android:persistent="false"
92 android:title="TLS Verify Client" />
93 <CheckBoxPreference
94 android:id="@+id/account_tls_require_client_cert"
95 android:key="TLS.requireClientCertificate"
96 android:persistent="false"
97 android:title="TLS Require Client Certificate" />
98
99 <EditTextPreference
100 android:id="@+id/account_tls_timeout_sec"
101 android:key="TLS.negotiationTimeoutSec"
102 android:persistent="false"
103 android:title="TLS Timeout Sec" />
104 <EditTextPreference
105 android:id="@+id/account_tls_timeout_msec"
106 android:key="TLS.negotiationTimeoutMsec"
107 android:persistent="false"
108 android:title="TLS Timeout Msec" />
109
110</PreferenceScreen>