Discuss this help topic in SecureBlackbox Forum


TElDNSResolver     See also     

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

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


    event TSBDNSKeyValidateEvent OnKeyValidate;
    delegate void TSBDNSKeyValidateEvent(Object Sender, TElDNSPublicKeyRecord Key, ref bool Valid);

    Event OnKeyValidate As TSBDNSKeyValidateEvent
    Delegate Sub TSBDNSKeyValidateEvent(ByVal Sender As Object, ByVal Key As TElDNSPublicKeyRecord, ByRef Valid As Boolean)

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

    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);

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

    TSBDNSKeyValidateEvent getOnKeyValidate();
    void setOnKeyValidate(TSBDNSKeyValidateEvent Value);
    TSBDNSKeyValidateEvent.Callback OnKeyValidate = new TSBDNSKeyValidateEvent.Callback() {
        public void TSBDNSKeyValidateEventCallback(TObject Sender, TElDNSPublicKeyRecord Key, TSBBoolean Valid) {


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


    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