Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- wodTelnetDLX
- Methods
- Properties
- Authentication
- AutoSize
- BackColor
- BackLog
- BindIP
- BindPort
- Blocking
- BorderVisible
- Certificate
- CharEncoding
- Column
- Columns
- ColWidth
- Command
- ContextMenu
- CursorHeight
- DataOut
- DataReady
- Enabled
- ErrorText
- ExitSignal
- ExitStatus
- Font
- ForeColor
- HandleSysKeys
- Hostname
- hWnd
- KeepAlives
- Language
- LastError
- LocalCertBag
- Login
- MousePointer
- MouseWheel
- MyHostname
- MyIP
- Notification
- Password
- Picture
- Port
- Prompt
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RecordMode
- RemoteIdentification
- Row
- RowHeight
- Rows
- ScrollBars
- ScrollX
- ScrollY
- SecureMethod
- SelectedText
- ShowCursor
- Socket
- SpecialKeyFocus
- State
- StateText
- StripANSI
- StripColors
- TabStop
- TelnetOption
- TerminalEmulation
- TerminalType
- Text
- Timeout
- TranslateSpecial
- UseIPv6
- Version
- Events
- IwodTelnetNotify
- wodTelnetDLX
- How to get support?
- Technical information
- Fast notifications interface
- Error list
HostCertificate callback method
Called when remote server provides its certificate.
Syntax
- Basic
object.HostCertificate (Owner, Cert, ErrorCode, ErrorText, Accept)
The HostCertificate(object,Owner,Cert,ErrorCode,ErrorText,Accept) syntax has these parts:
The HostCertificate(object,Owner,Cert,ErrorCode,ErrorText,Accept) syntax has these parts:
object | An expression evaluating to an object of type IwodTelnetNotify |
Owner | An expression evaluating to an object of type wodTelnetDLX |
Cert | An ICertificate object. Reference to server's certificate object. |
ErrorCode | A Long value. Error found for the certificate. |
ErrorText | A String value. Text description of certificate errors, one per line. |
Accept | A Boolean value. When set to False, wodTelnetDLX aborts connection. |
Remarks
NOTE: This method is called only if you implemented IwodTelnetNotify interface in your application, and wodTelnet.Notification property has received reference to instance of your implementation.Once wodTelnetDLX connects to SSL/TLS server, it will receive server's certificate that holds information about server's validity. It will contain information such as server's name, organization, valid dates etc.. Certificates are usually signed by some known CA (Certificate Authority) whose responsibility is to prove that server is really the one he's representing to be.
If you think remote server's certificate is invalid, you should set Accept parameter to False and wodTelnetDLX will immediately close the connection.