Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
Alexandre Lision | f3a2c9d | 2014-01-06 11:12:53 -0500 | [diff] [blame] | 3 | Copyright (C) 2004-2014 Savoir-Faire Linux Inc. |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 4 | |
| 5 | Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com> |
| 6 | |
| 7 | This program is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation; either version 3 of the License, or |
| 10 | (at your option) any later version. |
| 11 | |
| 12 | This program is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | GNU General Public License for more details. |
| 16 | |
| 17 | You should have received a copy of the GNU General Public License |
| 18 | along with this program; if not, write to the Free Software |
| 19 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 20 | |
| 21 | Additional permission under GNU GPL version 3 section 7: |
| 22 | |
| 23 | If you modify this program, or any covered work, by linking or |
| 24 | combining it with the OpenSSL project's OpenSSL library (or a |
| 25 | modified version of that library), containing parts covered by the |
| 26 | terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc. |
| 27 | grants you additional permission to convey the resulting work. |
| 28 | Corresponding Source for a non-source form of such a combination |
| 29 | shall include the source code for the parts of OpenSSL used as well |
| 30 | as that of the covered work. |
| 31 | --> |
| 32 | |
Alexandre Lision | 382f684 | 2014-02-05 15:23:50 -0500 | [diff] [blame] | 33 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
| 34 | xmlns:app="http://schemas.android.com/apk/res/org.sflphone" > |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 35 | <CheckBoxPreference |
Alexandre Lision | 06412a3 | 2014-02-05 17:33:04 -0500 | [diff] [blame] | 36 | android:id="@+id/account_tls_switch_tls" |
Alexandre Lision | 8ad3959 | 2013-11-21 13:23:58 -0500 | [diff] [blame] | 37 | android:key="TLS.enable" |
Alexandre Lision | 06412a3 | 2014-02-05 17:33:04 -0500 | [diff] [blame] | 38 | android:title="@string/account_tls_transport_switch_label" /> |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 39 | |
| 40 | <EditTextPreference |
| 41 | android:id="@+id/account_tls_listener_port" |
| 42 | android:key="TLS.listenerPort" |
| 43 | android:persistent="false" |
Alexandre Lision | 06412a3 | 2014-02-05 17:33:04 -0500 | [diff] [blame] | 44 | android:title="@string/account_tls_port_label" /> |
Alexandre Lision | 8ad3959 | 2013-11-21 13:23:58 -0500 | [diff] [blame] | 45 | |
Alexandre Lision | 382f684 | 2014-02-05 15:23:50 -0500 | [diff] [blame] | 46 | <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 Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 58 | <Preference |
| 59 | android:id="@+id/account_tls_certificate_list_file" |
| 60 | android:key="TLS.certificateListFile" |
| 61 | android:persistent="false" |
Alexandre Lision | 06412a3 | 2014-02-05 17:33:04 -0500 | [diff] [blame] | 62 | android:title="@string/account_tls_certificate_list_label" /> |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 63 | <Preference |
| 64 | android:id="@+id/account_tls_certificate_file" |
| 65 | android:key="TLS.certificateFile" |
| 66 | android:persistent="false" |
Alexandre Lision | 06412a3 | 2014-02-05 17:33:04 -0500 | [diff] [blame] | 67 | android:title="@string/account_tls_certificate_file_label" /> |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 68 | <Preference |
| 69 | android:id="@+id/account_tls_private_key_file" |
| 70 | android:key="TLS.privateKeyFile" |
| 71 | android:persistent="false" |
Alexandre Lision | 06412a3 | 2014-02-05 17:33:04 -0500 | [diff] [blame] | 72 | android:title="@string/account_tls_private_key_file_label" /> |
Alexandre Lision | 8ad3959 | 2013-11-21 13:23:58 -0500 | [diff] [blame] | 73 | |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 74 | <EditTextPreference |
| 75 | android:id="@+id/account_tls_password" |
| 76 | android:key="TLS.password" |
| 77 | android:persistent="false" |
Alexandre Lision | 382f684 | 2014-02-05 15:23:50 -0500 | [diff] [blame] | 78 | android:singleLine="true" |
Alexandre Lision | 06412a3 | 2014-02-05 17:33:04 -0500 | [diff] [blame] | 79 | android:title="@string/account_tls_password_label" /> |
Alexandre Lision | 382f684 | 2014-02-05 15:23:50 -0500 | [diff] [blame] | 80 | <ListPreference |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 81 | android:id="@+id/account_tls_method" |
| 82 | android:key="TLS.method" |
Alexandre Lision | 382f684 | 2014-02-05 15:23:50 -0500 | [diff] [blame] | 83 | android:entries="@array/tls_methods_entries" |
| 84 | android:entryValues="@array/tls_methods_values" |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 85 | android:persistent="false" |
Alexandre Lision | 06412a3 | 2014-02-05 17:33:04 -0500 | [diff] [blame] | 86 | android:title="@string/account_tls_method_label" /> |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 87 | <EditTextPreference |
| 88 | android:id="@+id/account_tls_ciphers" |
| 89 | android:key="TLS.ciphers" |
| 90 | android:persistent="false" |
Alexandre Lision | 06412a3 | 2014-02-05 17:33:04 -0500 | [diff] [blame] | 91 | android:title="@string/account_tls_ciphers_label" /> |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 92 | <EditTextPreference |
| 93 | android:id="@+id/account_tls_server_name" |
| 94 | android:key="TLS.serverName" |
| 95 | android:persistent="false" |
Alexandre Lision | 382f684 | 2014-02-05 15:23:50 -0500 | [diff] [blame] | 96 | android:singleLine="true" |
Alexandre Lision | 06412a3 | 2014-02-05 17:33:04 -0500 | [diff] [blame] | 97 | android:title="@string/account_tls_server_name_label" /> |
| 98 | |
| 99 | <EditTextPreference |
| 100 | android:id="@+id/account_tls_timeout_sec" |
| 101 | android:key="TLS.negotiationTimeoutSec" |
| 102 | android:persistent="false" |
| 103 | android:title="@string/account_tls_negotiation_timeout_sec" /> |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 104 | |
| 105 | <CheckBoxPreference |
| 106 | android:id="@+id/account_tls_verify_server" |
| 107 | android:key="TLS.verifyServer" |
| 108 | android:persistent="false" |
Alexandre Lision | 06412a3 | 2014-02-05 17:33:04 -0500 | [diff] [blame] | 109 | android:title="@string/account_tls_verify_server_label" /> |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 110 | <CheckBoxPreference |
| 111 | android:id="@+id/account_tls_verify_client" |
| 112 | android:key="TLS.verifyClient" |
| 113 | android:persistent="false" |
Alexandre Lision | 06412a3 | 2014-02-05 17:33:04 -0500 | [diff] [blame] | 114 | android:title="@string/account_tls_verify_client_label" /> |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 115 | <CheckBoxPreference |
| 116 | android:id="@+id/account_tls_require_client_cert" |
| 117 | android:key="TLS.requireClientCertificate" |
| 118 | android:persistent="false" |
| 119 | android:title="TLS Require Client Certificate" /> |
| 120 | |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 121 | </PreferenceScreen> |