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