1*b1cdbd2cSJim Jagielski/**************************************************************
2*b1cdbd2cSJim Jagielski *
3*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one
4*b1cdbd2cSJim Jagielski * or more contributor license agreements.  See the NOTICE file
5*b1cdbd2cSJim Jagielski * distributed with this work for additional information
6*b1cdbd2cSJim Jagielski * regarding copyright ownership.  The ASF licenses this file
7*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the
8*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance
9*b1cdbd2cSJim Jagielski * with the License.  You may obtain a copy of the License at
10*b1cdbd2cSJim Jagielski *
11*b1cdbd2cSJim Jagielski *   http://www.apache.org/licenses/LICENSE-2.0
12*b1cdbd2cSJim Jagielski *
13*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing,
14*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an
15*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*b1cdbd2cSJim Jagielski * KIND, either express or implied.  See the License for the
17*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations
18*b1cdbd2cSJim Jagielski * under the License.
19*b1cdbd2cSJim Jagielski *
20*b1cdbd2cSJim Jagielski *************************************************************/
21*b1cdbd2cSJim Jagielski
22*b1cdbd2cSJim Jagielski
23*b1cdbd2cSJim Jagielski#include "dialogs.hrc"
24*b1cdbd2cSJim Jagielski#include "helpids.hrc"
25*b1cdbd2cSJim Jagielski
26*b1cdbd2cSJim JagielskiTabDialog RID_XMLSECDLG_CERTVIEWER
27*b1cdbd2cSJim Jagielski{
28*b1cdbd2cSJim Jagielski    HelpID = HID_XMLSEC_DLG_CERTVIEWER;
29*b1cdbd2cSJim Jagielski	Size = MAP_APPFONT( TD_WIDTH, TD_HEIGHT );
30*b1cdbd2cSJim Jagielski	OutputSize = TRUE;
31*b1cdbd2cSJim Jagielski	Closeable = TRUE;
32*b1cdbd2cSJim Jagielski	Moveable = TRUE;
33*b1cdbd2cSJim Jagielski	SVLook = TRUE;
34*b1cdbd2cSJim Jagielski
35*b1cdbd2cSJim Jagielski	Text [ en-US ] = "View Certificate";
36*b1cdbd2cSJim Jagielski	TabControl 1
37*b1cdbd2cSJim Jagielski	{
38*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( TD_SP_INNERBORDER_LEFT, TD_SP_INNERBORDER_TOP );
39*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT+RIDDER_HEIGHT );
40*b1cdbd2cSJim Jagielski		SVLook = TRUE ;
41*b1cdbd2cSJim Jagielski		PageList =
42*b1cdbd2cSJim Jagielski		{
43*b1cdbd2cSJim Jagielski			PageItem
44*b1cdbd2cSJim Jagielski			{
45*b1cdbd2cSJim Jagielski				Identifier = RID_XMLSECTP_GENERAL;
46*b1cdbd2cSJim Jagielski				Text [ en-US ] = "General";
47*b1cdbd2cSJim Jagielski			};
48*b1cdbd2cSJim Jagielski			PageItem
49*b1cdbd2cSJim Jagielski			{
50*b1cdbd2cSJim Jagielski				Identifier = RID_XMLSECTP_DETAILS;
51*b1cdbd2cSJim Jagielski				Text [ en-US ] = "Details";
52*b1cdbd2cSJim Jagielski			};
53*b1cdbd2cSJim Jagielski			PageItem
54*b1cdbd2cSJim Jagielski			{
55*b1cdbd2cSJim Jagielski				Identifier = RID_XMLSECTP_CERTPATH;
56*b1cdbd2cSJim Jagielski				Text [ en-US ] = "Certification Path";
57*b1cdbd2cSJim Jagielski			};
58*b1cdbd2cSJim Jagielski		};
59*b1cdbd2cSJim Jagielski	};
60*b1cdbd2cSJim Jagielski	OKButton BTN_OK
61*b1cdbd2cSJim Jagielski	{
62*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CV_COL_A, CV_ROW_A );
63*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
64*b1cdbd2cSJim Jagielski		DefButton = TRUE;
65*b1cdbd2cSJim Jagielski	};
66*b1cdbd2cSJim Jagielski	HelpButton BTN_HELP
67*b1cdbd2cSJim Jagielski	{
68*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CV_COL_C, CV_ROW_A );
69*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
70*b1cdbd2cSJim Jagielski	};
71*b1cdbd2cSJim Jagielski};
72*b1cdbd2cSJim Jagielski
73*b1cdbd2cSJim JagielskiTabPage RID_XMLSECTP_GENERAL
74*b1cdbd2cSJim Jagielski{
75*b1cdbd2cSJim Jagielski    HelpId = HID_XMLSEC_TP_GENERAL;
76*b1cdbd2cSJim Jagielski	Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
77*b1cdbd2cSJim Jagielski	OutputSize = TRUE;
78*b1cdbd2cSJim Jagielski	Hide = TRUE;
79*b1cdbd2cSJim Jagielski	SVLook = TRUE;
80*b1cdbd2cSJim Jagielski	Window WIN_FRAME
81*b1cdbd2cSJim Jagielski	{
82*b1cdbd2cSJim Jagielski		SVLook = TRUE;
83*b1cdbd2cSJim Jagielski		Border = TRUE;
84*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CV_COL_0, CV_ROW_0 );
85*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( CV_CONT_WIDTH, CV_CONT_HEIGHT );
86*b1cdbd2cSJim Jagielski	};
87*b1cdbd2cSJim Jagielski	FixedImage IMG_CERT
88*b1cdbd2cSJim Jagielski	{
89*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CW_COL_0, CW_ROW_0 );
90*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( IMG1_WIDTH, IMG1_HEIGHT );
91*b1cdbd2cSJim Jagielski		Fixed = Image
92*b1cdbd2cSJim Jagielski		{
93*b1cdbd2cSJim Jagielski			ImageBitmap = Bitmap { File = "certificate_40x56.png"; };
94*b1cdbd2cSJim Jagielski			MaskColor = STD_MASKCOLOR;
95*b1cdbd2cSJim Jagielski		};
96*b1cdbd2cSJim Jagielski	};
97*b1cdbd2cSJim Jagielski	FixedText FI_CERTINFO
98*b1cdbd2cSJim Jagielski	{
99*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CW_COL_3, CW_ROW_1 );
100*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( CW_COL_5-CW_COL_3, RSC_CD_FIXEDTEXT_HEIGHT );
101*b1cdbd2cSJim Jagielski		Text [ en-US ] = " Certificate Information";
102*b1cdbd2cSJim Jagielski	};
103*b1cdbd2cSJim Jagielski	FixedLine FL_SEP1
104*b1cdbd2cSJim Jagielski	{
105*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CW_COL_0, CW_ROW_3 );
106*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( CW_COL_5-CW_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
107*b1cdbd2cSJim Jagielski	};
108*b1cdbd2cSJim Jagielski	FixedText FI_HINTNOTTRUST
109*b1cdbd2cSJim Jagielski	{
110*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CW_COL_1, CW_ROW_4 );
111*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( CW_COL_5a-CW_COL_1, CW_ROW_4a-CW_ROW_4 );
112*b1cdbd2cSJim Jagielski		WordBreak = TRUE;
113*b1cdbd2cSJim Jagielski		Text [ en-US ] = "This certificate is intended for the following purpose(s):";
114*b1cdbd2cSJim Jagielski	};
115*b1cdbd2cSJim Jagielski	FixedLine FL_SEP2
116*b1cdbd2cSJim Jagielski	{
117*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CW_COL_0, CW_ROW_5 );
118*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( CW_COL_5-CW_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
119*b1cdbd2cSJim Jagielski	};
120*b1cdbd2cSJim Jagielski	FixedText FI_ISSTOLABEL
121*b1cdbd2cSJim Jagielski	{
122*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CW_COL_1, CW_ROW_6 );
123*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( CW_COL_4-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
124*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Issued to:";
125*b1cdbd2cSJim Jagielski	};
126*b1cdbd2cSJim Jagielski	FixedText FI_ISSTO
127*b1cdbd2cSJim Jagielski	{
128*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CW_COL_4, CW_ROW_6 );
129*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( CW_COL_5-CW_COL_4, RSC_CD_FIXEDTEXT_HEIGHT );
130*b1cdbd2cSJim Jagielski	};
131*b1cdbd2cSJim Jagielski	FixedText FI_ISSBYLABEL
132*b1cdbd2cSJim Jagielski	{
133*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CW_COL_1, CW_ROW_7 );
134*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( CW_COL_4-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
135*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Issued by:";
136*b1cdbd2cSJim Jagielski	};
137*b1cdbd2cSJim Jagielski	FixedText FI_ISSBY
138*b1cdbd2cSJim Jagielski	{
139*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CW_COL_4, CW_ROW_7 );
140*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( CW_COL_5-CW_COL_4, RSC_CD_FIXEDTEXT_HEIGHT );
141*b1cdbd2cSJim Jagielski	};
142*b1cdbd2cSJim Jagielski    FixedText FI_VALIDDATE
143*b1cdbd2cSJim Jagielski	{
144*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CW_COL_1, CW_ROW_8 );
145*b1cdbd2cSJim Jagielski        Size = MAP_APPFONT( CW_COL_5-CW_COL_1-1, RSC_CD_FIXEDTEXT_HEIGHT );
146*b1cdbd2cSJim Jagielski        Text [ en-US ] = "Valid from %SDATE% to %EDATE%";
147*b1cdbd2cSJim Jagielski	};
148*b1cdbd2cSJim Jagielski	FixedImage IMG_KEY
149*b1cdbd2cSJim Jagielski	{
150*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CW_COL_0, CW_ROW_9 );
151*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( IMG2_WIDTH, IMG2_HEIGHT );
152*b1cdbd2cSJim Jagielski		Fixed = Image
153*b1cdbd2cSJim Jagielski		{
154*b1cdbd2cSJim Jagielski			ImageBitmap = Bitmap { File = "key_12.png"; };
155*b1cdbd2cSJim Jagielski			MaskColor = STD_MASKCOLOR;
156*b1cdbd2cSJim Jagielski		};
157*b1cdbd2cSJim Jagielski	};
158*b1cdbd2cSJim Jagielski	FixedText FI_CORRPRIVKEY
159*b1cdbd2cSJim Jagielski	{
160*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CW_COL_1a, CW_ROW_10 );
161*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( CW_COL_5-CW_COL_1a, RSC_CD_FIXEDTEXT_HEIGHT );
162*b1cdbd2cSJim Jagielski		Text [ en-US ] = "You have a private key that corresponds to this certificate.";
163*b1cdbd2cSJim Jagielski	};
164*b1cdbd2cSJim Jagielski	String STR_CERTIFICATE_NOT_VALIDATED
165*b1cdbd2cSJim Jagielski	{
166*b1cdbd2cSJim Jagielski		Text [ en-US ] = "The certificate could not be validated.";
167*b1cdbd2cSJim Jagielski	};
168*b1cdbd2cSJim Jagielski    Image IMG_STATE_NOT_VALIDATED
169*b1cdbd2cSJim Jagielski    {
170*b1cdbd2cSJim Jagielski	    ImageBitmap = Bitmap { File = "notcertificate_40x56.png"; };
171*b1cdbd2cSJim Jagielski       	MaskColor = STD_MASKCOLOR;
172*b1cdbd2cSJim Jagielski	};
173*b1cdbd2cSJim Jagielski    Image IMG_STATE_CERIFICATED_HC
174*b1cdbd2cSJim Jagielski    {
175*b1cdbd2cSJim Jagielski	    ImageBitmap = Bitmap { File = "certificate_40x56_h.png"; };
176*b1cdbd2cSJim Jagielski       	MaskColor = STD_MASKCOLOR;
177*b1cdbd2cSJim Jagielski	};
178*b1cdbd2cSJim Jagielski    Image IMG_STATE_NOT_VALIDATED_HC
179*b1cdbd2cSJim Jagielski    {
180*b1cdbd2cSJim Jagielski	    ImageBitmap = Bitmap { File = "notcertificate_40x56_h.png"; };
181*b1cdbd2cSJim Jagielski       	MaskColor = STD_MASKCOLOR;
182*b1cdbd2cSJim Jagielski	};
183*b1cdbd2cSJim Jagielski    Image IMG_KEY_HC
184*b1cdbd2cSJim Jagielski    {
185*b1cdbd2cSJim Jagielski	    ImageBitmap = Bitmap { File = "key_12_h.png"; };
186*b1cdbd2cSJim Jagielski       	MaskColor = STD_MASKCOLOR;
187*b1cdbd2cSJim Jagielski	};
188*b1cdbd2cSJim Jagielski};
189*b1cdbd2cSJim Jagielski
190*b1cdbd2cSJim JagielskiTabPage RID_XMLSECTP_DETAILS
191*b1cdbd2cSJim Jagielski{
192*b1cdbd2cSJim Jagielski    HelpId = HID_XMLSEC_TP_DETAILS;
193*b1cdbd2cSJim Jagielski	Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
194*b1cdbd2cSJim Jagielski	OutputSize = TRUE;
195*b1cdbd2cSJim Jagielski	Hide = TRUE;
196*b1cdbd2cSJim Jagielski	SVLook = TRUE;
197*b1cdbd2cSJim Jagielski	Control LB_ELEMENTS
198*b1cdbd2cSJim Jagielski	{
199*b1cdbd2cSJim Jagielski        HelpId = HID_XMLSEC_CTRL_ELEMENTS;
200*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CV_COL_0, CV_ROW_0 );
201*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( CV_CONT_WIDTH, CV_ROW_1-CV_ROW_0 );
202*b1cdbd2cSJim Jagielski		SVLook = TRUE;
203*b1cdbd2cSJim Jagielski		Border = TRUE;
204*b1cdbd2cSJim Jagielski	};
205*b1cdbd2cSJim Jagielski	String STR_HEADERBAR
206*b1cdbd2cSJim Jagielski	{
207*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Field\tValue";
208*b1cdbd2cSJim Jagielski	};
209*b1cdbd2cSJim Jagielski	MultiLineEdit ML_ELEMENT
210*b1cdbd2cSJim Jagielski	{
211*b1cdbd2cSJim Jagielski	    HelpID = "xmlsecurity:MultiLineEdit:RID_XMLSECTP_DETAILS:ML_ELEMENT";
212*b1cdbd2cSJim Jagielski		Pos = MAP_APPFONT( CV_COL_0, CV_ROW_2 );
213*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( CV_CONT_WIDTH, CV_ROW_3-CV_ROW_2 );
214*b1cdbd2cSJim Jagielski		ReadOnly = TRUE;
215*b1cdbd2cSJim Jagielski		Border = TRUE;
216*b1cdbd2cSJim Jagielski		VSCROLL = TRUE;
217*b1cdbd2cSJim Jagielski	};
218*b1cdbd2cSJim Jagielski	String STR_VERSION
219*b1cdbd2cSJim Jagielski	{
220*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Version";
221*b1cdbd2cSJim Jagielski	};
222*b1cdbd2cSJim Jagielski	String STR_SERIALNUM
223*b1cdbd2cSJim Jagielski	{
224*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Serial Number";
225*b1cdbd2cSJim Jagielski	};
226*b1cdbd2cSJim Jagielski	String STR_SIGALGORITHM
227*b1cdbd2cSJim Jagielski	{
228*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Signature Algorithm";
229*b1cdbd2cSJim Jagielski	};
230*b1cdbd2cSJim Jagielski	String STR_ISSUER
231*b1cdbd2cSJim Jagielski	{
232*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Issuer";
233*b1cdbd2cSJim Jagielski	};
234*b1cdbd2cSJim Jagielski	String STR_ISSUER_ID
235*b1cdbd2cSJim Jagielski	{
236*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Issuer Unique ID";
237*b1cdbd2cSJim Jagielski	};
238*b1cdbd2cSJim Jagielski	String STR_VALIDFROM
239*b1cdbd2cSJim Jagielski	{
240*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Valid From";
241*b1cdbd2cSJim Jagielski	};
242*b1cdbd2cSJim Jagielski	String STR_VALIDTO
243*b1cdbd2cSJim Jagielski	{
244*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Valid to";
245*b1cdbd2cSJim Jagielski	};
246*b1cdbd2cSJim Jagielski	String STR_SUBJECT
247*b1cdbd2cSJim Jagielski	{
248*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Subject";
249*b1cdbd2cSJim Jagielski	};
250*b1cdbd2cSJim Jagielski	String STR_SUBJECT_ID
251*b1cdbd2cSJim Jagielski	{
252*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Subject Unique ID";
253*b1cdbd2cSJim Jagielski	};
254*b1cdbd2cSJim Jagielski	String STR_SUBJECT_PUBKEY_ALGO
255*b1cdbd2cSJim Jagielski	{
256*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Subject Algorithm";
257*b1cdbd2cSJim Jagielski	};
258*b1cdbd2cSJim Jagielski	String STR_SUBJECT_PUBKEY_VAL
259*b1cdbd2cSJim Jagielski	{
260*b1cdbd2cSJim Jagielski        Text [ en-US ] = "Public Key";
261*b1cdbd2cSJim Jagielski	};
262*b1cdbd2cSJim Jagielski	String STR_SIGNATURE_ALGO
263*b1cdbd2cSJim Jagielski	{
264*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Signature Algorithm";
265*b1cdbd2cSJim Jagielski	};
266*b1cdbd2cSJim Jagielski	String STR_THUMBPRINT_SHA1
267*b1cdbd2cSJim Jagielski	{
268*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Thumbprint SHA1";
269*b1cdbd2cSJim Jagielski	};
270*b1cdbd2cSJim Jagielski	String STR_THUMBPRINT_MD5
271*b1cdbd2cSJim Jagielski	{
272*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Thumbprint MD5";
273*b1cdbd2cSJim Jagielski	};
274*b1cdbd2cSJim Jagielski};
275*b1cdbd2cSJim Jagielski
276*b1cdbd2cSJim JagielskiTabPage RID_XMLSECTP_CERTPATH
277*b1cdbd2cSJim Jagielski{
278*b1cdbd2cSJim Jagielski    HelpId = HID_XMLSEC_TP_CERTPATH;
279*b1cdbd2cSJim Jagielski	Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
280*b1cdbd2cSJim Jagielski	OutputSize = TRUE;
281*b1cdbd2cSJim Jagielski	Hide = TRUE;
282*b1cdbd2cSJim Jagielski	SVLook = TRUE;
283*b1cdbd2cSJim Jagielski	FixedText FT_CERTPATH
284*b1cdbd2cSJim Jagielski	{
285*b1cdbd2cSJim Jagielski        Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_0 );
286*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( CV_CONT_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
287*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Certification path";
288*b1cdbd2cSJim Jagielski	};
289*b1cdbd2cSJim Jagielski	Control LB_SIGNATURES
290*b1cdbd2cSJim Jagielski	{
291*b1cdbd2cSJim Jagielski        HelpId = HID_XMLSEC_CTRL_VIEWSIGNATURES;
292*b1cdbd2cSJim Jagielski        Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_1 );
293*b1cdbd2cSJim Jagielski        Size = MAP_APPFONT( CV_CONT_WIDTH, REST_HEIGHT/3*2 );
294*b1cdbd2cSJim Jagielski		SVLook = TRUE;
295*b1cdbd2cSJim Jagielski		Border = TRUE;
296*b1cdbd2cSJim Jagielski	};
297*b1cdbd2cSJim Jagielski	PushButton BTN_VIEWCERT
298*b1cdbd2cSJim Jagielski	{
299*b1cdbd2cSJim Jagielski	    HelpID = "xmlsecurity:PushButton:RID_XMLSECTP_CERTPATH:BTN_VIEWCERT";
300*b1cdbd2cSJim Jagielski        Pos = MAP_APPFONT( CV_COL_1-(CV_COL_B-CV_COL_A), CVP_ROW_2 );
301*b1cdbd2cSJim Jagielski        Size = MAP_APPFONT( CV_COL_B-CV_COL_A, RSC_CD_PUSHBUTTON_HEIGHT );
302*b1cdbd2cSJim Jagielski        Text [ en-US ] = "View Certificate...";
303*b1cdbd2cSJim Jagielski	};
304*b1cdbd2cSJim Jagielski	FixedText FT_CERTSTATUS
305*b1cdbd2cSJim Jagielski	{
306*b1cdbd2cSJim Jagielski        Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_3 );
307*b1cdbd2cSJim Jagielski		Size = MAP_APPFONT( CV_CONT_WIDTH, RSC_CD_FIXEDTEXT_HEIGHT );
308*b1cdbd2cSJim Jagielski		Text [ en-US ] = "Certification status";
309*b1cdbd2cSJim Jagielski	};
310*b1cdbd2cSJim Jagielski	MultiLineEdit ML_CERTSTATUS
311*b1cdbd2cSJim Jagielski	{
312*b1cdbd2cSJim Jagielski	    HelpID = "xmlsecurity:MultiLineEdit:RID_XMLSECTP_CERTPATH:ML_CERTSTATUS";
313*b1cdbd2cSJim Jagielski        Pos = MAP_APPFONT( CV_COL_0, CVP_ROW_4 );
314*b1cdbd2cSJim Jagielski        Size = MAP_APPFONT( CV_CONT_WIDTH, REST_HEIGHT/3 );
315*b1cdbd2cSJim Jagielski		ReadOnly = TRUE;
316*b1cdbd2cSJim Jagielski		Border = TRUE;
317*b1cdbd2cSJim Jagielski	};
318*b1cdbd2cSJim Jagielski    Image IMG_CERT_SMALL
319*b1cdbd2cSJim Jagielski    {
320*b1cdbd2cSJim Jagielski        ImageBitmap = Bitmap { File = "certificate_16.png"; };
321*b1cdbd2cSJim Jagielski        MaskColor = STD_MASKCOLOR;
322*b1cdbd2cSJim Jagielski    };
323*b1cdbd2cSJim Jagielski    Image IMG_CERT_SMALL_HC
324*b1cdbd2cSJim Jagielski    {
325*b1cdbd2cSJim Jagielski        ImageBitmap = Bitmap { File = "certificate_16_h.png"; };
326*b1cdbd2cSJim Jagielski        MaskColor = STD_MASKCOLOR;
327*b1cdbd2cSJim Jagielski    };
328*b1cdbd2cSJim Jagielski    Image IMG_CERT_NOTVALIDATED_SMALL
329*b1cdbd2cSJim Jagielski    {
330*b1cdbd2cSJim Jagielski        ImageBitmap = Bitmap { File = "notcertificate_16.png"; };
331*b1cdbd2cSJim Jagielski        MaskColor = STD_MASKCOLOR;
332*b1cdbd2cSJim Jagielski    };
333*b1cdbd2cSJim Jagielski    Image IMG_CERT_NOTVALIDATED_SMALL_HC
334*b1cdbd2cSJim Jagielski    {
335*b1cdbd2cSJim Jagielski        ImageBitmap = Bitmap { File = "notcertificate_16_h.png"; };
336*b1cdbd2cSJim Jagielski        MaskColor = STD_MASKCOLOR;
337*b1cdbd2cSJim Jagielski    };
338*b1cdbd2cSJim Jagielski    String STR_PATH_CERT_OK
339*b1cdbd2cSJim Jagielski    {
340*b1cdbd2cSJim Jagielski		Text [ en-US ] = "The certificate is OK.";
341*b1cdbd2cSJim Jagielski    };
342*b1cdbd2cSJim Jagielski    String STR_PATH_CERT_NOT_VALIDATED
343*b1cdbd2cSJim Jagielski    {
344*b1cdbd2cSJim Jagielski		Text [ en-US ] = "The certificate could not be validated.";
345*b1cdbd2cSJim Jagielski    };
346*b1cdbd2cSJim Jagielski};
347