Description
-
Called when wodSSH provides information about selected
algorithms.
Return Type
-
None
Syntax
-
object.CryptoInformation Owner,
Protocol, RemoteName, SCcipher,
CScipher, Keys, Accept
The CryptoInformation Method syntax has these parts:
| object |
An expression
evaluating to an object of type IwodSSHNotify. |
| Owner |
A wodSSHCom object. |
| Protocol |
A String
value. Specifies selected protocol (SSH1 or SSH2). |
|
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 protocol selected. |
| Accept |
A Boolean
value. When set to False, wodSSH aborts
connection. |
Remarks
-
This method is called only if you implemented the
IwodSSHNotify interface in your application, and the
wodSSH.Notification
property has received a reference to the instance of your
implementation.
The CryptoInformation notification method is called after
the first crypto negotiation has taken place, but before
any sensitive information is sent to server (such as
username or password). This notification method provides
you with information about the selected encryption protocols
and the remote server type.
At this point you can decide whether to continue
with the connection or to abort it (by setting
the Accept parameter to False)
in which case wodSSH will drop the connection.
|