Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2004-2013 Savoir-Faire Linux Inc. |
| 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 | |
| 33 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > |
| 34 | |
| 35 | <CheckBoxPreference |
| 36 | android:id="@+id/account_tls_verify_client" |
Alexandre Lision | 8ad3959 | 2013-11-21 13:23:58 -0500 | [diff] [blame] | 37 | android:key="TLS.enable" |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 38 | 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 Lision | 8ad3959 | 2013-11-21 13:23:58 -0500 | [diff] [blame] | 45 | |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 46 | <Preference |
| 47 | android:id="@+id/account_tls_certificate_list_file" |
| 48 | android:key="TLS.certificateListFile" |
| 49 | android:persistent="false" |
| 50 | android:title="TLS Certificate List File" /> |
| 51 | <Preference |
| 52 | android:id="@+id/account_tls_certificate_file" |
| 53 | android:key="TLS.certificateFile" |
| 54 | android:persistent="false" |
| 55 | android:title="TLS Certificate File" /> |
| 56 | <Preference |
| 57 | android:id="@+id/account_tls_private_key_file" |
| 58 | android:key="TLS.privateKeyFile" |
| 59 | android:persistent="false" |
| 60 | android:title="TLS Private Key File" /> |
Alexandre Lision | 8ad3959 | 2013-11-21 13:23:58 -0500 | [diff] [blame] | 61 | |
Alexandre Lision | dd5d8de | 2013-11-18 16:26:14 -0500 | [diff] [blame] | 62 | <EditTextPreference |
| 63 | android:id="@+id/account_tls_password" |
| 64 | android:key="TLS.password" |
| 65 | android:persistent="false" |
| 66 | android:title="TLS Password" /> |
| 67 | <EditTextPreference |
| 68 | android:id="@+id/account_tls_method" |
| 69 | android:key="TLS.method" |
| 70 | android:persistent="false" |
| 71 | android:title="TLS Method" /> |
| 72 | <EditTextPreference |
| 73 | android:id="@+id/account_tls_ciphers" |
| 74 | android:key="TLS.ciphers" |
| 75 | android:persistent="false" |
| 76 | android:title="TLS Ciphers" /> |
| 77 | <EditTextPreference |
| 78 | android:id="@+id/account_tls_server_name" |
| 79 | android:key="TLS.serverName" |
| 80 | android:persistent="false" |
| 81 | android:title="TLS Server Name" /> |
| 82 | |
| 83 | <CheckBoxPreference |
| 84 | android:id="@+id/account_tls_verify_server" |
| 85 | android:key="TLS.verifyServer" |
| 86 | android:persistent="false" |
| 87 | android:title="TLS Verify Server" /> |
| 88 | <CheckBoxPreference |
| 89 | android:id="@+id/account_tls_verify_client" |
| 90 | android:key="TLS.verifyClient" |
| 91 | android:persistent="false" |
| 92 | android:title="TLS Verify Client" /> |
| 93 | <CheckBoxPreference |
| 94 | android:id="@+id/account_tls_require_client_cert" |
| 95 | android:key="TLS.requireClientCertificate" |
| 96 | android:persistent="false" |
| 97 | android:title="TLS Require Client Certificate" /> |
| 98 | |
| 99 | <EditTextPreference |
| 100 | android:id="@+id/account_tls_timeout_sec" |
| 101 | android:key="TLS.negotiationTimeoutSec" |
| 102 | android:persistent="false" |
| 103 | android:title="TLS Timeout Sec" /> |
| 104 | <EditTextPreference |
| 105 | android:id="@+id/account_tls_timeout_msec" |
| 106 | android:key="TLS.negotiationTimeoutMsec" |
| 107 | android:persistent="false" |
| 108 | android:title="TLS Timeout Msec" /> |
| 109 | |
| 110 | </PreferenceScreen> |