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 keys listing


    event TSBSSHPublicKeyListEvent OnList;
    delegate void TSBSSHPublicKeyListEvent(Object Sender, ArrayList Keys, ArrayList Attributes, ref int ErrorCode, ref string Comment);

    Event OnList As TSBSSHPublicKeyListEvent
    Delegate Sub TSBSSHPublicKeyListEvent(ByVal Sender As Object, ByVal Keys As ArrayList, ByVal Attributes As ArrayList, ByRef ErrorCode As Integer, ByRef Comment As String)

    property OnList: TSBSSHPublicKeyListEvent;
    TSBSSHPublicKeyListEvent = procedure(Sender: TObject; Keys: TList; Attributes : TList; var FreeObjects : boolean; var ErrorCode: integer; var Comment : string)

    void get_OnList(TSBSSHPublicKeyListEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnList(TSBSSHPublicKeyListEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSSHPublicKeyListEvent)(void * _ObjectData, TObjectHandle Sender, TListHandle Keys, TListHandle Attributes, int8_t &FreeObjects, int32_t &ErrorCode, char * pcComment, int32_t &szComment);

    TSBSSHPublicKeyListEvent|callable|NULL get_OnList()
    void set_OnList(TSBSSHPublicKeyListEvent|callable|NULL $Value)
    callable TSBSSHPublicKeyListEvent(TObject $Sender, TList $Keys, TList $Attributes, bool &$FreeObjects, integer &$ErrorCode, string &$Comment)

    TSBSSHPublicKeyListEvent getOnList();
    void setOnList(TSBSSHPublicKeyListEvent Value);
    TSBSSHPublicKeyListEvent.Callback OnList = new TSBSSHPublicKeyListEvent.Callback() {
        public void TSBSSHPublicKeyListEventCallback(TObject arg0, ArrayList arg1, ArrayList arg2, TSBInteger arg3, TSBString arg4) {


  • Keys - list object where the key objects should be put
  • Attributes - list object where key attributes can be put
  • FreeObjects - If True SBSSHPubKeyServer will destroy Keys and Attributes objects otherwise they have to be freed manually.
  • ErrorCode - error code. Has to be assigned inside handler.
  • Comment - text comment for the listing result.
  • pcComment - text comment for the listing result.
  • szComment - the length of pcComment.

ErrorCode values


    This event is fired when client requests a public key listing. All client's public keys has to be placed to the Keys list in the event handler. Attributes for corresponding keys can be placed to the Attributes list but it is not necessary. If Attributes are used then indexes in two lists have to meet (attributes have the same index as corresponding key). Server has to set ErrorCodeand Comment values according to result of request processing.

See also:     OnListAttributes     OnAttributeSupported    

Discuss this help topic in SecureBlackbox Forum