Discuss this help topic in SecureBlackbox Forum


TElSSHPublicKeyClient     See also     

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

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


    event TSBSSHPublicKeyPublicKeyEvent OnPublicKey;
    delegate void TSBSSHPublicKeyPublicKeyEvent(Object Sender, TElSSHKey Key, TElSSHPublicKeyAttributes Attributes);

    Event OnPublicKey As TSBSSHPublicKeyPublicKeyEvent
    Delegate Sub TSBSSHPublicKeyPublicKeyEvent(ByVal Sender As Object, ByVal Key As TElSSHKey, ByVal Attributes As TElSSHPublicKeyAttributes)

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

    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);

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

    TSBSSHPublicKeyPublicKeyEvent getOnPublicKey();
    void setOnPublicKey(TSBSSHPublicKeyPublicKeyEvent Value);
    TSBSSHPublicKeyPublicKeyEvent.Callback OnPublicKey = new TSBSSHPublicKeyPublicKeyEvent.Callback() {
        public void TSBSSHPublicKeyPublicKeyEventCallback(TObject Sender, TElSSHKey Key, TElSSHPublicKeyAttributes Attributes) {


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


    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