Back to product page

CryptoInformation event


Fires when wodSSHTunnel connects to a remote server.

Syntax

  • Basic
Private Sub object_CryptoInformation(Protocol, RemoteName, SCcipher, CScipher, Keys, Accept)
The CryptoInformation(object,Protocol,RemoteName,SCcipher,CScipher,Keys,Accept) syntax has these parts:
objectA wodTunnel object.
ProtocolA String value. Holds the selected protocol (SSH1/SSH2).
RemoteNameA String value. Holds identification text sent by the remote side.
SCcipherA String value. Server to client encryption algorithm.
CScipherA String value. Client to server encryption algorithm.
KeysA String value. Key exchange algorithm selected.
AcceptA Boolean value. When set to False, wodSSHTunnel aborts the connection.

Remarks

The CryptoInformation event 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).
/br> This event 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.

Platforms

Windows