1 <?xml version=
"1.0" encoding=
"utf-8"?>
3 ownCloud Android client application
5 Copyright (C)
2012-
2013 ownCloud Inc.
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version
2,
9 as published by the Free Software Foundation.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see
<http://www.gnu.org/licenses
/>.
19 <LinearLayout xmlns:
android=
"http://schemas.android.com/apk/res/android"
20 android:
id=
"@+id/root"
21 android:
layout_width=
"wrap_content"
22 android:
layout_height=
"wrap_content"
23 android:
gravity=
"center"
24 android:
orientation=
"vertical" >
27 android:
id=
"@+id/untrusted_header"
28 android:
layout_width=
"wrap_content"
29 android:
layout_height=
"wrap_content"
30 android:
text=
"@string/ssl_validator_header"
32 android:
textAppearance=
"?android:attr/textAppearanceMedium"
36 android:
id=
"@+id/untrusted_reason_cert_not_trusted"
37 android:
layout_width=
"wrap_content"
38 android:
layout_height=
"wrap_content"
39 android:
layout_gravity=
"left"
40 android:
paddingLeft=
"20dp"
41 android:
text=
"@string/ssl_validator_reason_cert_not_trusted"
42 android:
textAppearance=
"?android:attr/textAppearanceSmall"
46 android:
id=
"@+id/untrusted_details_scroll"
47 android:
visibility=
"gone"
48 android:
padding=
"20dp"
49 android:
layout_width=
"wrap_content"
50 android:
layout_height=
"180dp">
53 android:
id=
"@+id/untrusted_details_view"
54 android:
layout_width=
"wrap_content"
55 android:
layout_height=
"wrap_content"
56 android:
gravity=
"left"
57 android:
orientation=
"vertical" >
60 android:
id=
"@+id/untrusted_null_cert"
61 android:
layout_width=
"wrap_content"
62 android:
layout_height=
"wrap_content"
63 android:
layout_gravity=
"left"
64 android:
paddingLeft=
"20dp"
65 android:
text=
"@string/ssl_validator_null_cert"
66 android:
textAppearance=
"?android:attr/textAppearanceSmall" />
69 android:
id=
"@+id/untrusted_label_subject"
70 android:
layout_width=
"wrap_content"
71 android:
layout_height=
"wrap_content"
72 android:
paddingBottom=
"5dp"
73 android:
text=
"@string/ssl_validator_label_subject"
74 android:
textAppearance=
"?android:attr/textAppearanceMedium"
78 android:
id=
"@+id/untrusted_label_subject_CN"
79 android:
layout_width=
"wrap_content"
80 android:
layout_height=
"wrap_content"
81 android:
text=
"@string/ssl_validator_label_CN"
82 android:
textAppearance=
"?android:attr/textAppearanceSmall"
86 android:
id=
"@+id/untrusted_value_subject_CN"
87 android:
layout_width=
"wrap_content"
88 android:
layout_height=
"wrap_content"
89 android:
paddingBottom=
"5dp"
91 android:
textAppearance=
"?android:attr/textAppearanceSmall"
95 android:
id=
"@+id/untrusted_label_subject_O"
96 android:
layout_width=
"wrap_content"
97 android:
layout_height=
"wrap_content"
98 android:
text=
"@string/ssl_validator_label_O"
99 android:
textAppearance=
"?android:attr/textAppearanceSmall"
103 android:
id=
"@+id/untrusted_value_subject_O"
104 android:
layout_width=
"wrap_content"
105 android:
layout_height=
"wrap_content"
106 android:
paddingBottom=
"5dp"
108 android:
textAppearance=
"?android:attr/textAppearanceSmall"
112 android:
id=
"@+id/untrusted_label_subject_OU"
113 android:
layout_width=
"wrap_content"
114 android:
layout_height=
"wrap_content"
115 android:
text=
"@string/ssl_validator_label_OU"
116 android:
textAppearance=
"?android:attr/textAppearanceSmall"
120 android:
id=
"@+id/untrusted_value_subject_OU"
121 android:
layout_width=
"wrap_content"
122 android:
layout_height=
"wrap_content"
123 android:
paddingBottom=
"5dp"
125 android:
textAppearance=
"?android:attr/textAppearanceSmall"
129 android:
id=
"@+id/untrusted_label_subject_ST"
130 android:
layout_width=
"wrap_content"
131 android:
layout_height=
"wrap_content"
132 android:
text=
"@string/ssl_validator_label_ST"
133 android:
textAppearance=
"?android:attr/textAppearanceSmall"
137 android:
id=
"@+id/untrusted_value_subject_ST"
138 android:
layout_width=
"wrap_content"
139 android:
layout_height=
"wrap_content"
140 android:
paddingBottom=
"5dp"
142 android:
textAppearance=
"?android:attr/textAppearanceSmall"
146 android:
id=
"@+id/untrusted_label_subject_C"
147 android:
layout_width=
"wrap_content"
148 android:
layout_height=
"wrap_content"
149 android:
text=
"@string/ssl_validator_label_C"
150 android:
textAppearance=
"?android:attr/textAppearanceSmall"
154 android:
id=
"@+id/untrusted_value_subject_C"
155 android:
layout_width=
"wrap_content"
156 android:
layout_height=
"wrap_content"
157 android:
paddingBottom=
"5dp"
159 android:
textAppearance=
"?android:attr/textAppearanceSmall"
163 android:
id=
"@+id/untrusted_label_subject_L"
164 android:
layout_width=
"wrap_content"
165 android:
layout_height=
"wrap_content"
166 android:
text=
"@string/ssl_validator_label_L"
167 android:
textAppearance=
"?android:attr/textAppearanceSmall"
171 android:
id=
"@+id/untrusted_value_subject_L"
172 android:
layout_width=
"wrap_content"
173 android:
layout_height=
"wrap_content"
174 android:
paddingBottom=
"5dp"
176 android:
textAppearance=
"?android:attr/textAppearanceSmall"
181 android:
id=
"@+id/untrusted_label_issuer"
182 android:
layout_width=
"wrap_content"
183 android:
layout_height=
"wrap_content"
184 android:
paddingBottom=
"5dp"
185 android:
text=
"@string/ssl_validator_label_issuer"
186 android:
textAppearance=
"?android:attr/textAppearanceMedium"
190 android:
id=
"@+id/untrusted_label_issuer_CN"
191 android:
layout_width=
"wrap_content"
192 android:
layout_height=
"wrap_content"
193 android:
text=
"@string/ssl_validator_label_CN"
194 android:
textAppearance=
"?android:attr/textAppearanceSmall"
198 android:
id=
"@+id/untrusted_value_issuer_CN"
199 android:
layout_width=
"wrap_content"
200 android:
layout_height=
"wrap_content"
201 android:
paddingBottom=
"5dp"
203 android:
textAppearance=
"?android:attr/textAppearanceSmall"
207 android:
id=
"@+id/untrusted_label_issuer_O"
208 android:
layout_width=
"wrap_content"
209 android:
layout_height=
"wrap_content"
210 android:
text=
"@string/ssl_validator_label_O"
211 android:
textAppearance=
"?android:attr/textAppearanceSmall"
215 android:
id=
"@+id/untrusted_value_issuer_O"
216 android:
layout_width=
"wrap_content"
217 android:
layout_height=
"wrap_content"
218 android:
paddingBottom=
"5dp"
220 android:
textAppearance=
"?android:attr/textAppearanceSmall"
224 android:
id=
"@+id/untrusted_label_issuer_OU"
225 android:
layout_width=
"wrap_content"
226 android:
layout_height=
"wrap_content"
227 android:
text=
"@string/ssl_validator_label_OU"
228 android:
textAppearance=
"?android:attr/textAppearanceSmall"
232 android:
id=
"@+id/untrusted_value_issuer_OU"
233 android:
layout_width=
"wrap_content"
234 android:
layout_height=
"wrap_content"
235 android:
paddingBottom=
"5dp"
237 android:
textAppearance=
"?android:attr/textAppearanceSmall"
241 android:
id=
"@+id/untrusted_label_issuer_ST"
242 android:
layout_width=
"wrap_content"
243 android:
layout_height=
"wrap_content"
244 android:
text=
"@string/ssl_validator_label_ST"
245 android:
textAppearance=
"?android:attr/textAppearanceSmall"
249 android:
id=
"@+id/untrusted_value_issuer_ST"
250 android:
layout_width=
"wrap_content"
251 android:
layout_height=
"wrap_content"
252 android:
paddingBottom=
"5dp"
254 android:
textAppearance=
"?android:attr/textAppearanceSmall"
258 android:
id=
"@+id/untrusted_label_issuer_C"
259 android:
layout_width=
"wrap_content"
260 android:
layout_height=
"wrap_content"
261 android:
text=
"@string/ssl_validator_label_C"
262 android:
textAppearance=
"?android:attr/textAppearanceSmall"
266 android:
id=
"@+id/untrusted_value_issuer_C"
267 android:
layout_width=
"wrap_content"
268 android:
layout_height=
"wrap_content"
269 android:
paddingBottom=
"5dp"
271 android:
textAppearance=
"?android:attr/textAppearanceSmall"
275 android:
id=
"@+id/untrusted_label_issuer_L"
276 android:
layout_width=
"wrap_content"
277 android:
layout_height=
"wrap_content"
278 android:
text=
"@string/ssl_validator_label_L"
279 android:
textAppearance=
"?android:attr/textAppearanceSmall"
283 android:
id=
"@+id/untrusted_value_issuer_L"
284 android:
layout_width=
"wrap_content"
285 android:
layout_height=
"wrap_content"
286 android:
paddingBottom=
"5dp"
288 android:
textAppearance=
"?android:attr/textAppearanceSmall"
292 android:
id=
"@+id/untrusted_label_validity"
293 android:
layout_width=
"wrap_content"
294 android:
layout_height=
"wrap_content"
295 android:
paddingBottom=
"5dp"
296 android:
text=
"@string/ssl_validator_label_validity"
297 android:
textAppearance=
"?android:attr/textAppearanceMedium"
301 android:
id=
"@+id/untrusted_label_validity_from"
302 android:
layout_width=
"wrap_content"
303 android:
layout_height=
"wrap_content"
304 android:
text=
"@string/ssl_validator_label_validity_from"
305 android:
textAppearance=
"?android:attr/textAppearanceSmall"
309 android:
id=
"@+id/untrusted_value_validity_from"
310 android:
layout_width=
"wrap_content"
311 android:
layout_height=
"wrap_content"
312 android:
paddingBottom=
"5dp"
314 android:
textAppearance=
"?android:attr/textAppearanceSmall"
318 android:
id=
"@+id/untrusted_label_validity_to"
319 android:
layout_width=
"wrap_content"
320 android:
layout_height=
"wrap_content"
321 android:
text=
"@string/ssl_validator_label_validity_to"
322 android:
textAppearance=
"?android:attr/textAppearanceSmall"
326 android:
id=
"@+id/untrusted_value_validity_to"
327 android:
layout_width=
"wrap_content"
328 android:
layout_height=
"wrap_content"
329 android:
paddingBottom=
"5dp"
331 android:
textAppearance=
"?android:attr/textAppearanceSmall"
336 android:
id=
"@+id/untrusted_label_signature"
337 android:
layout_width=
"wrap_content"
338 android:
layout_height=
"wrap_content"
339 android:
paddingBottom=
"5dp"
340 android:
text=
"@string/ssl_validator_label_signature"
341 android:
textAppearance=
"?android:attr/textAppearanceMedium"
345 android:
id=
"@+id/untrusted_label_signature_algorithm"
346 android:
layout_width=
"wrap_content"
347 android:
layout_height=
"wrap_content"
348 android:
text=
"@string/ssl_validator_label_signature_algorithm"
349 android:
textAppearance=
"?android:attr/textAppearanceSmall"
353 android:
id=
"@+id/untrusted_value_signature_algorithm"
354 android:
layout_width=
"wrap_content"
355 android:
layout_height=
"wrap_content"
356 android:
paddingBottom=
"5dp"
358 android:
textAppearance=
"?android:attr/textAppearanceSmall"
363 android:
id=
"@+id/untrusted_value_signature"
364 android:
layout_width=
"wrap_content"
365 android:
layout_height=
"wrap_content"
366 android:
paddingBottom=
"5dp"
368 android:
textAppearance=
"?android:attr/textAppearanceSmall"
376 android:
id=
"@+id/untrusted_question"
377 android:
layout_width=
"wrap_content"
378 android:
layout_height=
"wrap_content"
379 android:
padding=
"5dp"
380 android:
text=
"@string/ssl_validator_question"
381 android:
textAppearance=
"?android:attr/textAppearanceMedium"
386 android:
layout_width=
"match_parent"
387 android:
layout_height=
"wrap_content"
388 android:
gravity=
"center" >
391 android:
id=
"@+id/untrusted_cancel"
392 android:
layout_width=
"0dp"
393 android:
layout_height=
"wrap_content"
394 android:
layout_weight=
"1"
395 android:
text=
"@string/common_cancel" />
398 android:
id=
"@+id/untrusted_details_btn"
399 android:
layout_width=
"0dp"
400 android:
layout_height=
"wrap_content"
401 android:
layout_weight=
"1"
402 android:
text=
"@string/ssl_validator_btn_details_see" />
405 android:
id=
"@+id/untrusted_ok"
406 android:
layout_width=
"0dp"
407 android:
layout_height=
"wrap_content"
408 android:
layout_weight=
"1"
409 android:
text=
"@string/common_ok" />