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