Discuss this help topic in SecureBlackbox Forum

TElBaseSocketClient.OnDNSKeyValidate

TElBaseSocketClient     See also     


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


This event is fired when a key should be validated.

Declaration

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

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

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

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

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

[Java]
    TSBDNSKeyValidateEvent getOnDNSKeyValidate();
    void setOnDNSKeyValidate(TSBDNSKeyValidateEvent Value);
    TSBDNSKeyValidateEvent.Callback OnDNSKeyValidate = new TSBDNSKeyValidateEvent.Callback() {
        public void TSBDNSKeyValidateEventCallback(TObject Sender, TElDNSPublicKeyRecord Key, TSBBoolean 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 TElBaseSocketClient when a key needs to be validated. The handler should pass validation result via the Validate parameter.

See also:     OnDNSKeyNeeded     OnDNSResolve     DNS    

Discuss this help topic in SecureBlackbox Forum