wodSSHTunnel ActiveX Control - CryptoInformation Method
      
 

Description

Called when wodSSHTunnel provides information about the selected algorithms.


Return Type

None  


Syntax

object.CryptoInformation Owner, Protocol, RemoteName, SCcipher, CScipher, Keys, Accept



The CryptoInformation Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodTunnelNotify.
Owner Required. A wodTunnelCom object. Reference to the wodTunnelCom instance that called this notification method.
Protocol Required. A String value. Holds the selected protocol (SSH1/SSH2).
RemoteName Required. A String value. Holds the identification text sent by remote side.
SCcipher Required. A String value. Server to client encryption algorithm.
CScipher Required. A String value. Client to server encryption algorithm.
Keys Required. A String value. Key exchange algorithm selected.
Accept Required. A Boolean value. When set to False, wodSSHTunnel aborts the connection.

Remarks

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.