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