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 as published by
9 the Free Software Foundation, either version
2 of the License, or
10 (at your option) any later version.
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.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see
<http://www.gnu.org/licenses
/>.
20 <LinearLayout xmlns:
android=
"http://schemas.android.com/apk/res/android"
21 android:
id=
"@+id/root"
22 android:
layout_width=
"wrap_content"
23 android:
layout_height=
"wrap_content"
24 android:
gravity=
"center"
25 android:
orientation=
"vertical" >
28 android:
id=
"@+id/header"
29 android:
layout_width=
"wrap_content"
30 android:
layout_height=
"wrap_content"
31 android:
text=
"@string/ssl_validator_header"
33 android:
textAppearance=
"?android:attr/textAppearanceMedium"
37 android:
id=
"@+id/reason_cert_not_trusted"
38 android:
layout_width=
"wrap_content"
39 android:
layout_height=
"wrap_content"
40 android:
layout_gravity=
"left"
41 android:
paddingLeft=
"20dp"
42 android:
text=
"@string/ssl_validator_reason_cert_not_trusted"
43 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">
83 <LinearLayout xmlns:
android=
"http://schemas.android.com/apk/res/android"
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/label_subject"
92 android:
layout_width=
"wrap_content"
93 android:
layout_height=
"wrap_content"
94 android:
paddingBottom=
"5dp"
95 android:
text=
"@string/ssl_validator_label_subject"
96 android:
textAppearance=
"?android:attr/textAppearanceMedium"
100 android:
id=
"@+id/label_subject_CN"
101 android:
layout_width=
"wrap_content"
102 android:
layout_height=
"wrap_content"
103 android:
text=
"@string/ssl_validator_label_CN"
104 android:
textAppearance=
"?android:attr/textAppearanceSmall"
108 android:
id=
"@+id/value_subject_CN"
109 android:
layout_width=
"wrap_content"
110 android:
layout_height=
"wrap_content"
111 android:
paddingBottom=
"5dp"
113 android:
textAppearance=
"?android:attr/textAppearanceSmall"
117 android:
id=
"@+id/label_subject_O"
118 android:
layout_width=
"wrap_content"
119 android:
layout_height=
"wrap_content"
120 android:
text=
"@string/ssl_validator_label_O"
121 android:
textAppearance=
"?android:attr/textAppearanceSmall"
125 android:
id=
"@+id/value_subject_O"
126 android:
layout_width=
"wrap_content"
127 android:
layout_height=
"wrap_content"
128 android:
paddingBottom=
"5dp"
130 android:
textAppearance=
"?android:attr/textAppearanceSmall"
134 android:
id=
"@+id/label_subject_OU"
135 android:
layout_width=
"wrap_content"
136 android:
layout_height=
"wrap_content"
137 android:
text=
"@string/ssl_validator_label_OU"
138 android:
textAppearance=
"?android:attr/textAppearanceSmall"
142 android:
id=
"@+id/value_subject_OU"
143 android:
layout_width=
"wrap_content"
144 android:
layout_height=
"wrap_content"
145 android:
paddingBottom=
"5dp"
147 android:
textAppearance=
"?android:attr/textAppearanceSmall"
151 android:
id=
"@+id/label_subject_ST"
152 android:
layout_width=
"wrap_content"
153 android:
layout_height=
"wrap_content"
154 android:
text=
"@string/ssl_validator_label_ST"
155 android:
textAppearance=
"?android:attr/textAppearanceSmall"
159 android:
id=
"@+id/value_subject_ST"
160 android:
layout_width=
"wrap_content"
161 android:
layout_height=
"wrap_content"
162 android:
paddingBottom=
"5dp"
164 android:
textAppearance=
"?android:attr/textAppearanceSmall"
168 android:
id=
"@+id/label_subject_C"
169 android:
layout_width=
"wrap_content"
170 android:
layout_height=
"wrap_content"
171 android:
text=
"@string/ssl_validator_label_C"
172 android:
textAppearance=
"?android:attr/textAppearanceSmall"
176 android:
id=
"@+id/value_subject_C"
177 android:
layout_width=
"wrap_content"
178 android:
layout_height=
"wrap_content"
179 android:
paddingBottom=
"5dp"
181 android:
textAppearance=
"?android:attr/textAppearanceSmall"
185 android:
id=
"@+id/label_subject_L"
186 android:
layout_width=
"wrap_content"
187 android:
layout_height=
"wrap_content"
188 android:
text=
"@string/ssl_validator_label_L"
189 android:
textAppearance=
"?android:attr/textAppearanceSmall"
193 android:
id=
"@+id/value_subject_L"
194 android:
layout_width=
"wrap_content"
195 android:
layout_height=
"wrap_content"
196 android:
paddingBottom=
"5dp"
198 android:
textAppearance=
"?android:attr/textAppearanceSmall"
203 android:
id=
"@+id/label_issuer"
204 android:
layout_width=
"wrap_content"
205 android:
layout_height=
"wrap_content"
206 android:
paddingBottom=
"5dp"
207 android:
text=
"@string/ssl_validator_label_issuer"
208 android:
textAppearance=
"?android:attr/textAppearanceMedium"
212 android:
id=
"@+id/label_issuer_CN"
213 android:
layout_width=
"wrap_content"
214 android:
layout_height=
"wrap_content"
215 android:
text=
"@string/ssl_validator_label_CN"
216 android:
textAppearance=
"?android:attr/textAppearanceSmall"
220 android:
id=
"@+id/value_issuer_CN"
221 android:
layout_width=
"wrap_content"
222 android:
layout_height=
"wrap_content"
223 android:
paddingBottom=
"5dp"
225 android:
textAppearance=
"?android:attr/textAppearanceSmall"
229 android:
id=
"@+id/label_issuer_O"
230 android:
layout_width=
"wrap_content"
231 android:
layout_height=
"wrap_content"
232 android:
text=
"@string/ssl_validator_label_O"
233 android:
textAppearance=
"?android:attr/textAppearanceSmall"
237 android:
id=
"@+id/value_issuer_O"
238 android:
layout_width=
"wrap_content"
239 android:
layout_height=
"wrap_content"
240 android:
paddingBottom=
"5dp"
242 android:
textAppearance=
"?android:attr/textAppearanceSmall"
246 android:
id=
"@+id/label_issuer_OU"
247 android:
layout_width=
"wrap_content"
248 android:
layout_height=
"wrap_content"
249 android:
text=
"@string/ssl_validator_label_OU"
250 android:
textAppearance=
"?android:attr/textAppearanceSmall"
254 android:
id=
"@+id/value_issuer_OU"
255 android:
layout_width=
"wrap_content"
256 android:
layout_height=
"wrap_content"
257 android:
paddingBottom=
"5dp"
259 android:
textAppearance=
"?android:attr/textAppearanceSmall"
263 android:
id=
"@+id/label_issuer_ST"
264 android:
layout_width=
"wrap_content"
265 android:
layout_height=
"wrap_content"
266 android:
text=
"@string/ssl_validator_label_ST"
267 android:
textAppearance=
"?android:attr/textAppearanceSmall"
271 android:
id=
"@+id/value_issuer_ST"
272 android:
layout_width=
"wrap_content"
273 android:
layout_height=
"wrap_content"
274 android:
paddingBottom=
"5dp"
276 android:
textAppearance=
"?android:attr/textAppearanceSmall"
280 android:
id=
"@+id/label_issuer_C"
281 android:
layout_width=
"wrap_content"
282 android:
layout_height=
"wrap_content"
283 android:
text=
"@string/ssl_validator_label_C"
284 android:
textAppearance=
"?android:attr/textAppearanceSmall"
288 android:
id=
"@+id/value_issuer_C"
289 android:
layout_width=
"wrap_content"
290 android:
layout_height=
"wrap_content"
291 android:
paddingBottom=
"5dp"
293 android:
textAppearance=
"?android:attr/textAppearanceSmall"
297 android:
id=
"@+id/label_issuer_L"
298 android:
layout_width=
"wrap_content"
299 android:
layout_height=
"wrap_content"
300 android:
text=
"@string/ssl_validator_label_L"
301 android:
textAppearance=
"?android:attr/textAppearanceSmall"
305 android:
id=
"@+id/value_issuer_L"
306 android:
layout_width=
"wrap_content"
307 android:
layout_height=
"wrap_content"
308 android:
paddingBottom=
"5dp"
310 android:
textAppearance=
"?android:attr/textAppearanceSmall"
314 android:
id=
"@+id/label_validity"
315 android:
layout_width=
"wrap_content"
316 android:
layout_height=
"wrap_content"
317 android:
paddingBottom=
"5dp"
318 android:
text=
"@string/ssl_validator_label_validity"
319 android:
textAppearance=
"?android:attr/textAppearanceMedium"
323 android:
id=
"@+id/label_validity_from"
324 android:
layout_width=
"wrap_content"
325 android:
layout_height=
"wrap_content"
326 android:
text=
"@string/ssl_validator_label_validity_from"
327 android:
textAppearance=
"?android:attr/textAppearanceSmall"
331 android:
id=
"@+id/value_validity_from"
332 android:
layout_width=
"wrap_content"
333 android:
layout_height=
"wrap_content"
334 android:
paddingBottom=
"5dp"
336 android:
textAppearance=
"?android:attr/textAppearanceSmall"
340 android:
id=
"@+id/label_validity_to"
341 android:
layout_width=
"wrap_content"
342 android:
layout_height=
"wrap_content"
343 android:
text=
"@string/ssl_validator_label_validity_to"
344 android:
textAppearance=
"?android:attr/textAppearanceSmall"
348 android:
id=
"@+id/value_validity_to"
349 android:
layout_width=
"wrap_content"
350 android:
layout_height=
"wrap_content"
351 android:
paddingBottom=
"5dp"
353 android:
textAppearance=
"?android:attr/textAppearanceSmall"
358 android:
id=
"@+id/label_signature"
359 android:
layout_width=
"wrap_content"
360 android:
layout_height=
"wrap_content"
361 android:
paddingBottom=
"5dp"
362 android:
text=
"@string/ssl_validator_label_signature"
363 android:
textAppearance=
"?android:attr/textAppearanceMedium"
367 android:
id=
"@+id/label_signature_algorithm"
368 android:
layout_width=
"wrap_content"
369 android:
layout_height=
"wrap_content"
370 android:
text=
"@string/ssl_validator_label_signature_algorithm"
371 android:
textAppearance=
"?android:attr/textAppearanceSmall"
375 android:
id=
"@+id/value_signature_algorithm"
376 android:
layout_width=
"wrap_content"
377 android:
layout_height=
"wrap_content"
378 android:
paddingBottom=
"5dp"
380 android:
textAppearance=
"?android:attr/textAppearanceSmall"
385 android:
id=
"@+id/value_signature"
386 android:
layout_width=
"wrap_content"
387 android:
layout_height=
"wrap_content"
388 android:
paddingBottom=
"5dp"
390 android:
textAppearance=
"?android:attr/textAppearanceSmall"
398 android:
id=
"@+id/question"
399 android:
layout_width=
"wrap_content"
400 android:
layout_height=
"wrap_content"
401 android:
padding=
"5dp"
402 android:
text=
"@string/ssl_validator_question"
403 android:
textAppearance=
"?android:attr/textAppearanceMedium"
408 android:
layout_width=
"match_parent"
409 android:
layout_height=
"wrap_content"
410 android:
gravity=
"center" >
413 android:
id=
"@+id/cancel"
414 android:
layout_width=
"0dp"
415 android:
layout_height=
"wrap_content"
416 android:
layout_weight=
"1"
417 android:
text=
"@string/common_cancel" />
420 android:
id=
"@+id/details_btn"
421 android:
layout_width=
"0dp"
422 android:
layout_height=
"wrap_content"
423 android:
layout_weight=
"1"
424 android:
text=
"@string/ssl_validator_btn_details_see" />
428 android:
layout_width=
"0dp"
429 android:
layout_height=
"wrap_content"
430 android:
layout_weight=
"1"
431 android:
text=
"@string/common_ok" />