blob: 9151274f6643459b5791ceecb6ec71c90ccea36b [file] [log] [blame]
Alexandre Lisionc48c36a2013-11-12 16:26:10 -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 <PreferenceCategory
36 android:id="@+id/account_credentials_category"
37 android:title="Credentials" >
Alexandre Lision76592472013-11-12 17:38:52 -050038 <PreferenceScreen
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050039 android:id="@+id/account_credential_number"
Alexandre Lision76592472013-11-12 17:38:52 -050040 android:fragment="org.sflphone.fragments.AdvancedAccountFragment"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050041 android:key="Credential.count"
Alexandre Lision76592472013-11-12 17:38:52 -050042 android:title="Credential Number" >
43 <extra
44 android:name="someKey"
45 android:value="somePrefValue" />
46 </PreferenceScreen>
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050047 </PreferenceCategory>
48 <PreferenceCategory
49 android:id="@+id/account_security_category"
50 android:title="Security" >
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050051 <CheckBoxPreference
52 android:id="@+id/account_creation_tls_enable"
53 android:defaultValue="false"
54 android:key="TLS.enable"
55 android:persistent="false"
56 android:summaryOff="disabled"
57 android:summaryOn="enabled"
58 android:title="TLS Enabled" />
Alexandre Lision76592472013-11-12 17:38:52 -050059
60 <ListPreference
61 android:id="@+id/account_srtp_enable"
62 android:defaultValue="Deactivated"
63 android:key="SRTP.enable"
64 android:persistent="false"
65 android:summary="Deactivated"
66 android:title="SRTP Exchange" />
67
68 <PreferenceScreen
69 android:enabled="false"
70 android:title="SRTP Preferences" >
71 <CheckBoxPreference
72 android:id="@+id/account_creation_tls_enable"
73 android:defaultValue="false"
74 android:key="TLS.enable"
75 android:persistent="false"
76 android:summaryOff="disabled"
77 android:summaryOn="enabled"
78 android:title="TLS Enabled" />
79 <CheckBoxPreference
80 android:id="@+id/account_creation_tls_enable"
81 android:defaultValue="false"
82 android:key="TLS.enable"
83 android:persistent="false"
84 android:summaryOff="disabled"
85 android:summaryOn="enabled"
86 android:title="TLS Enabled" />
87 <CheckBoxPreference
88 android:id="@+id/account_creation_tls_enable"
89 android:defaultValue="false"
90 android:key="TLS.enable"
91 android:persistent="false"
92 android:summaryOff="disabled"
93 android:summaryOn="enabled"
94 android:title="TLS Enabled" />
95 <CheckBoxPreference
96 android:id="@+id/account_creation_tls_enable"
97 android:defaultValue="false"
98 android:key="TLS.enable"
99 android:persistent="false"
100 android:summaryOff="disabled"
101 android:summaryOn="enabled"
102 android:title="TLS Enabled" />
103 </PreferenceScreen>
Alexandre Lisionc48c36a2013-11-12 16:26:10 -0500104 </PreferenceCategory>
105 <!-- <CheckBoxPreference -->
106 <!-- android:id="@+id/account_creation_srtp_key_exchange" -->
107 <!-- android:key="SRTP.keyExchange" -->
108 <!-- android:persistent="false" -->
109 <!-- android:defaultValue="false" -->
110 <!-- android:title="SRTP Key Exchange" -->
111 <!-- android:summaryOn="enabled" -->
112 <!-- android:summaryOff="disabled"/> -->
113
114
115 <!-- <CheckBoxPreference -->
116 <!-- android:id="@+id/account_creation_srtp_rtp_fallback" -->
117 <!-- android:key="SRTP.rtpFallback" -->
118 <!-- android:persistent="false" -->
119 <!-- android:defaultValue="false" -->
120 <!-- android:title="SRTP RTP Fallback" -->
121 <!-- android:summaryOn="enabled" -->
122 <!-- android:summaryOff="disabled"/> -->
123 <!-- <CheckBoxPreference -->
124 <!-- android:id="@+id/account_creation_srtp_hello_hash" -->
125 <!-- android:key="ZRTP.helloHashEnable" -->
126 <!-- android:persistent="false" -->
127 <!-- android:defaultValue="disabled" -->
128 <!-- android:title="ZRTP Hello Hash" -->
129 <!-- android:summaryOn="enabled" -->
130 <!-- android:summaryOff="disabled"/> -->
131 <!-- <CheckBoxPreference -->
132 <!-- android:id="@+id/account_creation_srtp_display_sas" -->
133 <!-- android:key="ZRTP.displaySAS" -->
134 <!-- android:persistent="false" -->
135 <!-- android:defaultValue="false" -->
136 <!-- android:title="ZRTP Display SAS" -->
137 <!-- android:summaryOn="enabled" -->
138 <!-- android:summaryOff="disabled"/> -->
139 <!-- <CheckBoxPreference -->
140 <!-- android:id="@+id/account_creation_srtp_supported_warning" -->
141 <!-- android:key="ZRTP.notSuppWarning" -->
142 <!-- android:persistent="false" -->
143 <!-- android:defaultValue="false" -->
144 <!-- android:title="ZRTP Not Supported Warning" -->
145 <!-- android:summaryOn="enabled" -->
146 <!-- android:summaryOff="disabled"/> -->
147 <!-- <CheckBoxPreference -->
148 <!-- android:id="@+id/account_creation_srtp_displaysas_once" -->
149 <!-- android:key="ZRTP.displaySasOnce" -->
150 <!-- android:persistent="false" -->
151 <!-- android:defaultValue="false" -->
152 <!-- android:title="ZRTP Display SAS Once" -->
153 <!-- android:summaryOn="enabled" -->
154 <!-- android:summaryOff="disabled"/> -->
155
156 <PreferenceCategory>
157 </PreferenceCategory>
158 <!-- <PreferenceCategory -->
159 <!-- android:id="@+id/account_tls_category" -->
160 <!-- android:title="TLS settings"> -->
161
162
163 <!-- <EditTextPreference -->
164 <!-- android:id="@+id/account_creation_tls_listener_port" -->
165 <!-- android:key="TLS.listenerPort" -->
166 <!-- android:persistent="false" -->
167 <!-- android:defaultValue="5061" -->
168 <!-- android:title="Listener Port" -->
169 <!-- android:summary="5061"/> -->
170 <!-- <EditTextPreference -->
171 <!-- android:id="@+id/account_creation_tls_certificate_list_file" -->
172 <!-- android:key="TLS.certificateListFile" -->
173 <!-- android:persistent="false" -->
174 <!-- android:defaultValue="" -->
175 <!-- android:title="TLS Certificate List File" -->
176 <!-- android:summary=""/> -->
177 <!-- <EditTextPreference -->
178 <!-- android:id="@+id/account_creation_tls_certificate_file" -->
179 <!-- android:key="TLS.certificateFile" -->
180 <!-- android:persistent="false" -->
181 <!-- android:defaultValue="" -->
182 <!-- android:title="TLS Certificate File" -->
183 <!-- android:summary=""/> -->
184 <!-- <EditTextPreference -->
185 <!-- android:id="@+id/account_creation_tls_private_key_file" -->
186 <!-- android:key="TLS.privateKeyFile" -->
187 <!-- android:persistent="false" -->
188 <!-- android:defaultValue="disabled" -->
189 <!-- android:title="TLS Private Key File" -->
190 <!-- android:summary="disabled"/> -->
191 <!-- <EditTextPreference -->
192 <!-- android:id="@+id/account_creation_tls_password" -->
193 <!-- android:key="TLS.password" -->
194 <!-- android:persistent="false" -->
195 <!-- android:defaultValue="" -->
196 <!-- android:title="TLS Password" -->
197 <!-- android:summary=""/> -->
198 <!-- <EditTextPreference -->
199 <!-- android:id="@+id/account_creation_tls_method" -->
200 <!-- android:key="TLS.method" -->
201 <!-- android:persistent="false" -->
202 <!-- android:defaultValue="" -->
203 <!-- android:title="TLS Method" -->
204 <!-- android:summary=""/> -->
205 <!-- <EditTextPreference -->
206 <!-- android:id="@+id/account_creation_tls_ciphers" -->
207 <!-- android:key="TLS.ciphers" -->
208 <!-- android:persistent="false" -->
209 <!-- android:defaultValue="" -->
210 <!-- android:title="TLS Ciphers" -->
211 <!-- android:summary=""/> -->
212 <!-- <EditTextPreference -->
213 <!-- android:id="@+id/account_creation_tls_server_name" -->
214 <!-- android:key="TLS.serverName" -->
215 <!-- android:persistent="false" -->
216 <!-- android:defaultValue="" -->
217 <!-- android:title="TLS Server Name" -->
218 <!-- android:summary=""/> -->
219 <!-- <CheckBoxPreference -->
220 <!-- android:id="@+id/account_creation_tls_verify_server" -->
221 <!-- android:key="TLS.verifyServer" -->
222 <!-- android:persistent="false" -->
223 <!-- android:defaultValue="false" -->
224 <!-- android:title="TLS Verify Server" -->
225 <!-- android:summaryOn="enabled" -->
226 <!-- android:summaryOff="disabled"/> -->
227 <!-- <CheckBoxPreference -->
228 <!-- android:id="@+id/account_creation_tls_verify_client" -->
229 <!-- android:key="TLS.verifyClient" -->
230 <!-- android:persistent="false" -->
231 <!-- android:defaultValue="false" -->
232 <!-- android:title="TLS Verify Client" -->
233 <!-- android:summaryOn="enabled" -->
234 <!-- android:summaryOff="disabled"/> -->
235 <!-- <CheckBoxPreference -->
236 <!-- android:id="@+id/account_creation_tls_require_client_cert" -->
237 <!-- android:key="TLS.requireClientCertificate" -->
238 <!-- android:persistent="false" -->
239 <!-- android:defaultValue="false" -->
240 <!-- android:title="TLS Require Client Certificate" -->
241 <!-- android:summaryOn="enabled" -->
242 <!-- android:summaryOff="disabled"/> -->
243 <!-- <EditTextPreference -->
244 <!-- android:id="@+id/account_creation_tls_timeout_sec" -->
245 <!-- android:key="TLS.negotiationTimeoutSec" -->
246 <!-- android:persistent="false" -->
247 <!-- android:defaultValue="60" -->
248 <!-- android:title="TLS Timeout Sec" -->
249 <!-- android:summary="60"/> -->
250 <!-- <EditTextPreference -->
251 <!-- android:id="@+id/account_creation_tls_timeout_msec" -->
252 <!-- android:key="TLS.negotiationTimeoutMsec" -->
253 <!-- android:persistent="false" -->
254 <!-- android:defaultValue="0" -->
255 <!-- android:title="TLS Timeout Msec" -->
256 <!-- android:summary="0"/> -->
257 <!-- </PreferenceCategory> -->
258
259</PreferenceScreen>