blob: ac2da3b16adc6736e9e63e18377f97cbb0f59ddb [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
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 Lision382f6842014-02-05 15:23:50 -050046 <org.sflphone.views.DoubleNumberPickerPreference
47 android:id="@+id/account_registration_expire"
48 android:key="Account.registrationExpire"
49 android:persistent="false"
50 android:title="@string/account_tls_port_label"
51 app:defaultValue1="6"
52 app:defaultValue2="0"
53 app:max1="99"
54 app:max2="99"
55 app:min1="1"
56 app:min2="0" />
57
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"
62 android:title="TLS Certificate List File" />
63 <Preference
64 android:id="@+id/account_tls_certificate_file"
65 android:key="TLS.certificateFile"
66 android:persistent="false"
67 android:title="TLS Certificate File" />
68 <Preference
69 android:id="@+id/account_tls_private_key_file"
70 android:key="TLS.privateKeyFile"
71 android:persistent="false"
72 android:title="TLS Private Key File" />
Alexandre Lision8ad39592013-11-21 13:23:58 -050073
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050074 <EditTextPreference
75 android:id="@+id/account_tls_password"
76 android:key="TLS.password"
77 android:persistent="false"
Alexandre Lision382f6842014-02-05 15:23:50 -050078 android:singleLine="true"
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050079 android:title="TLS Password" />
Alexandre Lision382f6842014-02-05 15:23:50 -050080 <ListPreference
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050081 android:id="@+id/account_tls_method"
82 android:key="TLS.method"
Alexandre Lision382f6842014-02-05 15:23:50 -050083 android:entries="@array/tls_methods_entries"
84 android:entryValues="@array/tls_methods_values"
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050085 android:persistent="false"
86 android:title="TLS Method" />
87 <EditTextPreference
88 android:id="@+id/account_tls_ciphers"
89 android:key="TLS.ciphers"
90 android:persistent="false"
91 android:title="TLS Ciphers" />
92 <EditTextPreference
93 android:id="@+id/account_tls_server_name"
94 android:key="TLS.serverName"
95 android:persistent="false"
Alexandre Lision382f6842014-02-05 15:23:50 -050096 android:singleLine="true"
Alexandre Lisiondd5d8de2013-11-18 16:26:14 -050097 android:title="TLS Server Name" />
98
99 <CheckBoxPreference
100 android:id="@+id/account_tls_verify_server"
101 android:key="TLS.verifyServer"
102 android:persistent="false"
103 android:title="TLS Verify Server" />
104 <CheckBoxPreference
105 android:id="@+id/account_tls_verify_client"
106 android:key="TLS.verifyClient"
107 android:persistent="false"
108 android:title="TLS Verify Client" />
109 <CheckBoxPreference
110 android:id="@+id/account_tls_require_client_cert"
111 android:key="TLS.requireClientCertificate"
112 android:persistent="false"
113 android:title="TLS Require Client Certificate" />
114
115 <EditTextPreference
116 android:id="@+id/account_tls_timeout_sec"
117 android:key="TLS.negotiationTimeoutSec"
118 android:persistent="false"
119 android:title="TLS Timeout Sec" />
120 <EditTextPreference
121 android:id="@+id/account_tls_timeout_msec"
122 android:key="TLS.negotiationTimeoutMsec"
123 android:persistent="false"
124 android:title="TLS Timeout Msec" />
125
126</PreferenceScreen>