1*3cbdc576SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*3cbdc576SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*3cbdc576SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*3cbdc576SAndrew Rist * distributed with this work for additional information
6*3cbdc576SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*3cbdc576SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*3cbdc576SAndrew Rist * "License"); you may not use this file except in compliance
9*3cbdc576SAndrew Rist * with the License.  You may obtain a copy of the License at
10*3cbdc576SAndrew Rist *
11*3cbdc576SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*3cbdc576SAndrew Rist *
13*3cbdc576SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*3cbdc576SAndrew Rist * software distributed under the License is distributed on an
15*3cbdc576SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*3cbdc576SAndrew Rist * KIND, either express or implied.  See the License for the
17*3cbdc576SAndrew Rist * specific language governing permissions and limitations
18*3cbdc576SAndrew Rist * under the License.
19*3cbdc576SAndrew Rist *
20*3cbdc576SAndrew Rist *************************************************************/
21*3cbdc576SAndrew Rist
22*3cbdc576SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "dialogs.hrc"
25cdf0e10cSrcweir#include "helpids.hrc"
26cdf0e10cSrcweir
27cdf0e10cSrcweirModalDialog RID_XMLSECDLG_CERTCHOOSER
28cdf0e10cSrcweir{
29cdf0e10cSrcweir    HelpId = HID_XMLSEC_DLG_CERTCHOOSER;
30cdf0e10cSrcweir	Size = MAP_APPFONT( CS_WIDTH, CS_HEIGHT );
31cdf0e10cSrcweir	OutputSize = TRUE;
32cdf0e10cSrcweir	Closeable = TRUE;
33cdf0e10cSrcweir	Moveable = TRUE;
34cdf0e10cSrcweir	SVLook = TRUE;
35cdf0e10cSrcweir
36cdf0e10cSrcweir	Text [ en-US ] = "Select Certificate";
37cdf0e10cSrcweir
38cdf0e10cSrcweir	FixedText FT_HINT_SELECT
39cdf0e10cSrcweir	{
40cdf0e10cSrcweir        Pos = MAP_APPFONT( CS_COL_0, CS_ROW_0 );
41cdf0e10cSrcweir        Size = MAP_APPFONT( CS_COL_2-CS_COL_0, RSC_CD_FIXEDTEXT_HEIGHT );
42cdf0e10cSrcweir		Text [ en-US ] = "Select the certificate you want to use for signing";
43cdf0e10cSrcweir	};
44cdf0e10cSrcweir	Control LB_SIGNATURES
45cdf0e10cSrcweir	{
46cdf0e10cSrcweir        HelpId = HID_XMLSEC_CTRL_CHOOSESIGNATURES;
47cdf0e10cSrcweir        Pos = MAP_APPFONT( CS_COL_0, CS_ROW_1 );
48cdf0e10cSrcweir        Size = MAP_APPFONT( CS_LB_WIDTH, CS_ROW_2-CS_ROW_1 );
49cdf0e10cSrcweir		SVLook = TRUE;
50cdf0e10cSrcweir		Border = TRUE;
51cdf0e10cSrcweir	};
52cdf0e10cSrcweir	String STR_HEADERBAR
53cdf0e10cSrcweir	{
54cdf0e10cSrcweir        Text [ en-US ] = "Issued to\tIssued by\tExpiration date";
55cdf0e10cSrcweir	};
56cdf0e10cSrcweir	PushButton BTN_VIEWCERT
57cdf0e10cSrcweir	{
58cdf0e10cSrcweir	    HelpID = "xmlsecurity:PushButton:RID_XMLSECDLG_CERTCHOOSER:BTN_VIEWCERT";
59cdf0e10cSrcweir        Pos = MAP_APPFONT( CS_COL_1, CS_ROW_3 );
60cdf0e10cSrcweir        Size = MAP_APPFONT( CS_COL_2-CS_COL_1, RSC_CD_PUSHBUTTON_HEIGHT );
61cdf0e10cSrcweir		Text [ en-US ] = "View Certificate...";
62cdf0e10cSrcweir	};
63cdf0e10cSrcweir    FixedLine FL_BOTTOM_SEP
64cdf0e10cSrcweir	{
65cdf0e10cSrcweir        Pos = MAP_APPFONT( 0, DLGS_BOTTOM_FL_Y( CS_HEIGHT ) );
66cdf0e10cSrcweir        Size = MAP_APPFONT( CS_WIDTH, RSC_CD_FIXEDLINE_HEIGHT );
67cdf0e10cSrcweir	};
68cdf0e10cSrcweir	OKButton BTN_OK
69cdf0e10cSrcweir	{
70cdf0e10cSrcweir		DefButton = TRUE;
71cdf0e10cSrcweir        Pos = MAP_APPFONT( DLGS_BOTTOM_OK_X( CS_WIDTH ), DLGS_BOTTOM_BTN_Y( CS_HEIGHT ) );
72cdf0e10cSrcweir		Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
73cdf0e10cSrcweir	};
74cdf0e10cSrcweir	CancelButton BTN_CANCEL
75cdf0e10cSrcweir	{
76cdf0e10cSrcweir        Pos = MAP_APPFONT( DLGS_BOTTOM_CANCEL_X( CS_WIDTH ), DLGS_BOTTOM_BTN_Y( CS_HEIGHT ) );
77cdf0e10cSrcweir		Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
78cdf0e10cSrcweir	};
79cdf0e10cSrcweir	HelpButton BTN_HELP
80cdf0e10cSrcweir	{
81cdf0e10cSrcweir        Pos = MAP_APPFONT( DLGS_BOTTOM_HELP_X( CS_WIDTH ), DLGS_BOTTOM_BTN_Y( CS_HEIGHT ) );
82cdf0e10cSrcweir		Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
83cdf0e10cSrcweir	};
84cdf0e10cSrcweir};
85