1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #include "dialogs.hrc"
28 #include "helpids.hrc"
30 TabDialog RID_XMLSECDLG_CERTVIEWER
32 HelpID = HID_XMLSEC_DLG_CERTVIEWER;
33 Size = MAP_APPFONT( TD_WIDTH, TD_HEIGHT );
39 Text [ en-US ] = "View Certificate";
42 Pos = MAP_APPFONT( TD_SP_INNERBORDER_LEFT, TD_SP_INNERBORDER_TOP );
43 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT+RIDDER_HEIGHT );
49 Identifier = RID_XMLSECTP_GENERAL;
50 Text [ en-US ] = "General";
54 Identifier = RID_XMLSECTP_DETAILS;
55 Text [ en-US ] = "Details";
59 Identifier = RID_XMLSECTP_CERTPATH;
60 Text [ en-US ] = "Certification Path";
66 Pos = MAP_APPFONT( CV_COL_A, CV_ROW_A );
67 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
72 Pos = MAP_APPFONT( CV_COL_C, CV_ROW_A );
73 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
77 TabPage RID_XMLSECTP_GENERAL
79 HelpId = HID_XMLSEC_TP_GENERAL;
80 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
88 Pos = MAP_APPFONT( CV_COL_0, CV_ROW_0 );
89 Size = MAP_APPFONT( CV_CONT_WIDTH, CV_CONT_HEIGHT );
93 Pos = MAP_APPFONT( CW_COL_0, CW_ROW_0 );
94 Size = MAP_APPFONT( IMG1_WIDTH, IMG1_HEIGHT );
97 ImageBitmap = Bitmap { File = "certificate_40x56.png"; };
98 MaskColor = STD_MASKCOLOR;
101 FixedText FI_CERTINFO
103 Pos = MAP_APPFONT( CW_COL_3, CW_ROW_1 );
104 Size = MAP_APPFONT( CW_COL_5-CW_COL_3, RSC_CD_FIXEDTEXT_HEIGHT );
105 Text [ en-US ] = " Certificate Information";
109 Pos = MAP_APPFONT( CW_COL_0, CW_ROW_3 );
110 Size = MAP_APPFONT( CW_COL_5-CW_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
112 FixedText FI_HINTNOTTRUST
114 Pos = MAP_APPFONT( CW_COL_1, CW_ROW_4 );
115 Size = MAP_APPFONT( CW_COL_5a-CW_COL_1, CW_ROW_4a-CW_ROW_4 );
117 Text [ en-US ] = "This certificate is intended for the following purpose(s):";
121 Pos = MAP_APPFONT( CW_COL_0, CW_ROW_5 );
122 Size = MAP_APPFONT( CW_COL_5-CW_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
124 FixedText FI_ISSTOLABEL
126 Pos = MAP_APPFONT( CW_COL_1, CW_ROW_6 );
127 Size = MAP_APPFONT( CW_COL_4-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
128 Text [ en-US ] = "Issued to:";
132 Pos = MAP_APPFONT( CW_COL_4, CW_ROW_6 );
133 Size = MAP_APPFONT( CW_COL_5-CW_COL_4, RSC_CD_FIXEDTEXT_HEIGHT );
135 FixedText FI_ISSBYLABEL
137 Pos = MAP_APPFONT( CW_COL_1, CW_ROW_7 );
138 Size = MAP_APPFONT( CW_COL_4-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
139 Text [ en-US ] = "Issued by:";
143 Pos = MAP_APPFONT( CW_COL_4, CW_ROW_7 );
144 Size = MAP_APPFONT( CW_COL_5-CW_COL_4, RSC_CD_FIXEDTEXT_HEIGHT );
146 FixedText FI_VALIDDATE
148 Pos = MAP_APPFONT( CW_COL_1, CW_ROW_8 );
149 Size = MAP_APPFONT( CW_COL_5-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
150 Text [ en-US ] = "Valid from %SDATE% to %EDATE%";
154 Pos = MAP_APPFONT( CW_COL_0, CW_ROW_9 );
155 Size = MAP_APPFONT( IMG2_WIDTH, IMG2_HEIGHT );
158 ImageBitmap = Bitmap { File = "key_12.png"; };
159 MaskColor = STD_MASKCOLOR;
162 FixedText FI_CORRPRIVKEY
164 Pos = MAP_APPFONT( CW_COL_1a, CW_ROW_10 );
165 Size = MAP_APPFONT( CW_COL_5-CW_COL_1a, RSC_CD_FIXEDTEXT_HEIGHT );
166 Text [ en-US ] = "You have a private key that corresponds to this certificate.";
168 String STR_CERTIFICATE_NOT_VALIDATED
170 Text [ en-US ] = "The certificate could not be validated.";
172 Image IMG_STATE_NOT_VALIDATED
174 ImageBitmap = Bitmap { File = "notcertificate_40x56.png"; };
175 MaskColor = STD_MASKCOLOR;
177 Image IMG_STATE_CERIFICATED_HC
179 ImageBitmap = Bitmap { File = "certificate_40x56_h.png"; };
180 MaskColor = STD_MASKCOLOR;
182 Image IMG_STATE_NOT_VALIDATED_HC
184 ImageBitmap = Bitmap { File = "notcertificate_40x56_h.png"; };
185 MaskColor = STD_MASKCOLOR;
189 ImageBitmap = Bitmap { File = "key_12_h.png"; };
190 MaskColor = STD_MASKCOLOR;
194 TabPage RID_XMLSECTP_DETAILS
196 HelpId = HID_XMLSEC_TP_DETAILS;
197 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
203 HelpId = HID_XMLSEC_CTRL_ELEMENTS;
204 Pos = MAP_APPFONT( CV_COL_0, CV_ROW_0 );
205 Size = MAP_APPFONT( CV_CONT_WIDTH, CV_ROW_1-CV_ROW_0 );
211 Text [ en-US ] = "Field\tValue";
213 MultiLineEdit ML_ELEMENT
215 Pos = MAP_APPFONT( CV_COL_0, CV_ROW_2 );
216 Size = MAP_APPFONT( CV_CONT_WIDTH, CV_ROW_3-CV_ROW_2 );
223 Text [ en-US ] = "Version";
227 Text [ en-US ] = "Serial Number";
229 String STR_SIGALGORITHM
231 Text [ en-US ] = "Signature Algorithm";
235 Text [ en-US ] = "Issuer";
239 Text [ en-US ] = "Issuer Unique ID";
243 Text [ en-US ] = "Valid From";
247 Text [ en-US ] = "Valid to";
251 Text [ en-US ] = "Subject";
253 String STR_SUBJECT_ID
255 Text [ en-US ] = "Subject Unique ID";
257 String STR_SUBJECT_PUBKEY_ALGO
259 Text [ en-US ] = "Subject Algorithm";
261 String STR_SUBJECT_PUBKEY_VAL
263 Text [ en-US ] = "Public Key";
265 String STR_SIGNATURE_ALGO
267 Text [ en-US ] = "Signature Algorithm";
269 String STR_THUMBPRINT_SHA1
271 Text [ en-US ] = "Thumbprint SHA1";
273 String STR_THUMBPRINT_MD5
275 Text [ en-US ] = "Thumbprint MD5";
279 TabPage RID_XMLSECTP_CERTPATH
281 HelpId = HID_XMLSEC_TP_CERTPATH;
282 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
286 FixedText FT_CERTPATH
288 Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_0 );
289 Size = MAP_APPFONT( CV_CONT_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
290 Text [ en-US ] = "Certification path";
292 Control LB_SIGNATURES
294 HelpId = HID_XMLSEC_CTRL_VIEWSIGNATURES;
295 Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_1 );
296 Size = MAP_APPFONT( CV_CONT_WIDTH, REST_HEIGHT/3*2 );
300 PushButton BTN_VIEWCERT
302 Pos = MAP_APPFONT( CV_COL_1-(CV_COL_B-CV_COL_A), CVP_ROW_2 );
303 Size = MAP_APPFONT( CV_COL_B-CV_COL_A, RSC_CD_PUSHBUTTON_HEIGHT );
304 Text [ en-US ] = "View Certificate...";
306 FixedText FT_CERTSTATUS
308 Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_3 );
309 Size = MAP_APPFONT( CV_CONT_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
310 Text [ en-US ] = "Certification status";
312 MultiLineEdit ML_CERTSTATUS
314 Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_4 );
315 Size = MAP_APPFONT( CV_CONT_WIDTH, REST_HEIGHT/3 );
321 ImageBitmap = Bitmap { File = "certificate_16.png"; };
322 MaskColor = STD_MASKCOLOR;
324 Image IMG_CERT_SMALL_HC
326 ImageBitmap = Bitmap { File = "certificate_16_h.png"; };
327 MaskColor = STD_MASKCOLOR;
329 Image IMG_CERT_NOTVALIDATED_SMALL
331 ImageBitmap = Bitmap { File = "notcertificate_16.png"; };
332 MaskColor = STD_MASKCOLOR;
334 Image IMG_CERT_NOTVALIDATED_SMALL_HC
336 ImageBitmap = Bitmap { File = "notcertificate_16_h.png"; };
337 MaskColor = STD_MASKCOLOR;
339 String STR_PATH_CERT_OK
341 Text [ en-US ] = "The certificate is OK.";
343 String STR_PATH_CERT_NOT_VALIDATED
345 Text [ en-US ] = "The certificate could not be validated.";