Discuss this help topic in SecureBlackbox Forum


TElSSHCustomForwarding     See also     

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

This event is fired when a key is needed to verify the signature.


    event TSBDNSKeyNeededEvent OnDNSKeyNeeded;
    delegate void TSBDNSKeyNeededEvent(Object Sender, string Owner, ushort KeyTag, byte Algorithm, ref TElDNSPublicKeyRecord Key, ref bool ReleaseKey);

    Event OnDNSKeyNeeded As TSBDNSKeyNeededEvent
    Delegate Sub TSBDNSKeyNeededEvent(ByVal Sender As Object, ByVal Owner As String, ByVal KeyTag As UInt16, ByVal Algorithm As Byte, ByRef Key As TElDNSPublicKeyRecord, ByRef ReleaseKey As Boolean)

    property OnDNSKeyNeeded : TSBDNSKeyNeededEvent;
    TSBDNSKeyNeededEvent = procedure (Sender: TObject; const Owner : string; KeyTag : word; Algorithm : byte; var Key : TElDNSPublicKeyRecord; var ReleaseKey : boolean) of object;

    void get_OnDNSKeyNeeded(TSBDNSKeyNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnDNSKeyNeeded(TSBDNSKeyNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBDNSKeyNeededEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcOwner, int32_t szOwner, uint16_t KeyTag, uint8_t Algorithm, TElDNSPublicKeyRecordHandle &Key, int8_t &ReleaseKey);

    TSBDNSKeyNeededEvent|callable|NULL get_OnDNSKeyNeeded()
    void set_OnDNSKeyNeeded(TSBDNSKeyNeededEvent|callable|NULL $Value)
    callable TSBDNSKeyNeededEvent(TObject $Sender, string $Owner, integer $KeyTag, integer $Algorithm, TElDNSPublicKeyRecord &$Key, bool &$ReleaseKey)

    TSBDNSKeyNeededEvent getOnDNSKeyNeeded();
    void setOnDNSKeyNeeded(TSBDNSKeyNeededEvent Value);
    TSBDNSKeyNeededEvent.Callback OnDNSKeyNeeded = new TSBDNSKeyNeededEvent.Callback() {
        public void TSBDNSKeyNeededEventCallback(TObject Sender, String Owner, short KeyTag, byte Algorithm, TElDNSPublicKeyRecord[] Key, TSBBoolean ReleaseKey) {


  • Owner - specifies key owner
  • KeyTag - specifies key tag
  • Algorithm - contains signature algorithm
  • Key - value of the key should be provided via this parameter
  • ReleaseKey - set this parameter to True to release the key
  • pcOwner - specifies key owner
  • szOwner - the length of pcOwner.



    This event is fired by TElSSHCustomForwarding when a key is required to verify a signature. Provide the corresponding key record via Key parameter.

See also:     OnDNSKeyValidate     OnDNSResolve     DNS    

Discuss this help topic in SecureBlackbox Forum