Back to product page

CryptoInformation method


Called with details on selected encryption protocols.

Type

None

Syntax

  • 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 IwodFtpNotify.
OwnerRequired. A wodFtpDLXCom object.
ProtocolA String value. Specifies the selected protocol.
RemoteNameA String value. Holds the remote identification string.
SCcipherA String value. Holds the selected server to client encryption algorithm.
CScipherA String value. Holds the selected client to server encryption algorithm.
KeysA String value. Holds the selected key exchange algorithm.
AcceptA Boolean value. When set to False, wodFtpDLX will close the connection.

Remarks

This method is called only if you implemented IwodFtpNotify interface in your application, and wodFtpDLX.Notification property has received reference to 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 the server (such as username or password). This notification 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 wodFtpDLX will drop the connection.

Note that this notification method is called only in secured protocols - it is not called for plaintext FTP.

Platforms

Windows