📄 unit1.txt
字号:
object Form1: TForm1
Left = 272
Top = 108
BorderStyle = bsDialog
Caption = 'Demo program for Indy SSL IOHandler'
ClientHeight = 453
ClientWidth = 499
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 16
Top = 8
Width = 31
Height = 16
Caption = 'URL'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object ComboBox1: TComboBox
Left = 64
Top = 8
Width = 345
Height = 21
ItemHeight = 13
TabOrder = 0
Items.Strings = (
'https://www.order1.net'
'https://www.ibm.com'
'https://www.voebb.de'
'https://oraclestore.oracle.com'
'https://www.sot.com')
end
object Button1: TButton
Left = 416
Top = 8
Width = 75
Height = 23
Caption = 'Go'
TabOrder = 1
OnClick = Button1Click
end
object Memo1: TMemo
Left = 8
Top = 144
Width = 481
Height = 257
Lines.Strings = (
'')
ScrollBars = ssVertical
TabOrder = 2
end
object GroupBox1: TGroupBox
Left = 8
Top = 32
Width = 129
Height = 105
Caption = ' Select SSL version '
TabOrder = 3
object CheckBox1: TCheckBox
Left = 8
Top = 32
Width = 57
Height = 17
Caption = 'SSL2'
Checked = True
State = cbChecked
TabOrder = 0
OnClick = CheckBox1Click
end
object CheckBox2: TCheckBox
Left = 64
Top = 32
Width = 57
Height = 17
Caption = 'SSL3'
Checked = True
State = cbChecked
TabOrder = 1
OnClick = CheckBox2Click
end
object CheckBox3: TCheckBox
Left = 8
Top = 64
Width = 57
Height = 17
Caption = 'TLS1'
Checked = True
State = cbChecked
TabOrder = 2
OnClick = CheckBox3Click
end
object CheckBox4: TCheckBox
Left = 64
Top = 64
Width = 57
Height = 17
Caption = 'TLS1.1'
Checked = True
State = cbChecked
TabOrder = 3
OnClick = CheckBox4Click
end
end
object GroupBox2: TGroupBox
Left = 144
Top = 32
Width = 345
Height = 105
Caption = ' Certificate (if needed) '
TabOrder = 4
object Button2: TButton
Left = 16
Top = 24
Width = 75
Height = 25
Caption = 'Certificate'
TabOrder = 0
OnClick = Button2Click
end
object Button3: TButton
Left = 16
Top = 64
Width = 75
Height = 25
Caption = 'Private Key'
TabOrder = 1
OnClick = Button3Click
end
object Edit1: TEdit
Left = 104
Top = 24
Width = 225
Height = 21
Anchors = [akLeft, akTop, akRight]
Enabled = False
TabOrder = 2
end
object Edit2: TEdit
Left = 104
Top = 64
Width = 225
Height = 21
Anchors = [akLeft, akTop, akRight]
Enabled = False
TabOrder = 3
end
end
object Button4: TButton
Left = 416
Top = 408
Width = 75
Height = 41
Caption = 'Close'
TabOrder = 5
OnClick = Button4Click
end
object Memo2: TMemo
Left = 8
Top = 408
Width = 401
Height = 41
TabOrder = 6
end
object IdHTTP1: TIdHTTP
IOHandler = SSLHandler
MaxLineAction = maException
AllowCookies = True
ProxyParams.BasicAuthentication = False
ProxyParams.ProxyPort = 0
Request.ContentLength = -1
Request.ContentRangeEnd = 0
Request.ContentRangeStart = 0
Request.ContentType = 'text/html'
Request.Accept = 'text/html, */*'
Request.BasicAuthentication = False
Request.UserAgent = 'Mozilla/3.0 (compatible; Indy Library)'
HTTPOptions = [hoForceEncodeParams]
Left = 32
Top = 184
end
object OpenDialog1: TOpenDialog
Left = 256
Top = 88
end
object SSLHandler: TElIndySSLIOHandlerSocket
SSLOptions.Method = sslvSSLv2
SSLOptions.Mode = sslmUnassigned
SSLOptions.VerifyMode = []
SSLOptions.VerifyDepth = 0
Passthrough = False
ReadTimeout = 0
Versions = [sbSSL2, sbSSL3, sbTLS1]
OnCertificateValidate = SSLHandlerCertificateValidate
OnCertificateNeededEx = SSLHandlerCertificateNeededEx
Left = 102
Top = 204
end
object ElWinCertStorage1: TElWinCertStorage
Left = 288
Top = 120
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -