blob: dd064725214ea5b7bba338ec0a3654b091cd0f0a [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 Lisionc8397da2014-04-16 15:03:22 -040040 <org.sflphone.views.QuadNumberPickerPreference
41 android:id="@+id/account_tls_port"
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"
Alexandre Lisionc8397da2014-04-16 15:03:22 -040045 app:defaultValue1="5"
Alexandre Lision382f6842014-02-05 15:23:50 -050046 app:defaultValue2="0"
Alexandre Lisionc8397da2014-04-16 15:03:22 -040047 app:defaultValue3="6"
48 app:defaultValue4="1"
Alexandre Lision382f6842014-02-05 15:23:50 -050049 app:max1="99"
Alexandre Lisionc8397da2014-04-16 15:03:22 -040050 app:max2="9"
51 app:max3="9"
52 app:max4="9"
53 app:min1="0"
54 app:min2="0"
55 app:min3="0"
56 app:min4="0" />
Alexandre Lision382f6842014-02-05 15:23:50 -050057
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050058 <Preference
59 android:id="@+id/account_tls_certificate_list_file"
60 android:key="TLS.certificateListFile"
61 android:persistent="false"
Alexandre Lision06412a32014-02-05 17:33:04 -050062 android:title="@string/account_tls_certificate_list_label" />
Alexandre Lision1e61e302014-04-10 15:05:03 -040063
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050064 <Preference
65 android:id="@+id/account_tls_certificate_file"
66 android:key="TLS.certificateFile"
67 android:persistent="false"
Alexandre Lision06412a32014-02-05 17:33:04 -050068 android:title="@string/account_tls_certificate_file_label" />
Alexandre Lision21906ba2014-04-15 17:11:08 -040069
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050070 <Preference
71 android:id="@+id/account_tls_private_key_file"
72 android:key="TLS.privateKeyFile"
73 android:persistent="false"
Alexandre Lision06412a32014-02-05 17:33:04 -050074 android:title="@string/account_tls_private_key_file_label" />
Alexandre Lision8ad39592013-11-21 13:23:58 -050075
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050076 <EditTextPreference
77 android:id="@+id/account_tls_password"
78 android:key="TLS.password"
79 android:persistent="false"
Alexandre Lision382f6842014-02-05 15:23:50 -050080 android:singleLine="true"
Alexandre Lision06412a32014-02-05 17:33:04 -050081 android:title="@string/account_tls_password_label" />
Alexandre Lision21906ba2014-04-15 17:11:08 -040082
Alexandre Lision382f6842014-02-05 15:23:50 -050083 <ListPreference
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050084 android:id="@+id/account_tls_method"
85 android:key="TLS.method"
86 android:persistent="false"
Alexandre Lision06412a32014-02-05 17:33:04 -050087 android:title="@string/account_tls_method_label" />
Alexandre Lision21906ba2014-04-15 17:11:08 -040088
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050089 <EditTextPreference
90 android:id="@+id/account_tls_ciphers"
91 android:key="TLS.ciphers"
92 android:persistent="false"
Alexandre Lision06412a32014-02-05 17:33:04 -050093 android:title="@string/account_tls_ciphers_label" />
Alexandre Lision21906ba2014-04-15 17:11:08 -040094
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050095 <EditTextPreference
96 android:id="@+id/account_tls_server_name"
97 android:key="TLS.serverName"
98 android:persistent="false"
Alexandre Lision382f6842014-02-05 15:23:50 -050099 android:singleLine="true"
Alexandre Lision06412a32014-02-05 17:33:04 -0500100 android:title="@string/account_tls_server_name_label" />
101
Alexandre Lision21906ba2014-04-15 17:11:08 -0400102 <org.sflphone.views.NumberPickerPreference
Alexandre Lision1e61e302014-04-10 15:05:03 -0400103 android:id="@+id/account_tls_timeout_sec"
104 android:key="TLS.negotiationTimeoutSec"
105 android:persistent="false"
106 android:title="@string/account_tls_negotiation_timeout_sec" />
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -0500107
108 <CheckBoxPreference
109 android:id="@+id/account_tls_verify_server"
110 android:key="TLS.verifyServer"
111 android:persistent="false"
Alexandre Lision06412a32014-02-05 17:33:04 -0500112 android:title="@string/account_tls_verify_server_label" />
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -0500113 <CheckBoxPreference
114 android:id="@+id/account_tls_verify_client"
115 android:key="TLS.verifyClient"
116 android:persistent="false"
Alexandre Lision06412a32014-02-05 17:33:04 -0500117 android:title="@string/account_tls_verify_client_label" />
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -0500118 <CheckBoxPreference
119 android:id="@+id/account_tls_require_client_cert"
120 android:key="TLS.requireClientCertificate"
121 android:persistent="false"
122 android:title="TLS Require Client Certificate" />
123
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -0500124</PreferenceScreen>