Discuss this help topic in SecureBlackbox Forum

TElSSHPublicKeyClient.OnPublicKey

TElSSHPublicKeyClient     See also     


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


This event is fired when the next public key is received from the server.

Declaration

[C#/Java]
    event TSBSSHPublicKeyPublicKeyEvent OnPublicKey;
    delegate void TSBSSHPublicKeyPublicKeyEvent(Object Sender, TElSSHKey Key, TElSSHPublicKeyAttributes Attributes);

[VB.NET]
    Event OnPublicKey As TSBSSHPublicKeyPublicKeyEvent
    Delegate Sub TSBSSHPublicKeyPublicKeyEvent(ByVal Sender As Object, ByVal Key As TElSSHKey, ByVal Attributes As TElSSHPublicKeyAttributes)

[Pascal]
    property OnPublicKey: TSBSSHPublicKeyPublicKeyEvent;
    TSBSSHPublicKeyPublicKeyEvent = procedure(Sender: TObject; Key: TElSSHKey; Attributes : TElSSHPublicKeyAttributes) of object;

[C++]
    void get_OnPublicKey(TSBSSHPublicKeyPublicKeyEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnPublicKey(TSBSSHPublicKeyPublicKeyEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSSHPublicKeyPublicKeyEvent)(void * _ObjectData, TObjectHandle Sender, TElSSHKeyHandle Key, TElSSHPublicKeyAttributesHandle Attributes);

[PHP]
    TSBSSHPublicKeyPublicKeyEvent|callable|NULL get_OnPublicKey()
    void set_OnPublicKey(TSBSSHPublicKeyPublicKeyEvent|callable|NULL $Value)
    callable TSBSSHPublicKeyPublicKeyEvent(TObject $Sender, TElSSHKey $Key, TElSSHPublicKeyAttributes $Attributes)

Parameters

  • Key - public key
  • Attributes - key attributes (only for protocol version 2 or higher)

Description

    TElSSHPublicKeyClient fires this event when the next key is received from server as result of the List command.

See also:     OnAttribute     OnCloseConnection     OnError     OnOpenConnection     OnStatus    

Discuss this help topic in SecureBlackbox Forum