Discuss this help topic in SecureBlackbox Forum

TElSSHPublicKeyServer.OnRemove

TElSSHPublicKeyServer     See also     


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


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

Declaration

[C#/Java]
    event TSBSSHPublicKeyRemoveEvent OnRemove;
    delegate void TSBSSHPublicKeyRemoveEvent(Object Sender, TElSSHKey Key, ref int ErrorCode, ref string Comment);

[VB.NET]
    Event OnRemove As TSBSSHPublicKeyRemoveEvent
    Delegate Sub TSBSSHPublicKeyRemoveEvent(ByVal Sender As Object, ByVal Key As TElSSHKey, ByRef ErrorCode As Integer, ByRef Comment As String)

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

[C++]
    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);

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

Parameters

  • 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


Description

    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