blob: e968f9f7a20a386e32db9392a8ab1aaba22ff9b1 [file] [log] [blame]
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -05001<?xml version="1.0" encoding="utf-8"?>
2<!--
Alexandre Lisionf3a2c9d2014-01-06 11:12:53 -05003Copyright (C) 2004-2014 Savoir-Faire Linux Inc.
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -05004
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
Alexandre Lision382f6842014-02-05 15:23:50 -050033<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
34 xmlns:app="http://schemas.android.com/apk/res/org.sflphone" >
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050035 <CheckBoxPreference
Alexandre Lision06412a32014-02-05 17:33:04 -050036 android:id="@+id/account_tls_switch_tls"
Alexandre Lision8ad39592013-11-21 13:23:58 -050037 android:key="TLS.enable"
Alexandre Lision06412a32014-02-05 17:33:04 -050038 android:title="@string/account_tls_transport_switch_label" />
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050039
Alexandre Lision382f6842014-02-05 15:23:50 -050040 <org.sflphone.views.DoubleNumberPickerPreference
41 android:id="@+id/account_registration_expire"
Alexandre Lision7846e4f2014-04-15 15:35:23 -040042 android:key="TLS.listenerPort"
Alexandre Lision382f6842014-02-05 15:23:50 -050043 android:persistent="false"
44 android:title="@string/account_tls_port_label"
45 app:defaultValue1="6"
46 app:defaultValue2="0"
47 app:max1="99"
48 app:max2="99"
49 app:min1="1"
50 app:min2="0" />
51
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050052 <Preference
53 android:id="@+id/account_tls_certificate_list_file"
54 android:key="TLS.certificateListFile"
55 android:persistent="false"
Alexandre Lision06412a32014-02-05 17:33:04 -050056 android:title="@string/account_tls_certificate_list_label" />
Alexandre Lision1e61e302014-04-10 15:05:03 -040057
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050058 <Preference
59 android:id="@+id/account_tls_certificate_file"
60 android:key="TLS.certificateFile"
61 android:persistent="false"
Alexandre Lision06412a32014-02-05 17:33:04 -050062 android:title="@string/account_tls_certificate_file_label" />
Alexandre Lision21906ba2014-04-15 17:11:08 -040063
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050064 <Preference
65 android:id="@+id/account_tls_private_key_file"
66 android:key="TLS.privateKeyFile"
67 android:persistent="false"
Alexandre Lision06412a32014-02-05 17:33:04 -050068 android:title="@string/account_tls_private_key_file_label" />
Alexandre Lision8ad39592013-11-21 13:23:58 -050069
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050070 <EditTextPreference
71 android:id="@+id/account_tls_password"
72 android:key="TLS.password"
73 android:persistent="false"
Alexandre Lision382f6842014-02-05 15:23:50 -050074 android:singleLine="true"
Alexandre Lision06412a32014-02-05 17:33:04 -050075 android:title="@string/account_tls_password_label" />
Alexandre Lision21906ba2014-04-15 17:11:08 -040076
Alexandre Lision382f6842014-02-05 15:23:50 -050077 <ListPreference
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050078 android:id="@+id/account_tls_method"
79 android:key="TLS.method"
80 android:persistent="false"
Alexandre Lision06412a32014-02-05 17:33:04 -050081 android:title="@string/account_tls_method_label" />
Alexandre Lision21906ba2014-04-15 17:11:08 -040082
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050083 <EditTextPreference
84 android:id="@+id/account_tls_ciphers"
85 android:key="TLS.ciphers"
86 android:persistent="false"
Alexandre Lision06412a32014-02-05 17:33:04 -050087 android:title="@string/account_tls_ciphers_label" />
Alexandre Lision21906ba2014-04-15 17:11:08 -040088
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050089 <EditTextPreference
90 android:id="@+id/account_tls_server_name"
91 android:key="TLS.serverName"
92 android:persistent="false"
Alexandre Lision382f6842014-02-05 15:23:50 -050093 android:singleLine="true"
Alexandre Lision06412a32014-02-05 17:33:04 -050094 android:title="@string/account_tls_server_name_label" />
95
Alexandre Lision21906ba2014-04-15 17:11:08 -040096 <org.sflphone.views.NumberPickerPreference
Alexandre Lision1e61e302014-04-10 15:05:03 -040097 android:id="@+id/account_tls_timeout_sec"
98 android:key="TLS.negotiationTimeoutSec"
99 android:persistent="false"
100 android:title="@string/account_tls_negotiation_timeout_sec" />
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -0500101
102 <CheckBoxPreference
103 android:id="@+id/account_tls_verify_server"
104 android:key="TLS.verifyServer"
105 android:persistent="false"
Alexandre Lision06412a32014-02-05 17:33:04 -0500106 android:title="@string/account_tls_verify_server_label" />
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -0500107 <CheckBoxPreference
108 android:id="@+id/account_tls_verify_client"
109 android:key="TLS.verifyClient"
110 android:persistent="false"
Alexandre Lision06412a32014-02-05 17:33:04 -0500111 android:title="@string/account_tls_verify_client_label" />
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -0500112 <CheckBoxPreference
113 android:id="@+id/account_tls_require_client_cert"
114 android:key="TLS.requireClientCertificate"
115 android:persistent="false"
116 android:title="TLS Require Client Certificate" />
117
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -0500118</PreferenceScreen>