1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: certificateviewer.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #include "dialogs.hrc"
31 #include "helpids.hrc"
33 TabDialog RID_XMLSECDLG_CERTVIEWER
35 HelpID = HID_XMLSEC_DLG_CERTVIEWER;
36 Size = MAP_APPFONT( TD_WIDTH, TD_HEIGHT );
42 Text [ en-US ] = "View Certificate";
45 Pos = MAP_APPFONT( TD_SP_INNERBORDER_LEFT, TD_SP_INNERBORDER_TOP );
46 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT+RIDDER_HEIGHT );
52 Identifier = RID_XMLSECTP_GENERAL;
53 Text [ en-US ] = "General";
57 Identifier = RID_XMLSECTP_DETAILS;
58 Text [ en-US ] = "Details";
62 Identifier = RID_XMLSECTP_CERTPATH;
63 Text [ en-US ] = "Certification Path";
69 Pos = MAP_APPFONT( CV_COL_A, CV_ROW_A );
70 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
75 Pos = MAP_APPFONT( CV_COL_C, CV_ROW_A );
76 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
80 TabPage RID_XMLSECTP_GENERAL
82 HelpId = HID_XMLSEC_TP_GENERAL;
83 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
91 Pos = MAP_APPFONT( CV_COL_0, CV_ROW_0 );
92 Size = MAP_APPFONT( CV_CONT_WIDTH, CV_CONT_HEIGHT );
96 Pos = MAP_APPFONT( CW_COL_0, CW_ROW_0 );
97 Size = MAP_APPFONT( IMG1_WIDTH, IMG1_HEIGHT );
100 ImageBitmap = Bitmap { File = "certificate_40x56.png"; };
101 MaskColor = STD_MASKCOLOR;
104 FixedText FI_CERTINFO
106 Pos = MAP_APPFONT( CW_COL_3, CW_ROW_1 );
107 Size = MAP_APPFONT( CW_COL_5-CW_COL_3, RSC_CD_FIXEDTEXT_HEIGHT );
108 Text [ en-US ] = " Certificate Information";
112 Pos = MAP_APPFONT( CW_COL_0, CW_ROW_3 );
113 Size = MAP_APPFONT( CW_COL_5-CW_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
115 FixedText FI_HINTNOTTRUST
117 Pos = MAP_APPFONT( CW_COL_1, CW_ROW_4 );
118 Size = MAP_APPFONT( CW_COL_5a-CW_COL_1, CW_ROW_4a-CW_ROW_4 );
120 Text [ en-US ] = "This certificate is intended for the following purpose(s):";
124 Pos = MAP_APPFONT( CW_COL_0, CW_ROW_5 );
125 Size = MAP_APPFONT( CW_COL_5-CW_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
127 FixedText FI_ISSTOLABEL
129 Pos = MAP_APPFONT( CW_COL_1, CW_ROW_6 );
130 Size = MAP_APPFONT( CW_COL_4-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
131 Text [ en-US ] = "Issued to:";
135 Pos = MAP_APPFONT( CW_COL_4, CW_ROW_6 );
136 Size = MAP_APPFONT( CW_COL_5-CW_COL_4, RSC_CD_FIXEDTEXT_HEIGHT );
138 FixedText FI_ISSBYLABEL
140 Pos = MAP_APPFONT( CW_COL_1, CW_ROW_7 );
141 Size = MAP_APPFONT( CW_COL_4-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
142 Text [ en-US ] = "Issued by:";
146 Pos = MAP_APPFONT( CW_COL_4, CW_ROW_7 );
147 Size = MAP_APPFONT( CW_COL_5-CW_COL_4, RSC_CD_FIXEDTEXT_HEIGHT );
149 FixedText FI_VALIDDATE
151 Pos = MAP_APPFONT( CW_COL_1, CW_ROW_8 );
152 Size = MAP_APPFONT( CW_COL_5-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
153 Text [ en-US ] = "Valid from %SDATE% to %EDATE%";
157 Pos = MAP_APPFONT( CW_COL_0, CW_ROW_9 );
158 Size = MAP_APPFONT( IMG2_WIDTH, IMG2_HEIGHT );
161 ImageBitmap = Bitmap { File = "key_12.png"; };
162 MaskColor = STD_MASKCOLOR;
165 FixedText FI_CORRPRIVKEY
167 Pos = MAP_APPFONT( CW_COL_1a, CW_ROW_10 );
168 Size = MAP_APPFONT( CW_COL_5-CW_COL_1a, RSC_CD_FIXEDTEXT_HEIGHT );
169 Text [ en-US ] = "You have a private key that corresponds to this certificate.";
171 String STR_CERTIFICATE_NOT_VALIDATED
173 Text [ en-US ] = "The certificate could not be validated.";
175 Image IMG_STATE_NOT_VALIDATED
177 ImageBitmap = Bitmap { File = "notcertificate_40x56.png"; };
178 MaskColor = STD_MASKCOLOR;
180 Image IMG_STATE_CERIFICATED_HC
182 ImageBitmap = Bitmap { File = "certificate_40x56_h.png"; };
183 MaskColor = STD_MASKCOLOR;
185 Image IMG_STATE_NOT_VALIDATED_HC
187 ImageBitmap = Bitmap { File = "notcertificate_40x56_h.png"; };
188 MaskColor = STD_MASKCOLOR;
192 ImageBitmap = Bitmap { File = "key_12_h.png"; };
193 MaskColor = STD_MASKCOLOR;
197 TabPage RID_XMLSECTP_DETAILS
199 HelpId = HID_XMLSEC_TP_DETAILS;
200 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
206 HelpId = HID_XMLSEC_CTRL_ELEMENTS;
207 Pos = MAP_APPFONT( CV_COL_0, CV_ROW_0 );
208 Size = MAP_APPFONT( CV_CONT_WIDTH, CV_ROW_1-CV_ROW_0 );
214 Text [ en-US ] = "Field\tValue";
216 MultiLineEdit ML_ELEMENT
218 Pos = MAP_APPFONT( CV_COL_0, CV_ROW_2 );
219 Size = MAP_APPFONT( CV_CONT_WIDTH, CV_ROW_3-CV_ROW_2 );
226 Text [ en-US ] = "Version";
230 Text [ en-US ] = "Serial Number";
232 String STR_SIGALGORITHM
234 Text [ en-US ] = "Signature Algorithm";
238 Text [ en-US ] = "Issuer";
242 Text [ en-US ] = "Issuer Unique ID";
246 Text [ en-US ] = "Valid From";
250 Text [ en-US ] = "Valid to";
254 Text [ en-US ] = "Subject";
256 String STR_SUBJECT_ID
258 Text [ en-US ] = "Subject Unique ID";
260 String STR_SUBJECT_PUBKEY_ALGO
262 Text [ en-US ] = "Subject Algorithm";
264 String STR_SUBJECT_PUBKEY_VAL
266 Text [ en-US ] = "Public Key";
268 String STR_SIGNATURE_ALGO
270 Text [ en-US ] = "Signature Algorithm";
272 String STR_THUMBPRINT_SHA1
274 Text [ en-US ] = "Thumbprint SHA1";
276 String STR_THUMBPRINT_MD5
278 Text [ en-US ] = "Thumbprint MD5";
282 TabPage RID_XMLSECTP_CERTPATH
284 HelpId = HID_XMLSEC_TP_CERTPATH;
285 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
289 FixedText FT_CERTPATH
291 Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_0 );
292 Size = MAP_APPFONT( CV_CONT_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
293 Text [ en-US ] = "Certification path";
295 Control LB_SIGNATURES
297 HelpId = HID_XMLSEC_CTRL_VIEWSIGNATURES;
298 Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_1 );
299 Size = MAP_APPFONT( CV_CONT_WIDTH, REST_HEIGHT/3*2 );
303 PushButton BTN_VIEWCERT
305 Pos = MAP_APPFONT( CV_COL_1-(CV_COL_B-CV_COL_A), CVP_ROW_2 );
306 Size = MAP_APPFONT( CV_COL_B-CV_COL_A, RSC_CD_PUSHBUTTON_HEIGHT );
307 Text [ en-US ] = "View Certificate...";
309 FixedText FT_CERTSTATUS
311 Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_3 );
312 Size = MAP_APPFONT( CV_CONT_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
313 Text [ en-US ] = "Certification status";
315 MultiLineEdit ML_CERTSTATUS
317 Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_4 );
318 Size = MAP_APPFONT( CV_CONT_WIDTH, REST_HEIGHT/3 );
324 ImageBitmap = Bitmap { File = "certificate_16.png"; };
325 MaskColor = STD_MASKCOLOR;
327 Image IMG_CERT_SMALL_HC
329 ImageBitmap = Bitmap { File = "certificate_16_h.png"; };
330 MaskColor = STD_MASKCOLOR;
332 Image IMG_CERT_NOTVALIDATED_SMALL
334 ImageBitmap = Bitmap { File = "notcertificate_16.png"; };
335 MaskColor = STD_MASKCOLOR;
337 Image IMG_CERT_NOTVALIDATED_SMALL_HC
339 ImageBitmap = Bitmap { File = "notcertificate_16_h.png"; };
340 MaskColor = STD_MASKCOLOR;
342 String STR_PATH_CERT_OK
344 Text [ en-US ] = "The certificate is OK.";
346 String STR_PATH_CERT_NOT_VALIDATED
348 Text [ en-US ] = "The certificate could not be validated.";