Discuss this help topic in SecureBlackbox Forum


TElSSHPublicKeyServer     See also     

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

This event is fired when TElSSHPublicKeyServer needs to transfer the data to the client


    event TSBSSHPublicKeySendEvent OnSend;
    delegate void TSBSSHPublicKeySendEvent(Object Sender, byte[] Buffer, int Offset, int Size);

    Event OnSend As TSBSSHPublicKeySendEvent
    Delegate Sub TSBSSHPublicKeySendEvent(ByVal Sender As Object, ByVal Buffer As Byte(), ByVal Offset As Integer, ByVal Size As Integer)

    property OnSend : TSBSSHPublicKeySendEvent;
    TSSHSendEvent = procedure (Sender: TObject; Buffer : pointer; Size : longint) of object;

    void get_OnSend(TSBSSHPublicKeySendEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnSend(TSBSSHPublicKeySendEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSSHPublicKeySendEvent)(void * _ObjectData, TObjectHandle Sender, void * Buffer, int32_t Size);

    TSBSSHPublicKeySendEvent|callable|NULL get_OnSend()
    void set_OnSend(TSBSSHPublicKeySendEvent|callable|NULL $Value)
    callable TSBSSHPublicKeySendEvent(TObject $Sender, TSBPointer|NULL $Buffer, integer $Size)


  • Buffer - The buffer with encrypted data
  • Size - The length of the data in buffer (in bytes)
  • Offset - The offset from the array beginning


    This event is fired when TESSHPublicKeyServer needs to transfer the portion of data to the client. It's a good idea to write data to logical tunnel connection inside a handler of this event.

You must handle this event in any case. There is no other way to pass the encrypted data from TElSSHPublicKeyServer to client, except this event!

See also:     OnReceive    

Discuss this help topic in SecureBlackbox Forum