Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodSSHD
- Methods
- Properties
- Events
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- IwodSSHDNotify
- Methods
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- Methods
- SSHKeyPair
- SSHUser
- SSHUsers
- How to get support
- Technical information
- Fast notifications
- Error list
CryptoInformation method
Called when user wants to authenticate to the server.
Type
NoneSyntax
- Basic
object.CryptoInformation Owner, Protocol, RemoteName, SCcipher, CScipher, Keys, Accept
The CryptoInformation(object,Owner,User,Protocol,RemoteName,SCcipher,CScipher,Keys,Accept) syntax has these parts:
The CryptoInformation(object,Owner,User,Protocol,RemoteName,SCcipher,CScipher,Keys,Accept) syntax has these parts:
object | An expression evaluating to an object of type IwodSSHDNotify. |
Owner | Required. A wodSSHDCom object. Instance of wodSSHServer that called this notification method. |
User | Required. A SSHUser object. Reference to object that holds information about the connected user. |
Protocol | A String value. Specifies selected protocol (SSH2 is the only possibility). |
RemoteName | A String value. Holds remote identification string. |
SCcipher | A String value. Holds server to client encryption algorithm selected. |
CScipher | A String value. Holds client to server encryption algorithm selected. |
Keys | A String value. Holds key exchange algorithm selected. |
Accept | A Boolean value. When set to False, wodSSHServer aborts connection. |
Remarks
This method is called only if you implemented IwodSSHNotify interface in your application, and wodSSHD.Notification property has received reference to instance of your implementation.CryptoInformation notification method is called after the first crypto negotiation has taken place, but before any sensitive information is sent to the user (or received from the user). This notification provides you with information about selected encryption protocols and remote software type client uses.
At this point you can decide if you want to continue with the connection, or you want to abort it (by setting Accept parameter to False) in which case wodSSHServer will drop the connection.
This event does not fire if Protocol is set to Telnet/Raw, only when Protocol is set to SSH2.