Discuss this help topic in SecureBlackbox Forum


TElSSHPublicKeyServer     See also     

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

This event is fired when the client has sent request for a key removing.


    event TSBSSHPublicKeyRemoveEvent OnRemove;
    delegate void TSBSSHPublicKeyRemoveEvent(Object Sender, TElSSHKey Key, ref int ErrorCode, ref string Comment);

    Event OnRemove As TSBSSHPublicKeyRemoveEvent
    Delegate Sub TSBSSHPublicKeyRemoveEvent(ByVal Sender As Object, ByVal Key As TElSSHKey, ByRef ErrorCode As Integer, ByRef Comment As String)

    property OnRemove: TSBSSHPublicKeyRemoveEvent;
    TSBSSHPublicKeyRemoveEvent = procedure(Sender: TObject; Key: TElSSHKey; var ErrorCode: integer; var Comment : string) of object;

    void get_OnRemove(TSBSSHPublicKeyRemoveEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnRemove(TSBSSHPublicKeyRemoveEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSSHPublicKeyRemoveEvent)(void * _ObjectData, TObjectHandle Sender, TElSSHKeyHandle Key, int32_t &ErrorCode, char * pcComment, int32_t &szComment);

    TSBSSHPublicKeyRemoveEvent|callable|NULL get_OnRemove()
    void set_OnRemove(TSBSSHPublicKeyRemoveEvent|callable|NULL $Value)
    callable TSBSSHPublicKeyRemoveEvent(TObject $Sender, TElSSHKey $Key, integer &$ErrorCode, string &$Comment)

    TSBSSHPublicKeyRemoveEvent getOnRemove();
    void setOnRemove(TSBSSHPublicKeyRemoveEvent Value);
    TSBSSHPublicKeyRemoveEvent.Callback OnRemove = new TSBSSHPublicKeyRemoveEvent.Callback() {
        public void TSBSSHPublicKeyRemoveEventCallback(TObject Sender, TElSSHKey Key, TSBInteger ErrorCode, TSBString Comment) {


  • Key - key to be removed
  • ErrorCode - operation success code. Has to be inserted inside handler.
  • Comment - text comment. Has to be inserted inside handler.
  • pcComment - text comment. Has to be inserted inside handler.
  • szComment - the length of pcComment.

ErrorCode values


    This event is fired when client sent the request for public key removing. Server has to remove the key or to reject the removing and return error in the ErrorCode parameter.

See also:     OnAdd    

Discuss this help topic in SecureBlackbox Forum