Discuss this help topic in SecureBlackbox Forum


TElSimpleSFTPClient     See also     

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

This event is fired when a key should be validated.


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

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

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

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

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

    TSBDNSKeyValidateEvent getOnDNSKeyValidate();
    void setOnDNSKeyValidate(TSBDNSKeyValidateEvent Value);
    TSBDNSKeyValidateEvent.Callback OnDNSKeyValidate = 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 TElSimpleSFTPClient when a key needs to be validated. Provide the validation result via Valid parameter.

See also:     OnDNSKeyNeeded     OnDNSResolve     DNS    

Discuss this help topic in SecureBlackbox Forum