Discuss this help topic in SecureBlackbox Forum

TElClientIndySSHTransport.OnKeyValidate

TElClientIndySSHTransport     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


This event if fired when server's public key is received and must be validated.

Declaration

[C#/Java]
    not implemented;

[VB.NET]
    not implemented;

[Pascal]
    property OnKeyValidate : TSSHKeyValidateEvent;
    TSSHKeyValidateEvent = procedure (Sender: TObject; ServerKey : TElSSHKey; var Validate : boolean) of object;

[C++]
    not available

[PHP]
    not available

Parameters

  • ServerKey - Server's public key
  • Validate - Set this value according to result of key validation

Description

    Handle this event to validate the server's public keys. Usually, known servers are identified by their public keys. Each server has a corresponding public key.

    TElClientIndySSHTransport will close the connection if you pass the False value in the Validate parameter.

See also:     TElSSHKey    

Discuss this help topic in SecureBlackbox Forum