1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include "dialogs.hrc"
21 #include "helpids.hrc"
23 TabDialog RID_XMLSECDLG_CERTVIEWER
25 HelpID = HID_XMLSEC_DLG_CERTVIEWER;
26 Size = MAP_APPFONT( TD_WIDTH, TD_HEIGHT );
32 Text [ en-US ] = "View Certificate";
35 Pos = MAP_APPFONT( TD_SP_INNERBORDER_LEFT, TD_SP_INNERBORDER_TOP );
36 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT+RIDDER_HEIGHT );
42 Identifier = RID_XMLSECTP_GENERAL;
43 Text [ en-US ] = "General";
47 Identifier = RID_XMLSECTP_DETAILS;
48 Text [ en-US ] = "Details";
52 Identifier = RID_XMLSECTP_CERTPATH;
53 Text [ en-US ] = "Certification Path";
59 Pos = MAP_APPFONT( CV_COL_A, CV_ROW_A );
60 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
65 Pos = MAP_APPFONT( CV_COL_C, CV_ROW_A );
66 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
70 TabPage RID_XMLSECTP_GENERAL
72 HelpId = HID_XMLSEC_TP_GENERAL;
73 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
81 Pos = MAP_APPFONT( CV_COL_0, CV_ROW_0 );
82 Size = MAP_APPFONT( CV_CONT_WIDTH, CV_CONT_HEIGHT );
86 Pos = MAP_APPFONT( CW_COL_0, CW_ROW_0 );
87 Size = MAP_APPFONT( IMG1_WIDTH, IMG1_HEIGHT );
90 ImageBitmap = Bitmap { File = "certificate_40x56.png"; };
91 MaskColor = STD_MASKCOLOR;
96 Pos = MAP_APPFONT( CW_COL_3, CW_ROW_1 );
97 Size = MAP_APPFONT( CW_COL_5-CW_COL_3, RSC_CD_FIXEDTEXT_HEIGHT );
98 Text [ en-US ] = " Certificate Information";
102 Pos = MAP_APPFONT( CW_COL_0, CW_ROW_3 );
103 Size = MAP_APPFONT( CW_COL_5-CW_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
105 FixedText FI_HINTNOTTRUST
107 Pos = MAP_APPFONT( CW_COL_1, CW_ROW_4 );
108 Size = MAP_APPFONT( CW_COL_5a-CW_COL_1, CW_ROW_4a-CW_ROW_4 );
110 Text [ en-US ] = "This certificate is intended for the following purpose(s):";
114 Pos = MAP_APPFONT( CW_COL_0, CW_ROW_5 );
115 Size = MAP_APPFONT( CW_COL_5-CW_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
117 FixedText FI_ISSTOLABEL
119 Pos = MAP_APPFONT( CW_COL_1, CW_ROW_6 );
120 Size = MAP_APPFONT( CW_COL_4-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
121 Text [ en-US ] = "Issued to:";
125 Pos = MAP_APPFONT( CW_COL_4, CW_ROW_6 );
126 Size = MAP_APPFONT( CW_COL_5-CW_COL_4, RSC_CD_FIXEDTEXT_HEIGHT );
128 FixedText FI_ISSBYLABEL
130 Pos = MAP_APPFONT( CW_COL_1, CW_ROW_7 );
131 Size = MAP_APPFONT( CW_COL_4-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
132 Text [ en-US ] = "Issued by:";
136 Pos = MAP_APPFONT( CW_COL_4, CW_ROW_7 );
137 Size = MAP_APPFONT( CW_COL_5-CW_COL_4, RSC_CD_FIXEDTEXT_HEIGHT );
139 FixedText FI_VALIDDATE
141 Pos = MAP_APPFONT( CW_COL_1, CW_ROW_8 );
142 Size = MAP_APPFONT( CW_COL_5-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
143 Text [ en-US ] = "Valid from %SDATE% to %EDATE%";
147 Pos = MAP_APPFONT( CW_COL_0, CW_ROW_9 );
148 Size = MAP_APPFONT( IMG2_WIDTH, IMG2_HEIGHT );
151 ImageBitmap = Bitmap { File = "key_12.png"; };
152 MaskColor = STD_MASKCOLOR;
155 FixedText FI_CORRPRIVKEY
157 Pos = MAP_APPFONT( CW_COL_1a, CW_ROW_10 );
158 Size = MAP_APPFONT( CW_COL_5-CW_COL_1a, RSC_CD_FIXEDTEXT_HEIGHT );
159 Text [ en-US ] = "You have a private key that corresponds to this certificate.";
161 String STR_CERTIFICATE_NOT_VALIDATED
163 Text [ en-US ] = "The certificate could not be validated.";
165 Image IMG_STATE_NOT_VALIDATED
167 ImageBitmap = Bitmap { File = "notcertificate_40x56.png"; };
168 MaskColor = STD_MASKCOLOR;
172 TabPage RID_XMLSECTP_DETAILS
174 HelpId = HID_XMLSEC_TP_DETAILS;
175 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
181 HelpId = HID_XMLSEC_CTRL_ELEMENTS;
182 Pos = MAP_APPFONT( CV_COL_0, CV_ROW_0 );
183 Size = MAP_APPFONT( CV_CONT_WIDTH, CV_ROW_1-CV_ROW_0 );
189 Text [ en-US ] = "Field\tValue";
191 MultiLineEdit ML_ELEMENT
193 HelpID = "xmlsecurity:MultiLineEdit:RID_XMLSECTP_DETAILS:ML_ELEMENT";
194 Pos = MAP_APPFONT( CV_COL_0, CV_ROW_2 );
195 Size = MAP_APPFONT( CV_CONT_WIDTH, CV_ROW_3-CV_ROW_2 );
202 Text [ en-US ] = "Version";
206 Text [ en-US ] = "Serial Number";
208 String STR_SIGALGORITHM
210 Text [ en-US ] = "Signature Algorithm";
214 Text [ en-US ] = "Issuer";
218 Text [ en-US ] = "Issuer Unique ID";
222 Text [ en-US ] = "Valid From";
226 Text [ en-US ] = "Valid to";
230 Text [ en-US ] = "Subject";
232 String STR_SUBJECT_ID
234 Text [ en-US ] = "Subject Unique ID";
236 String STR_SUBJECT_PUBKEY_ALGO
238 Text [ en-US ] = "Subject Algorithm";
240 String STR_SUBJECT_PUBKEY_VAL
242 Text [ en-US ] = "Public Key";
244 String STR_SIGNATURE_ALGO
246 Text [ en-US ] = "Signature Algorithm";
248 String STR_THUMBPRINT_SHA1
250 Text [ en-US ] = "Thumbprint SHA1";
252 String STR_THUMBPRINT_MD5
254 Text [ en-US ] = "Thumbprint MD5";
258 TabPage RID_XMLSECTP_CERTPATH
260 HelpId = HID_XMLSEC_TP_CERTPATH;
261 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
265 FixedText FT_CERTPATH
267 Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_0 );
268 Size = MAP_APPFONT( CV_CONT_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
269 Text [ en-US ] = "Certification path";
271 Control LB_SIGNATURES
273 HelpId = HID_XMLSEC_CTRL_VIEWSIGNATURES;
274 Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_1 );
275 Size = MAP_APPFONT( CV_CONT_WIDTH, REST_HEIGHT/3*2 );
279 PushButton BTN_VIEWCERT
281 HelpID = "xmlsecurity:PushButton:RID_XMLSECTP_CERTPATH:BTN_VIEWCERT";
282 Pos = MAP_APPFONT( CV_COL_1-(CV_COL_B-CV_COL_A), CVP_ROW_2 );
283 Size = MAP_APPFONT( CV_COL_B-CV_COL_A, RSC_CD_PUSHBUTTON_HEIGHT );
284 Text [ en-US ] = "View Certificate...";
286 FixedText FT_CERTSTATUS
288 Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_3 );
289 Size = MAP_APPFONT( CV_CONT_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
290 Text [ en-US ] = "Certification status";
292 MultiLineEdit ML_CERTSTATUS
294 HelpID = "xmlsecurity:MultiLineEdit:RID_XMLSECTP_CERTPATH:ML_CERTSTATUS";
295 Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_4 );
296 Size = MAP_APPFONT( CV_CONT_WIDTH, REST_HEIGHT/3 );
302 ImageBitmap = Bitmap { File = "certificate_16.png"; };
303 MaskColor = STD_MASKCOLOR;
305 Image IMG_CERT_NOTVALIDATED_SMALL
307 ImageBitmap = Bitmap { File = "notcertificate_16.png"; };
308 MaskColor = STD_MASKCOLOR;
310 String STR_PATH_CERT_OK
312 Text [ en-US ] = "The certificate is OK.";
314 String STR_PATH_CERT_NOT_VALIDATED
316 Text [ en-US ] = "The certificate could not be validated.";
320 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */