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/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/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"
47 android:
id=
"@+id/reason_cert_expired"
48 android:
layout_width=
"wrap_content"
49 android:
layout_height=
"wrap_content"
50 android:
layout_gravity=
"left"
51 android:
paddingLeft=
"20dp"
52 android:
text=
"@string/ssl_validator_reason_cert_expired"
53 android:
textAppearance=
"?android:attr/textAppearanceSmall"
57 android:
id=
"@+id/reason_cert_not_yet_valid"
58 android:
layout_width=
"wrap_content"
59 android:
layout_height=
"wrap_content"
60 android:
layout_gravity=
"left"
61 android:
paddingLeft=
"20dp"
62 android:
text=
"@string/ssl_validator_reason_cert_not_yet_valid"
63 android:
textAppearance=
"?android:attr/textAppearanceSmall"
67 android:
id=
"@+id/reason_hostname_not_verified"
68 android:
layout_width=
"wrap_content"
69 android:
layout_height=
"wrap_content"
70 android:
layout_gravity=
"left"
71 android:
paddingLeft=
"20dp"
72 android:
text=
"@string/ssl_validator_reason_hostname_not_verified"
73 android:
textAppearance=
"?android:attr/textAppearanceSmall"
77 android:
id=
"@+id/details_scroll"
78 android:
visibility=
"gone"
79 android:
padding=
"20dp"
80 android:
layout_width=
"wrap_content"
81 android:
layout_height=
"180dp">
84 android:
id=
"@+id/details_view"
85 android:
layout_width=
"wrap_content"
86 android:
layout_height=
"wrap_content"
87 android:
gravity=
"left"
88 android:
orientation=
"vertical" >
91 android:
id=
"@+id/null_cert"
92 android:
layout_width=
"wrap_content"
93 android:
layout_height=
"wrap_content"
94 android:
layout_gravity=
"left"
95 android:
paddingLeft=
"20dp"
96 android:
text=
"@string/ssl_validator_null_cert"
97 android:
textAppearance=
"?android:attr/textAppearanceSmall" />
100 android:
id=
"@+id/label_subject"
101 android:
layout_width=
"wrap_content"
102 android:
layout_height=
"wrap_content"
103 android:
paddingBottom=
"5dp"
104 android:
text=
"@string/ssl_validator_label_subject"
105 android:
textAppearance=
"?android:attr/textAppearanceMedium"
109 android:
id=
"@+id/label_subject_CN"
110 android:
layout_width=
"wrap_content"
111 android:
layout_height=
"wrap_content"
112 android:
text=
"@string/ssl_validator_label_CN"
113 android:
textAppearance=
"?android:attr/textAppearanceSmall"
117 android:
id=
"@+id/value_subject_CN"
118 android:
layout_width=
"wrap_content"
119 android:
layout_height=
"wrap_content"
120 android:
paddingBottom=
"5dp"
122 android:
textAppearance=
"?android:attr/textAppearanceSmall"
126 android:
id=
"@+id/label_subject_O"
127 android:
layout_width=
"wrap_content"
128 android:
layout_height=
"wrap_content"
129 android:
text=
"@string/ssl_validator_label_O"
130 android:
textAppearance=
"?android:attr/textAppearanceSmall"
134 android:
id=
"@+id/value_subject_O"
135 android:
layout_width=
"wrap_content"
136 android:
layout_height=
"wrap_content"
137 android:
paddingBottom=
"5dp"
139 android:
textAppearance=
"?android:attr/textAppearanceSmall"
143 android:
id=
"@+id/label_subject_OU"
144 android:
layout_width=
"wrap_content"
145 android:
layout_height=
"wrap_content"
146 android:
text=
"@string/ssl_validator_label_OU"
147 android:
textAppearance=
"?android:attr/textAppearanceSmall"
151 android:
id=
"@+id/value_subject_OU"
152 android:
layout_width=
"wrap_content"
153 android:
layout_height=
"wrap_content"
154 android:
paddingBottom=
"5dp"
156 android:
textAppearance=
"?android:attr/textAppearanceSmall"
160 android:
id=
"@+id/label_subject_ST"
161 android:
layout_width=
"wrap_content"
162 android:
layout_height=
"wrap_content"
163 android:
text=
"@string/ssl_validator_label_ST"
164 android:
textAppearance=
"?android:attr/textAppearanceSmall"
168 android:
id=
"@+id/value_subject_ST"
169 android:
layout_width=
"wrap_content"
170 android:
layout_height=
"wrap_content"
171 android:
paddingBottom=
"5dp"
173 android:
textAppearance=
"?android:attr/textAppearanceSmall"
177 android:
id=
"@+id/label_subject_C"
178 android:
layout_width=
"wrap_content"
179 android:
layout_height=
"wrap_content"
180 android:
text=
"@string/ssl_validator_label_C"
181 android:
textAppearance=
"?android:attr/textAppearanceSmall"
185 android:
id=
"@+id/value_subject_C"
186 android:
layout_width=
"wrap_content"
187 android:
layout_height=
"wrap_content"
188 android:
paddingBottom=
"5dp"
190 android:
textAppearance=
"?android:attr/textAppearanceSmall"
194 android:
id=
"@+id/label_subject_L"
195 android:
layout_width=
"wrap_content"
196 android:
layout_height=
"wrap_content"
197 android:
text=
"@string/ssl_validator_label_L"
198 android:
textAppearance=
"?android:attr/textAppearanceSmall"
202 android:
id=
"@+id/value_subject_L"
203 android:
layout_width=
"wrap_content"
204 android:
layout_height=
"wrap_content"
205 android:
paddingBottom=
"5dp"
207 android:
textAppearance=
"?android:attr/textAppearanceSmall"
212 android:
id=
"@+id/label_issuer"
213 android:
layout_width=
"wrap_content"
214 android:
layout_height=
"wrap_content"
215 android:
paddingBottom=
"5dp"
216 android:
text=
"@string/ssl_validator_label_issuer"
217 android:
textAppearance=
"?android:attr/textAppearanceMedium"
221 android:
id=
"@+id/label_issuer_CN"
222 android:
layout_width=
"wrap_content"
223 android:
layout_height=
"wrap_content"
224 android:
text=
"@string/ssl_validator_label_CN"
225 android:
textAppearance=
"?android:attr/textAppearanceSmall"
229 android:
id=
"@+id/value_issuer_CN"
230 android:
layout_width=
"wrap_content"
231 android:
layout_height=
"wrap_content"
232 android:
paddingBottom=
"5dp"
234 android:
textAppearance=
"?android:attr/textAppearanceSmall"
238 android:
id=
"@+id/label_issuer_O"
239 android:
layout_width=
"wrap_content"
240 android:
layout_height=
"wrap_content"
241 android:
text=
"@string/ssl_validator_label_O"
242 android:
textAppearance=
"?android:attr/textAppearanceSmall"
246 android:
id=
"@+id/value_issuer_O"
247 android:
layout_width=
"wrap_content"
248 android:
layout_height=
"wrap_content"
249 android:
paddingBottom=
"5dp"
251 android:
textAppearance=
"?android:attr/textAppearanceSmall"
255 android:
id=
"@+id/label_issuer_OU"
256 android:
layout_width=
"wrap_content"
257 android:
layout_height=
"wrap_content"
258 android:
text=
"@string/ssl_validator_label_OU"
259 android:
textAppearance=
"?android:attr/textAppearanceSmall"
263 android:
id=
"@+id/value_issuer_OU"
264 android:
layout_width=
"wrap_content"
265 android:
layout_height=
"wrap_content"
266 android:
paddingBottom=
"5dp"
268 android:
textAppearance=
"?android:attr/textAppearanceSmall"
272 android:
id=
"@+id/label_issuer_ST"
273 android:
layout_width=
"wrap_content"
274 android:
layout_height=
"wrap_content"
275 android:
text=
"@string/ssl_validator_label_ST"
276 android:
textAppearance=
"?android:attr/textAppearanceSmall"
280 android:
id=
"@+id/value_issuer_ST"
281 android:
layout_width=
"wrap_content"
282 android:
layout_height=
"wrap_content"
283 android:
paddingBottom=
"5dp"
285 android:
textAppearance=
"?android:attr/textAppearanceSmall"
289 android:
id=
"@+id/label_issuer_C"
290 android:
layout_width=
"wrap_content"
291 android:
layout_height=
"wrap_content"
292 android:
text=
"@string/ssl_validator_label_C"
293 android:
textAppearance=
"?android:attr/textAppearanceSmall"
297 android:
id=
"@+id/value_issuer_C"
298 android:
layout_width=
"wrap_content"
299 android:
layout_height=
"wrap_content"
300 android:
paddingBottom=
"5dp"
302 android:
textAppearance=
"?android:attr/textAppearanceSmall"
306 android:
id=
"@+id/label_issuer_L"
307 android:
layout_width=
"wrap_content"
308 android:
layout_height=
"wrap_content"
309 android:
text=
"@string/ssl_validator_label_L"
310 android:
textAppearance=
"?android:attr/textAppearanceSmall"
314 android:
id=
"@+id/value_issuer_L"
315 android:
layout_width=
"wrap_content"
316 android:
layout_height=
"wrap_content"
317 android:
paddingBottom=
"5dp"
319 android:
textAppearance=
"?android:attr/textAppearanceSmall"
323 android:
id=
"@+id/label_validity"
324 android:
layout_width=
"wrap_content"
325 android:
layout_height=
"wrap_content"
326 android:
paddingBottom=
"5dp"
327 android:
text=
"@string/ssl_validator_label_validity"
328 android:
textAppearance=
"?android:attr/textAppearanceMedium"
332 android:
id=
"@+id/label_validity_from"
333 android:
layout_width=
"wrap_content"
334 android:
layout_height=
"wrap_content"
335 android:
text=
"@string/ssl_validator_label_validity_from"
336 android:
textAppearance=
"?android:attr/textAppearanceSmall"
340 android:
id=
"@+id/value_validity_from"
341 android:
layout_width=
"wrap_content"
342 android:
layout_height=
"wrap_content"
343 android:
paddingBottom=
"5dp"
345 android:
textAppearance=
"?android:attr/textAppearanceSmall"
349 android:
id=
"@+id/label_validity_to"
350 android:
layout_width=
"wrap_content"
351 android:
layout_height=
"wrap_content"
352 android:
text=
"@string/ssl_validator_label_validity_to"
353 android:
textAppearance=
"?android:attr/textAppearanceSmall"
357 android:
id=
"@+id/value_validity_to"
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/label_signature"
368 android:
layout_width=
"wrap_content"
369 android:
layout_height=
"wrap_content"
370 android:
paddingBottom=
"5dp"
371 android:
text=
"@string/ssl_validator_label_signature"
372 android:
textAppearance=
"?android:attr/textAppearanceMedium"
376 android:
id=
"@+id/label_signature_algorithm"
377 android:
layout_width=
"wrap_content"
378 android:
layout_height=
"wrap_content"
379 android:
text=
"@string/ssl_validator_label_signature_algorithm"
380 android:
textAppearance=
"?android:attr/textAppearanceSmall"
384 android:
id=
"@+id/value_signature_algorithm"
385 android:
layout_width=
"wrap_content"
386 android:
layout_height=
"wrap_content"
387 android:
paddingBottom=
"5dp"
389 android:
textAppearance=
"?android:attr/textAppearanceSmall"
394 android:
id=
"@+id/value_signature"
395 android:
layout_width=
"wrap_content"
396 android:
layout_height=
"wrap_content"
397 android:
paddingBottom=
"5dp"
399 android:
textAppearance=
"?android:attr/textAppearanceSmall"
407 android:
id=
"@+id/question"
408 android:
layout_width=
"wrap_content"
409 android:
layout_height=
"wrap_content"
410 android:
padding=
"5dp"
411 android:
text=
"@string/ssl_validator_question"
412 android:
textAppearance=
"?android:attr/textAppearanceMedium"
417 android:
layout_width=
"match_parent"
418 android:
layout_height=
"wrap_content"
419 android:
gravity=
"center" >
422 android:
id=
"@+id/cancel"
423 android:
layout_width=
"0dp"
424 android:
layout_height=
"wrap_content"
425 android:
layout_weight=
"1"
426 android:
text=
"@string/common_cancel" />
429 android:
id=
"@+id/details_btn"
430 android:
layout_width=
"0dp"
431 android:
layout_height=
"wrap_content"
432 android:
layout_weight=
"1"
433 android:
text=
"@string/ssl_validator_btn_details_see" />
437 android:
layout_width=
"0dp"
438 android:
layout_height=
"wrap_content"
439 android:
layout_weight=
"1"
440 android:
text=
"@string/common_ok" />