Discuss this help topic in SecureBlackbox Forum


TElDNSResolver     See also     

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

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


    event TSBDNSKeyNeededEvent OnKeyNeeded;
    delegate void TSBDNSKeyNeededEvent(object Sender, string Owner, int KeyTag, byte Algorithm, ref TElDNSPublicKeyRecord Key, ref bool ReleaseKey);

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

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

    void get_OnKeyNeeded(TSBDNSKeyNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnKeyNeeded(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_OnKeyNeeded()
    void set_OnKeyNeeded(TSBDNSKeyNeededEvent|callable|NULL $Value)
    callable TSBDNSKeyNeededEvent(TObject $Sender, string $Owner, integer $KeyTag, integer $Algorithm, TElDNSPublicKeyRecord &$Key, bool &$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 TElDNSResolver when a key is required to verify a signature. Provide the corresponding key record via Key parameter.

See also:     OnKeyValidate    

Discuss this help topic in SecureBlackbox Forum