summaryrefslogtreecommitdiffstats
path: root/xmlsecurity/source/dialogs/certificateviewer.src
blob: 638c4a32d0597a58ab625298afc636fce5cca389 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
/*************************************************************************
 *
 *  $RCSfile: certificateviewer.src,v $
 *
 *  $Revision: 1.5 $
 *
 *  last change: $Author: mt $ $Date: 2004-07-21 13:57:52 $
 *
 *  The Contents of this file are made available subject to the terms of
 *  either of the following licenses
 *
 *         - GNU Lesser General Public License Version 2.1
 *         - Sun Industry Standards Source License Version 1.1
 *
 *  Sun Microsystems Inc., October, 2000
 *
 *  GNU Lesser General Public License Version 2.1
 *  =============================================
 *  Copyright 2000 by Sun Microsystems, Inc.
 *  901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License version 2.1, as published by the Free Software Foundation.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *  MA  02111-1307  USA
 *
 *
 *  Sun Industry Standards Source License Version 1.1
 *  =================================================
 *  The contents of this file are subject to the Sun Industry Standards
 *  Source License Version 1.1 (the "License"); You may not use this file
 *  except in compliance with the License. You may obtain a copy of the
 *  License at http://www.openoffice.org/license.html.
 *
 *  Software provided under this License is provided on an "AS IS" basis,
 *  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
 *  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
 *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
 *  See the License for the specific provisions governing your rights and
 *  obligations concerning the Software.
 *
 *  The Initial Developer of the Original Code is: Sun Microsystems, Inc.
 *
 *  Copyright: 2000 by Sun Microsystems, Inc.
 *
 *  All Rights Reserved.
 *
 *  Contributor(s): _______________________________________
 *
 *
 ************************************************************************/

#include "dialogs.hrc"

TabDialog RID_XMLSECDLG_CERTVIEWER
{
    // HelpID = HID_XMLSECDLG_CERTVIEWER;
    Size = MAP_APPFONT( TD_WIDTH, TD_HEIGHT );
    OutputSize = TRUE;
    Closeable = TRUE;
    Moveable = TRUE;
    SVLook = TRUE;

    Text = "View Certificate";
    Text [ en-US ] = "View Certificate";
    TabControl 1
    {
        Pos = MAP_APPFONT( TD_SP_INNERBORDER_LEFT, TD_SP_INNERBORDER_TOP );
        Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT+RIDDER_HEIGHT );
        SVLook = TRUE ;
        PageList =
        {
            PageItem
            {
                Identifier = RID_XMLSECTP_GENERAL;
                Text = "General";
                Text [ en-US ] = "General";
            };
            PageItem
            {
                Identifier = RID_XMLSECTP_DETAILS;
                Text = "Details";
                Text [ en-US ] = "Details";
            };
            PageItem
            {
                Identifier = RID_XMLSECTP_CERTPATH;
                Text = "Certification Path";
                Text [ en-US ] = "Certification Path";
            };
        };
    };
    OKButton BTN_OK
    {
        Pos = MAP_APPFONT( CV_COL_A, CV_ROW_A );
        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
        DefButton = TRUE;
    };
    HelpButton BTN_HELP
    {
        Pos = MAP_APPFONT( CV_COL_C, CV_ROW_A );
        Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
    };
};

TabPage RID_XMLSECTP_GENERAL
{
//  HelpId = HID_XMLSECTP_GENERAL;
    Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
    OutputSize = TRUE;
    Hide = TRUE;
    SVLook = TRUE;
    Window WIN_FRAME
    {
        SVLook = TRUE;
        Border = TRUE;
        Pos = MAP_APPFONT( CV_COL_0, CV_ROW_0 );
        Size = MAP_APPFONT( CV_CONT_WIDTH, CV_CONT_HEIGHT );
    };
    FixedImage IMG_CERT
    {
        Pos = MAP_APPFONT( CW_COL_0, CW_ROW_0 );
        Size = MAP_APPFONT( IMG1_WIDTH, IMG1_HEIGHT );
        Fixed = Image
        {
            ImageBitmap = Bitmap { File = "certificate_40x56.png"; };
            MaskColor = STD_MASKCOLOR;
        };
    };
    FixedText FI_CERTINFO
    {
        Pos = MAP_APPFONT( CW_COL_3, CW_ROW_1 );
        Size = MAP_APPFONT( CW_COL_5-CW_COL_3, RSC_CD_FIXEDTEXT_HEIGHT );
        Text = " Certificate Information";
        Text [ en-US ] = " Certificate Information";
    };
    FixedLine FL_SEP1
    {
        Pos = MAP_APPFONT( CW_COL_0, CW_ROW_3 );
        Size = MAP_APPFONT( CW_COL_5-CW_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
    };
    FixedText FI_HINTNOTTRUST
    {
        Pos = MAP_APPFONT( CW_COL_1, CW_ROW_4 );
        Size = MAP_APPFONT( CW_COL_5a-CW_COL_1, CW_ROW_4a-CW_ROW_4 );
        WordBreak = TRUE;
        Text = "This certificate is intended for the following purpose(s):";
        Text [ en-US ] = "This certificate is intended for the following purpose(s):";
    };
    FixedLine FL_SEP2
    {
        Pos = MAP_APPFONT( CW_COL_0, CW_ROW_5 );
        Size = MAP_APPFONT( CW_COL_5-CW_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
    };
    FixedText FI_ISSTOLABEL
    {
        Pos = MAP_APPFONT( CW_COL_1, CW_ROW_6 );
        Size = MAP_APPFONT( CW_COL_4-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
        Text = "Issued to:";
        Text [ en-US ] = "Issued to:";
    };
    FixedText FI_ISSTO
    {
        Pos = MAP_APPFONT( CW_COL_4, CW_ROW_6 );
        Size = MAP_APPFONT( CW_COL_5-CW_COL_4, RSC_CD_FIXEDTEXT_HEIGHT );
    };
    FixedText FI_ISSBYLABEL
    {
        Pos = MAP_APPFONT( CW_COL_1, CW_ROW_7 );
        Size = MAP_APPFONT( CW_COL_4-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
        Text = "Issued by:";
        Text [ en-US ] = "Issued by:";
    };
    FixedText FI_ISSBY
    {
        Pos = MAP_APPFONT( CW_COL_4, CW_ROW_7 );
        Size = MAP_APPFONT( CW_COL_5-CW_COL_4, RSC_CD_FIXEDTEXT_HEIGHT );
    };
    FixedText FI_VALFROMLABEL
    {
        Pos = MAP_APPFONT( CW_COL_1, CW_ROW_8 );
        Size = MAP_APPFONT( CW_COL_4a-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
        Text = "Valid from ";
        Text [ en-US ] = "Valid from ";
    };
    FixedText FI_VALFROM
    {
        Pos = MAP_APPFONT( CW_COL_4a, CW_ROW_8 );
        Size = MAP_APPFONT( CW_COL_4b-CW_COL_4a, RSC_CD_FIXEDTEXT_HEIGHT );
    };
    FixedText FI_VALTOLABEL
    {
        Pos = MAP_APPFONT( CW_COL_4c, CW_ROW_8 );
        Size = MAP_APPFONT( CW_COL_4d-CW_COL_4c, RSC_CD_FIXEDTEXT_HEIGHT );
        Text = " to ";
        Text [ en-US ] = " to ";
    };
    FixedText FI_VALTO
    {
        Pos = MAP_APPFONT( CW_COL_4e, CW_ROW_8 );
        Size = MAP_APPFONT( CW_COL_5-CW_COL_4e, RSC_CD_FIXEDTEXT_HEIGHT );
    };
    FixedImage IMG_KEY
    {
        Pos = MAP_APPFONT( CW_COL_0, CW_ROW_9 );
        Size = MAP_APPFONT( IMG2_WIDTH, IMG2_HEIGHT );
        Fixed = Image
        {
            ImageBitmap = Bitmap { File = "key_12.png"; };
            MaskColor = STD_MASKCOLOR;
        };
    };
    FixedText FI_CORRPRIVKEY
    {
        Pos = MAP_APPFONT( CW_COL_1a, CW_ROW_10 );
        Size = MAP_APPFONT( CW_COL_5-CW_COL_1a, RSC_CD_FIXEDTEXT_HEIGHT );
        Text = "You have a private key that corresponds to this certificate.";
        Text [ en-US ] = "You have a private key that corresponds to this certificate.";
    };
};

TabPage RID_XMLSECTP_DETAILS
{
//  HelpId = HID_XMLSECTP_DETAILS;
    Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
    OutputSize = TRUE;
    Hide = TRUE;
    SVLook = TRUE;
    Control LB_ELEMENTS
    {
        Pos = MAP_APPFONT( CV_COL_0, CV_ROW_0 );
        Size = MAP_APPFONT( CV_CONT_WIDTH, CV_ROW_1-CV_ROW_0 );
        SVLook = TRUE;
        Border = TRUE;
    };
    String STR_HEADERBAR
    {
        Text = "Field\tValue";
        Text [ en-US ] = "Field\tValue";
    };
    MultiLineEdit ML_ELEMENT
    {
        Pos = MAP_APPFONT( CV_COL_0, CV_ROW_2 );
        Size = MAP_APPFONT( CV_CONT_WIDTH, CV_ROW_3-CV_ROW_2 );
        ReadOnly = TRUE;
        Border = TRUE;
        VSCROLL = TRUE;
    };
    String STR_VERSION
    {
        Text = "Version";
        Text [ en-US ] = "Version";
    };
    String STR_SERIALNUM
    {
        Text = "Serial Number";
        Text [ en-US ] = "Serial Number";
    };
    String STR_SIGALGORITHM
    {
        Text = "Signature Algorithm";
        Text [ en-US ] = "Signature Algorithm";
    };
    String STR_ISSUER
    {
        Text = "Issuer";
        Text [ en-US ] = "Issuer";
    };
    String STR_ISSUER_ID
    {
        Text = "Issuer";
        Text [ en-US ] = "Issuer Unique ID";
    };
    String STR_VALIDFROM
    {
        Text = "Valid From";
        Text [ en-US ] = "Valid From";
    };
    String STR_VALIDTO
    {
        Text = "Valid to";
        Text [ en-US ] = "Valid to";
    };
    String STR_SUBJECT
    {
        Text = "Subject";
        Text [ en-US ] = "Subject";
    };
    String STR_SUBJECT_ID
    {
        Text = "Subject Unique ID";
        Text [ en-US ] = "Subject Unique ID";
    };
    String STR_SUBJECT_PUBKEY_ALGO
    {
        Text = "Subject Algorithm";
        Text [ en-US ] = "Subject Algorithm";
    };
    String STR_SUBJECT_PUBKEY_VAL
    {
        Text = "Subject Public Key";
        Text [ en-US ] = "Subject Public Key";
    };
    String STR_SIGNATURE_ALGO
    {
        Text = "Signature Algorithm";
        Text [ en-US ] = "Signature Algorithm";
    };
    String STR_THUMBPRINT_SHA1
    {
        Text = "Thumbprint SHA1";
        Text [ en-US ] = "Thumbprint SHA1";
    };
    String STR_THUMBPRINT_MD5
    {
        Text = "Thumbprint MD5";
        Text [ en-US ] = "Thumbprint MD5";
    };
};

TabPage RID_XMLSECTP_CERTPATH
{
//  HelpId = HID_XMLSECTP_CERTPATH;
    Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
    OutputSize = TRUE;
    Hide = TRUE;
    SVLook = TRUE;
    FixedText FT_CERTPATH
    {
        Pos = MAP_APPFONT( CV_COL_0, CV_ROW_0 );
        Size = MAP_APPFONT( CV_CONT_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
        Text = "Certification path";
        Text [ en-US ] = "Certification path";
    };
    Control LB_SIGNATURES
    {
        Pos = MAP_APPFONT( CV_COL_0, CV_ROW_0A );
        Size = MAP_APPFONT( CV_CONT_WIDTH, CV_ROW_1-CV_ROW_0A - 20 /*HACK MT*/ );
        SVLook = TRUE;
        Border = TRUE;
    };
    PushButton BTN_VIEWCERT
    {
        // MT: Gunnar should check positions, also hack above...
        Pos = MAP_APPFONT( CV_COL_1-(CV_COL_B-CV_COL_A), CV_ROW_0A+CV_ROW_1-CV_ROW_0A - 20 + 5 );
        Size = MAP_APPFONT( CV_COL_B-CV_COL_A, RSC_CD_PUSHBUTTON_HEIGHT );
        Text = "Zertifikat anzeigen...";
        Text [ en-US ] = "View Certificate...";
    };
    FixedText FT_CERTSTATUS
    {
        Pos = MAP_APPFONT( CV_COL_0, CV_ROW_2 );
        Size = MAP_APPFONT( CV_CONT_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
        Text = "Certification status";
        Text [ en-US ] = "Certification status";
    };
    MultiLineEdit ML_CERTSTATUS
    {
        Pos = MAP_APPFONT( CV_COL_0, CV_ROW_2A );
        Size = MAP_APPFONT( CV_CONT_WIDTH, CV_ROW_3-CV_ROW_2A );
        ReadOnly = TRUE;
        Border = TRUE;
    };
};