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"
46 android:
id=
"@+id/reason_cert_expired"
47 android:
layout_width=
"wrap_content"
48 android:
layout_height=
"wrap_content"
49 android:
layout_gravity=
"left"
50 android:
paddingLeft=
"20dp"
51 android:
text=
"@string/ssl_validator_reason_cert_expired"
52 android:
textAppearance=
"?android:attr/textAppearanceSmall"
56 android:
id=
"@+id/reason_cert_not_yet_valid"
57 android:
layout_width=
"wrap_content"
58 android:
layout_height=
"wrap_content"
59 android:
layout_gravity=
"left"
60 android:
paddingLeft=
"20dp"
61 android:
text=
"@string/ssl_validator_reason_cert_not_yet_valid"
62 android:
textAppearance=
"?android:attr/textAppearanceSmall"
66 android:
id=
"@+id/reason_hostname_not_verified"
67 android:
layout_width=
"wrap_content"
68 android:
layout_height=
"wrap_content"
69 android:
layout_gravity=
"left"
70 android:
paddingLeft=
"20dp"
71 android:
text=
"@string/ssl_validator_reason_hostname_not_verified"
72 android:
textAppearance=
"?android:attr/textAppearanceSmall"
76 android:
id=
"@+id/details_scroll"
77 android:
visibility=
"gone"
78 android:
padding=
"20dp"
79 android:
layout_width=
"wrap_content"
80 android:
layout_height=
"180dp">
83 android:
id=
"@+id/details_view"
84 android:
layout_width=
"wrap_content"
85 android:
layout_height=
"wrap_content"
86 android:
gravity=
"left"
87 android:
orientation=
"vertical" >
90 android:
id=
"@+id/label_subject"
91 android:
layout_width=
"wrap_content"
92 android:
layout_height=
"wrap_content"
93 android:
paddingBottom=
"5dp"
94 android:
text=
"@string/ssl_validator_label_subject"
95 android:
textAppearance=
"?android:attr/textAppearanceMedium"
99 android:
id=
"@+id/label_subject_CN"
100 android:
layout_width=
"wrap_content"
101 android:
layout_height=
"wrap_content"
102 android:
text=
"@string/ssl_validator_label_CN"
103 android:
textAppearance=
"?android:attr/textAppearanceSmall"
107 android:
id=
"@+id/value_subject_CN"
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/label_subject_O"
117 android:
layout_width=
"wrap_content"
118 android:
layout_height=
"wrap_content"
119 android:
text=
"@string/ssl_validator_label_O"
120 android:
textAppearance=
"?android:attr/textAppearanceSmall"
124 android:
id=
"@+id/value_subject_O"
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/label_subject_OU"
134 android:
layout_width=
"wrap_content"
135 android:
layout_height=
"wrap_content"
136 android:
text=
"@string/ssl_validator_label_OU"
137 android:
textAppearance=
"?android:attr/textAppearanceSmall"
141 android:
id=
"@+id/value_subject_OU"
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/label_subject_ST"
151 android:
layout_width=
"wrap_content"
152 android:
layout_height=
"wrap_content"
153 android:
text=
"@string/ssl_validator_label_ST"
154 android:
textAppearance=
"?android:attr/textAppearanceSmall"
158 android:
id=
"@+id/value_subject_ST"
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/label_subject_C"
168 android:
layout_width=
"wrap_content"
169 android:
layout_height=
"wrap_content"
170 android:
text=
"@string/ssl_validator_label_C"
171 android:
textAppearance=
"?android:attr/textAppearanceSmall"
175 android:
id=
"@+id/value_subject_C"
176 android:
layout_width=
"wrap_content"
177 android:
layout_height=
"wrap_content"
178 android:
paddingBottom=
"5dp"
180 android:
textAppearance=
"?android:attr/textAppearanceSmall"
184 android:
id=
"@+id/label_subject_L"
185 android:
layout_width=
"wrap_content"
186 android:
layout_height=
"wrap_content"
187 android:
text=
"@string/ssl_validator_label_L"
188 android:
textAppearance=
"?android:attr/textAppearanceSmall"
192 android:
id=
"@+id/value_subject_L"
193 android:
layout_width=
"wrap_content"
194 android:
layout_height=
"wrap_content"
195 android:
paddingBottom=
"5dp"
197 android:
textAppearance=
"?android:attr/textAppearanceSmall"
202 android:
id=
"@+id/label_issuer"
203 android:
layout_width=
"wrap_content"
204 android:
layout_height=
"wrap_content"
205 android:
paddingBottom=
"5dp"
206 android:
text=
"@string/ssl_validator_label_issuer"
207 android:
textAppearance=
"?android:attr/textAppearanceMedium"
211 android:
id=
"@+id/label_issuer_CN"
212 android:
layout_width=
"wrap_content"
213 android:
layout_height=
"wrap_content"
214 android:
text=
"@string/ssl_validator_label_CN"
215 android:
textAppearance=
"?android:attr/textAppearanceSmall"
219 android:
id=
"@+id/value_issuer_CN"
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/label_issuer_O"
229 android:
layout_width=
"wrap_content"
230 android:
layout_height=
"wrap_content"
231 android:
text=
"@string/ssl_validator_label_O"
232 android:
textAppearance=
"?android:attr/textAppearanceSmall"
236 android:
id=
"@+id/value_issuer_O"
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/label_issuer_OU"
246 android:
layout_width=
"wrap_content"
247 android:
layout_height=
"wrap_content"
248 android:
text=
"@string/ssl_validator_label_OU"
249 android:
textAppearance=
"?android:attr/textAppearanceSmall"
253 android:
id=
"@+id/value_issuer_OU"
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/label_issuer_ST"
263 android:
layout_width=
"wrap_content"
264 android:
layout_height=
"wrap_content"
265 android:
text=
"@string/ssl_validator_label_ST"
266 android:
textAppearance=
"?android:attr/textAppearanceSmall"
270 android:
id=
"@+id/value_issuer_ST"
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/label_issuer_C"
280 android:
layout_width=
"wrap_content"
281 android:
layout_height=
"wrap_content"
282 android:
text=
"@string/ssl_validator_label_C"
283 android:
textAppearance=
"?android:attr/textAppearanceSmall"
287 android:
id=
"@+id/value_issuer_C"
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/label_issuer_L"
297 android:
layout_width=
"wrap_content"
298 android:
layout_height=
"wrap_content"
299 android:
text=
"@string/ssl_validator_label_L"
300 android:
textAppearance=
"?android:attr/textAppearanceSmall"
304 android:
id=
"@+id/value_issuer_L"
305 android:
layout_width=
"wrap_content"
306 android:
layout_height=
"wrap_content"
307 android:
paddingBottom=
"5dp"
309 android:
textAppearance=
"?android:attr/textAppearanceSmall"
313 android:
id=
"@+id/label_validity"
314 android:
layout_width=
"wrap_content"
315 android:
layout_height=
"wrap_content"
316 android:
paddingBottom=
"5dp"
317 android:
text=
"@string/ssl_validator_label_validity"
318 android:
textAppearance=
"?android:attr/textAppearanceMedium"
322 android:
id=
"@+id/label_validity_from"
323 android:
layout_width=
"wrap_content"
324 android:
layout_height=
"wrap_content"
325 android:
text=
"@string/ssl_validator_label_validity_from"
326 android:
textAppearance=
"?android:attr/textAppearanceSmall"
330 android:
id=
"@+id/value_validity_from"
331 android:
layout_width=
"wrap_content"
332 android:
layout_height=
"wrap_content"
333 android:
paddingBottom=
"5dp"
335 android:
textAppearance=
"?android:attr/textAppearanceSmall"
339 android:
id=
"@+id/label_validity_to"
340 android:
layout_width=
"wrap_content"
341 android:
layout_height=
"wrap_content"
342 android:
text=
"@string/ssl_validator_label_validity_to"
343 android:
textAppearance=
"?android:attr/textAppearanceSmall"
347 android:
id=
"@+id/value_validity_to"
348 android:
layout_width=
"wrap_content"
349 android:
layout_height=
"wrap_content"
350 android:
paddingBottom=
"5dp"
352 android:
textAppearance=
"?android:attr/textAppearanceSmall"
357 android:
id=
"@+id/label_signature"
358 android:
layout_width=
"wrap_content"
359 android:
layout_height=
"wrap_content"
360 android:
paddingBottom=
"5dp"
361 android:
text=
"@string/ssl_validator_label_signature"
362 android:
textAppearance=
"?android:attr/textAppearanceMedium"
366 android:
id=
"@+id/label_signature_algorithm"
367 android:
layout_width=
"wrap_content"
368 android:
layout_height=
"wrap_content"
369 android:
text=
"@string/ssl_validator_label_signature_algorithm"
370 android:
textAppearance=
"?android:attr/textAppearanceSmall"
374 android:
id=
"@+id/value_signature_algorithm"
375 android:
layout_width=
"wrap_content"
376 android:
layout_height=
"wrap_content"
377 android:
paddingBottom=
"5dp"
379 android:
textAppearance=
"?android:attr/textAppearanceSmall"
384 android:
id=
"@+id/value_signature"
385 android:
layout_width=
"wrap_content"
386 android:
layout_height=
"wrap_content"
387 android:
paddingBottom=
"5dp"
389 android:
textAppearance=
"?android:attr/textAppearanceSmall"
397 android:
id=
"@+id/question"
398 android:
layout_width=
"wrap_content"
399 android:
layout_height=
"wrap_content"
400 android:
padding=
"5dp"
401 android:
text=
"@string/ssl_validator_question"
402 android:
textAppearance=
"?android:attr/textAppearanceMedium"
407 android:
layout_width=
"match_parent"
408 android:
layout_height=
"wrap_content"
409 android:
gravity=
"center" >
412 android:
id=
"@+id/cancel"
413 android:
layout_width=
"0dp"
414 android:
layout_height=
"wrap_content"
415 android:
layout_weight=
"1"
416 android:
text=
"@string/common_cancel" />
419 android:
id=
"@+id/details_btn"
420 android:
layout_width=
"0dp"
421 android:
layout_height=
"wrap_content"
422 android:
layout_weight=
"1"
423 android:
text=
"@string/ssl_validator_btn_details_see" />
427 android:
layout_width=
"0dp"
428 android:
layout_height=
"wrap_content"
429 android:
layout_weight=
"1"
430 android:
text=
"@string/common_ok" />