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
27ModalDialog RID_XMLSECDLG_CERTCHOOSER
28{
29    HelpId = HID_XMLSEC_DLG_CERTCHOOSER;
30	Size = MAP_APPFONT( CS_WIDTH, CS_HEIGHT );
31	OutputSize = TRUE;
32	Closeable = TRUE;
33	Moveable = TRUE;
34	SVLook = TRUE;
35
36	Text [ en-US ] = "Select Certificate";
37
38	FixedText FT_HINT_SELECT
39	{
40        Pos = MAP_APPFONT( CS_COL_0, CS_ROW_0 );
41        Size = MAP_APPFONT( CS_COL_2-CS_COL_0, RSC_CD_FIXEDTEXT_HEIGHT );
42		Text [ en-US ] = "Select the certificate you want to use for signing";
43	};
44	Control LB_SIGNATURES
45	{
46        HelpId = HID_XMLSEC_CTRL_CHOOSESIGNATURES;
47        Pos = MAP_APPFONT( CS_COL_0, CS_ROW_1 );
48        Size = MAP_APPFONT( CS_LB_WIDTH, CS_ROW_2-CS_ROW_1 );
49		SVLook = TRUE;
50		Border = TRUE;
51	};
52	String STR_HEADERBAR
53	{
54        Text [ en-US ] = "Issued to\tIssued by\tExpiration date";
55	};
56	PushButton BTN_VIEWCERT
57	{
58	    HelpID = "xmlsecurity:PushButton:RID_XMLSECDLG_CERTCHOOSER:BTN_VIEWCERT";
59        Pos = MAP_APPFONT( CS_COL_1, CS_ROW_3 );
60        Size = MAP_APPFONT( CS_COL_2-CS_COL_1, RSC_CD_PUSHBUTTON_HEIGHT );
61		Text [ en-US ] = "View Certificate...";
62	};
63    FixedLine FL_BOTTOM_SEP
64	{
65        Pos = MAP_APPFONT( 0, DLGS_BOTTOM_FL_Y( CS_HEIGHT ) );
66        Size = MAP_APPFONT( CS_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
67	};
68	OKButton BTN_OK
69	{
70		DefButton = TRUE;
71        Pos = MAP_APPFONT( DLGS_BOTTOM_OK_X( CS_WIDTH ), DLGS_BOTTOM_BTN_Y( CS_HEIGHT ) );
72		Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
73	};
74	CancelButton BTN_CANCEL
75	{
76        Pos = MAP_APPFONT( DLGS_BOTTOM_CANCEL_X( CS_WIDTH ), DLGS_BOTTOM_BTN_Y( CS_HEIGHT ) );
77		Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
78	};
79	HelpButton BTN_HELP
80	{
81        Pos = MAP_APPFONT( DLGS_BOTTOM_HELP_X( CS_WIDTH ), DLGS_BOTTOM_BTN_Y( CS_HEIGHT ) );
82		Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
83	};
84};
85