signform.dfm

来自「著名的SecureBlackBox控件完整源码」· DFM 代码 · 共 270 行

DFM
270
字号
object frmSign: TfrmSign
  Left = 0
  Top = 0
  Width = 300
  Height = 504
  Caption = 'Signature options'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = True
  Position = poMainFormCenter
  OnCreate = FormCreate
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object gbGeneralEnc: TGroupBox
    Left = 8
    Top = 8
    Width = 276
    Height = 217
    Anchors = [akLeft, akTop, akRight]
    Caption = 'General'
    TabOrder = 0
    object lbSignatureType: TLabel
      Left = 16
      Top = 20
      Width = 77
      Height = 13
      Caption = 'Signature Type:'
    end
    object lbSignatureMethod: TLabel
      Left = 16
      Top = 190
      Width = 89
      Height = 13
      Caption = 'Signature Method:'
    end
    object lbHMACMethod: TLabel
      Left = 16
      Top = 163
      Width = 72
      Height = 13
      Caption = 'HMAC Method:'
    end
    object lbCanonMethod: TLabel
      Left = 16
      Top = 47
      Width = 77
      Height = 26
      Caption = 'Canonicalization'#13#10'method:'
    end
    object cmbSignatureType: TComboBox
      Left = 136
      Top = 16
      Width = 125
      Height = 21
      Style = csDropDownList
      ItemHeight = 13
      TabOrder = 0
      Items.Strings = (
        'Enveloped'
        'Enveloping'
        'Detached')
    end
    object rgSignatureMethodType: TRadioGroup
      Left = 12
      Top = 81
      Width = 251
      Height = 68
      Anchors = [akLeft, akTop, akRight]
      Caption = 'Signature method type:'
      ItemIndex = 0
      Items.Strings = (
        'HMAC method'
        'Signature method')
      TabOrder = 1
      OnClick = rgSignatureMethodTypeClick
    end
    object cmbSignatureMethod: TComboBox
      Left = 136
      Top = 186
      Width = 125
      Height = 21
      Style = csDropDownList
      ItemHeight = 13
      TabOrder = 2
      Items.Strings = (
        'DSS'
        'RSA SHA1'
        'RSA MD5'
        'RSA SHA256'
        'RSA SHA384'
        'RSA SHA512'
        'RSA RIPEMD160')
    end
    object cmbHMACMethod: TComboBox
      Left = 136
      Top = 159
      Width = 125
      Height = 21
      Style = csDropDownList
      ItemHeight = 13
      TabOrder = 3
      Items.Strings = (
        'MD5'
        'SHA1'
        'SHA224'
        'SHA256'
        'SHA384'
        'SHA512'
        'RIPEMD160')
    end
    object cmbCanonMethod: TComboBox
      Left = 136
      Top = 49
      Width = 125
      Height = 21
      Style = csDropDownList
      ItemHeight = 13
      TabOrder = 4
      Items.Strings = (
        'Canonical'
        'Canonical +comments'
        'Minimal')
    end
  end
  object gbKeyInfo: TGroupBox
    Left = 8
    Top = 263
    Width = 276
    Height = 162
    Anchors = [akLeft, akTop, akRight]
    Caption = 'Key Info'
    TabOrder = 1
    object lbKeyName: TLabel
      Left = 16
      Top = 52
      Width = 52
      Height = 13
      Caption = 'Key Name:'
    end
    object sbKeyFile: TSpeedButton
      Left = 238
      Top = 77
      Width = 23
      Height = 22
      Caption = '...'
      OnClick = sbKeyFileClick
    end
    object lbPassphrase: TLabel
      Left = 16
      Top = 134
      Width = 59
      Height = 13
      Caption = 'Passphrase:'
    end
    object lbKeyFile: TLabel
      Left = 16
      Top = 81
      Width = 41
      Height = 13
      Caption = 'Key File:'
    end
    object lbWinCertSerail: TLabel
      Left = 16
      Top = 109
      Width = 46
      Height = 13
      Caption = 'Win Cert:'
    end
    object sbSelectWinCert: TSpeedButton
      Left = 238
      Top = 105
      Width = 23
      Height = 22
      Caption = '...'
      OnClick = sbSelectWinCertClick
    end
    object edKeyName: TEdit
      Left = 80
      Top = 48
      Width = 181
      Height = 21
      TabOrder = 0
    end
    object edKeyFile: TEdit
      Left = 80
      Top = 77
      Width = 152
      Height = 21
      TabOrder = 1
    end
    object edPassphrase: TEdit
      Left = 80
      Top = 130
      Width = 181
      Height = 21
      PasswordChar = '*'
      TabOrder = 2
    end
    object edCertSerial: TEdit
      Left = 80
      Top = 104
      Width = 152
      Height = 21
      ReadOnly = True
      TabOrder = 3
    end
    object cbIncludeKey: TCheckBox
      Left = 16
      Top = 24
      Width = 209
      Height = 17
      Caption = 'Include Key (public part)'
      Checked = True
      State = cbChecked
      TabOrder = 4
    end
  end
  object btnOK: TButton
    Left = 124
    Top = 438
    Width = 75
    Height = 25
    Anchors = [akRight, akBottom]
    Caption = 'OK'
    Default = True
    ModalResult = 1
    TabOrder = 2
  end
  object btnCancel: TButton
    Left = 205
    Top = 438
    Width = 75
    Height = 25
    Anchors = [akRight, akBottom]
    Cancel = True
    Caption = 'Cancel'
    ModalResult = 2
    TabOrder = 3
  end
  object btnReferences: TButton
    Left = 8
    Top = 438
    Width = 75
    Height = 25
    Anchors = [akLeft, akBottom]
    Caption = 'References'
    TabOrder = 4
    OnClick = btnReferencesClick
  end
  object btnXAdES: TButton
    Left = 8
    Top = 232
    Width = 97
    Height = 25
    Caption = 'XAdES Options'
    TabOrder = 5
    OnClick = btnXAdESClick
  end
  object dlgOpen: TOpenDialog
    DefaultExt = '*.*'
    Left = 96
    Top = 272
  end
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?