Back to product page

CryptoInformation method

Called when wodSSHTunnel provides information about the selected algorithms.




  • Basic
object.CryptoInformation  Owner, Protocol, RemoteName, SCcipher, CScipher, Keys, Accept
The CryptoInformation(object,Owner,Protocol,RemoteName,SCcipher,CScipher,Keys,Accept) syntax has these parts:
objectAn expression evaluating to an object of type wodTunnelNotify.
OwnerRequired. A wodTunnelCom object. Reference to the wodTunnelCom instance that called this notification method.
ProtocolRequired. A String value. Holds the selected protocol (SSH1/SSH2).
RemoteNameRequired. A String value. Holds the identification text sent by remote side.
SCcipherRequired. A String value. Server to client encryption algorithm.
CScipherRequired. A String value. Client to server encryption algorithm.
KeysRequired. A String value. Key exchange algorithm selected.
AcceptRequired. A Boolean value. When set to False, wodSSHTunnel aborts the connection.


This method is called only if you have implemented the IwodSSHTunnelNotify interface in your application and the wodTunnel1.Notification property has received a reference to an instance of your implementation.

The CryptoInformation notification method is fired after the first crypto negotiation has taken place, but before any sensitive information is sent to the 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 wodSSHTunnel will drop the connection.