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:
layout_weight=
"0"
31 android:
text=
"@string/ssl_validator_header"
33 android:
textAppearance=
"?android:attr/textAppearanceMedium"
37 android:
id=
"@+id/untrusted_reason_cert_not_trusted"
38 android:
layout_width=
"wrap_content"
39 android:
layout_height=
"wrap_content"
40 android:
layout_weight=
"0"
41 android:
layout_gravity=
"left"
42 android:
paddingLeft=
"20dp"
43 android:
text=
"@string/ssl_validator_reason_cert_not_trusted"
44 android:
textAppearance=
"?android:attr/textAppearanceSmall"
48 android:
id=
"@+id/untrusted_details_scroll"
49 android:
visibility=
"gone"
50 android:
padding=
"20dp"
51 android:
layout_width=
"match_parent"
52 android:
layout_height=
"0dp"
53 android:
layout_weight=
"1"
57 android:
id=
"@+id/untrusted_details_view"
58 android:
layout_width=
"wrap_content"
59 android:
layout_height=
"wrap_content"
60 android:
gravity=
"left"
61 android:
orientation=
"vertical" >
64 android:
id=
"@+id/untrusted_null_cert"
65 android:
layout_width=
"wrap_content"
66 android:
layout_height=
"wrap_content"
67 android:
layout_gravity=
"left"
68 android:
paddingLeft=
"20dp"
69 android:
text=
"@string/ssl_validator_null_cert"
70 android:
textAppearance=
"?android:attr/textAppearanceSmall" />
73 android:
id=
"@+id/untrusted_label_subject"
74 android:
layout_width=
"wrap_content"
75 android:
layout_height=
"wrap_content"
76 android:
paddingBottom=
"5dp"
77 android:
text=
"@string/ssl_validator_label_subject"
78 android:
textAppearance=
"?android:attr/textAppearanceMedium"
82 android:
id=
"@+id/untrusted_label_subject_CN"
83 android:
layout_width=
"wrap_content"
84 android:
layout_height=
"wrap_content"
85 android:
text=
"@string/ssl_validator_label_CN"
86 android:
textAppearance=
"?android:attr/textAppearanceSmall"
90 android:
id=
"@+id/untrusted_value_subject_CN"
91 android:
layout_width=
"wrap_content"
92 android:
layout_height=
"wrap_content"
93 android:
paddingBottom=
"5dp"
95 android:
textAppearance=
"?android:attr/textAppearanceSmall"
99 android:
id=
"@+id/untrusted_label_subject_O"
100 android:
layout_width=
"wrap_content"
101 android:
layout_height=
"wrap_content"
102 android:
text=
"@string/ssl_validator_label_O"
103 android:
textAppearance=
"?android:attr/textAppearanceSmall"
107 android:
id=
"@+id/untrusted_value_subject_O"
108 android:
layout_width=
"wrap_content"
109 android:
layout_height=
"wrap_content"
110 android:
paddingBottom=
"5dp"
112 android:
textAppearance=
"?android:attr/textAppearanceSmall"
116 android:
id=
"@+id/untrusted_label_subject_OU"
117 android:
layout_width=
"wrap_content"
118 android:
layout_height=
"wrap_content"
119 android:
text=
"@string/ssl_validator_label_OU"
120 android:
textAppearance=
"?android:attr/textAppearanceSmall"
124 android:
id=
"@+id/untrusted_value_subject_OU"
125 android:
layout_width=
"wrap_content"
126 android:
layout_height=
"wrap_content"
127 android:
paddingBottom=
"5dp"
129 android:
textAppearance=
"?android:attr/textAppearanceSmall"
133 android:
id=
"@+id/untrusted_label_subject_ST"
134 android:
layout_width=
"wrap_content"
135 android:
layout_height=
"wrap_content"
136 android:
text=
"@string/ssl_validator_label_ST"
137 android:
textAppearance=
"?android:attr/textAppearanceSmall"
141 android:
id=
"@+id/untrusted_value_subject_ST"
142 android:
layout_width=
"wrap_content"
143 android:
layout_height=
"wrap_content"
144 android:
paddingBottom=
"5dp"
146 android:
textAppearance=
"?android:attr/textAppearanceSmall"
150 android:
id=
"@+id/untrusted_label_subject_C"
151 android:
layout_width=
"wrap_content"
152 android:
layout_height=
"wrap_content"
153 android:
text=
"@string/ssl_validator_label_C"
154 android:
textAppearance=
"?android:attr/textAppearanceSmall"
158 android:
id=
"@+id/untrusted_value_subject_C"
159 android:
layout_width=
"wrap_content"
160 android:
layout_height=
"wrap_content"
161 android:
paddingBottom=
"5dp"
163 android:
textAppearance=
"?android:attr/textAppearanceSmall"
167 android:
id=
"@+id/untrusted_label_subject_L"
168 android:
layout_width=
"wrap_content"
169 android:
layout_height=
"wrap_content"
170 android:
text=
"@string/ssl_validator_label_L"
171 android:
textAppearance=
"?android:attr/textAppearanceSmall"
175 android:
id=
"@+id/untrusted_value_subject_L"
176 android:
layout_width=
"wrap_content"
177 android:
layout_height=
"wrap_content"
178 android:
paddingBottom=
"5dp"
180 android:
textAppearance=
"?android:attr/textAppearanceSmall"
185 android:
id=
"@+id/untrusted_label_issuer"
186 android:
layout_width=
"wrap_content"
187 android:
layout_height=
"wrap_content"
188 android:
paddingBottom=
"5dp"
189 android:
text=
"@string/ssl_validator_label_issuer"
190 android:
textAppearance=
"?android:attr/textAppearanceMedium"
194 android:
id=
"@+id/untrusted_label_issuer_CN"
195 android:
layout_width=
"wrap_content"
196 android:
layout_height=
"wrap_content"
197 android:
text=
"@string/ssl_validator_label_CN"
198 android:
textAppearance=
"?android:attr/textAppearanceSmall"
202 android:
id=
"@+id/untrusted_value_issuer_CN"
203 android:
layout_width=
"wrap_content"
204 android:
layout_height=
"wrap_content"
205 android:
paddingBottom=
"5dp"
207 android:
textAppearance=
"?android:attr/textAppearanceSmall"
211 android:
id=
"@+id/untrusted_label_issuer_O"
212 android:
layout_width=
"wrap_content"
213 android:
layout_height=
"wrap_content"
214 android:
text=
"@string/ssl_validator_label_O"
215 android:
textAppearance=
"?android:attr/textAppearanceSmall"
219 android:
id=
"@+id/untrusted_value_issuer_O"
220 android:
layout_width=
"wrap_content"
221 android:
layout_height=
"wrap_content"
222 android:
paddingBottom=
"5dp"
224 android:
textAppearance=
"?android:attr/textAppearanceSmall"
228 android:
id=
"@+id/untrusted_label_issuer_OU"
229 android:
layout_width=
"wrap_content"
230 android:
layout_height=
"wrap_content"
231 android:
text=
"@string/ssl_validator_label_OU"
232 android:
textAppearance=
"?android:attr/textAppearanceSmall"
236 android:
id=
"@+id/untrusted_value_issuer_OU"
237 android:
layout_width=
"wrap_content"
238 android:
layout_height=
"wrap_content"
239 android:
paddingBottom=
"5dp"
241 android:
textAppearance=
"?android:attr/textAppearanceSmall"
245 android:
id=
"@+id/untrusted_label_issuer_ST"
246 android:
layout_width=
"wrap_content"
247 android:
layout_height=
"wrap_content"
248 android:
text=
"@string/ssl_validator_label_ST"
249 android:
textAppearance=
"?android:attr/textAppearanceSmall"
253 android:
id=
"@+id/untrusted_value_issuer_ST"
254 android:
layout_width=
"wrap_content"
255 android:
layout_height=
"wrap_content"
256 android:
paddingBottom=
"5dp"
258 android:
textAppearance=
"?android:attr/textAppearanceSmall"
262 android:
id=
"@+id/untrusted_label_issuer_C"
263 android:
layout_width=
"wrap_content"
264 android:
layout_height=
"wrap_content"
265 android:
text=
"@string/ssl_validator_label_C"
266 android:
textAppearance=
"?android:attr/textAppearanceSmall"
270 android:
id=
"@+id/untrusted_value_issuer_C"
271 android:
layout_width=
"wrap_content"
272 android:
layout_height=
"wrap_content"
273 android:
paddingBottom=
"5dp"
275 android:
textAppearance=
"?android:attr/textAppearanceSmall"
279 android:
id=
"@+id/untrusted_label_issuer_L"
280 android:
layout_width=
"wrap_content"
281 android:
layout_height=
"wrap_content"
282 android:
text=
"@string/ssl_validator_label_L"
283 android:
textAppearance=
"?android:attr/textAppearanceSmall"
287 android:
id=
"@+id/untrusted_value_issuer_L"
288 android:
layout_width=
"wrap_content"
289 android:
layout_height=
"wrap_content"
290 android:
paddingBottom=
"5dp"
292 android:
textAppearance=
"?android:attr/textAppearanceSmall"
296 android:
id=
"@+id/untrusted_label_validity"
297 android:
layout_width=
"wrap_content"
298 android:
layout_height=
"wrap_content"
299 android:
paddingBottom=
"5dp"
300 android:
text=
"@string/ssl_validator_label_validity"
301 android:
textAppearance=
"?android:attr/textAppearanceMedium"
305 android:
id=
"@+id/untrusted_label_validity_from"
306 android:
layout_width=
"wrap_content"
307 android:
layout_height=
"wrap_content"
308 android:
text=
"@string/ssl_validator_label_validity_from"
309 android:
textAppearance=
"?android:attr/textAppearanceSmall"
313 android:
id=
"@+id/untrusted_value_validity_from"
314 android:
layout_width=
"wrap_content"
315 android:
layout_height=
"wrap_content"
316 android:
paddingBottom=
"5dp"
318 android:
textAppearance=
"?android:attr/textAppearanceSmall"
322 android:
id=
"@+id/untrusted_label_validity_to"
323 android:
layout_width=
"wrap_content"
324 android:
layout_height=
"wrap_content"
325 android:
text=
"@string/ssl_validator_label_validity_to"
326 android:
textAppearance=
"?android:attr/textAppearanceSmall"
330 android:
id=
"@+id/untrusted_value_validity_to"
331 android:
layout_width=
"wrap_content"
332 android:
layout_height=
"wrap_content"
333 android:
paddingBottom=
"5dp"
335 android:
textAppearance=
"?android:attr/textAppearanceSmall"
340 android:
id=
"@+id/untrusted_label_signature"
341 android:
layout_width=
"wrap_content"
342 android:
layout_height=
"wrap_content"
343 android:
paddingBottom=
"5dp"
344 android:
text=
"@string/ssl_validator_label_signature"
345 android:
textAppearance=
"?android:attr/textAppearanceMedium"
349 android:
id=
"@+id/untrusted_label_signature_algorithm"
350 android:
layout_width=
"wrap_content"
351 android:
layout_height=
"wrap_content"
352 android:
text=
"@string/ssl_validator_label_signature_algorithm"
353 android:
textAppearance=
"?android:attr/textAppearanceSmall"
357 android:
id=
"@+id/untrusted_value_signature_algorithm"
358 android:
layout_width=
"wrap_content"
359 android:
layout_height=
"wrap_content"
360 android:
paddingBottom=
"5dp"
362 android:
textAppearance=
"?android:attr/textAppearanceSmall"
367 android:
id=
"@+id/untrusted_value_signature"
368 android:
layout_width=
"wrap_content"
369 android:
layout_height=
"wrap_content"
370 android:
paddingBottom=
"5dp"
372 android:
textAppearance=
"?android:attr/textAppearanceSmall"
380 android:
id=
"@+id/untrusted_question"
381 android:
layout_width=
"wrap_content"
382 android:
layout_height=
"wrap_content"
383 android:
layout_weight=
"0"
384 android:
padding=
"5dp"
385 android:
text=
"@string/ssl_validator_question"
386 android:
textAppearance=
"?android:attr/textAppearanceMedium"
391 android:
layout_width=
"match_parent"
392 android:
layout_height=
"wrap_content"
393 android:
layout_weight=
"0"
394 android:
gravity=
"center" >
397 android:
id=
"@+id/untrusted_cancel"
398 android:
layout_width=
"0dp"
399 android:
layout_height=
"wrap_content"
400 android:
layout_weight=
"1"
401 android:
text=
"@string/common_cancel" />
404 android:
id=
"@+id/untrusted_details_btn"
405 android:
layout_width=
"0dp"
406 android:
layout_height=
"wrap_content"
407 android:
layout_weight=
"1"
408 android:
text=
"@string/ssl_validator_btn_details_see" />
411 android:
id=
"@+id/untrusted_ok"
412 android:
layout_width=
"0dp"
413 android:
layout_height=
"wrap_content"
414 android:
layout_weight=
"1"
415 android:
text=
"@string/common_ok" />