Discuss this help topic in SecureBlackbox Forum

TElDNSResolver.OnKeyValidate

TElDNSResolver     See also     


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


This event is fired when resolver needs to validate a key.

Declaration

[C#/Java]
    event TSBDNSKeyValidateEvent OnKeyValidate;
    delegate void TSBDNSKeyValidateEvent(Object Sender, TElDNSPublicKeyRecord Key, ref bool Valid);

[VB.NET]
    Event OnKeyValidate As TSBDNSKeyValidateEvent
    Delegate Sub TSBDNSKeyValidateEvent(ByVal Sender As Object, ByVal Key As TElDNSPublicKeyRecord, ByRef Valid As Boolean)

[Pascal]
    property OnKeyValidate : TSBDNSKeyValidateEvent;
    TSBDNSKeyValidateEvent = procedure (Sender: TObject; var Key : TElDNSPublicKeyRecord; var Valid : boolean) of object;

[C++]
    void get_OnKeyValidate(TSBDNSKeyValidateEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnKeyValidate(TSBDNSKeyValidateEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBDNSKeyValidateEvent)(void * _ObjectData, TObjectHandle Sender, TElDNSPublicKeyRecordHandle Key, int8_t &Valid);

[PHP]
    TSBDNSKeyValidateEvent|callable|NULL get_OnKeyValidate()
    void set_OnKeyValidate(TSBDNSKeyValidateEvent|callable|NULL $Value)
    callable TSBDNSKeyValidateEvent(TObject $Sender, TElDNSPublicKeyRecord $Key, bool &$Valid)

Parameters

  • Key - the key that needs to be validated
  • Valid - set this parameter to True if the key is valid, and to False otherwise

Description

    This event is fired by TElDNSResolver when a key needs to be validated. Provide the validation result via Valid parameter.

See also:     OnKeyNeeded    

Discuss this help topic in SecureBlackbox Forum