Discuss this help topic in SecureBlackbox Forum

TElX509CertificateValidator.OnBeforeCertificateValidation

TElX509CertificateValidator     See also     


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


This event is fired just before certificate validation.

Declaration

[C#]
    event TSBBeforeCertificateValidationEvent OnBeforeCertificateValidation;
    delegate void TSBBeforeCertificateValidationEvent(Object Sender, TElX509Certificate Certificate, TElX509Certificate CACertificate);

[VB.NET]
    Event OnBeforeCertificateValidation As TSBBeforeCertificateValidationEvent
    Delegate Sub TSBBeforeCertificateValidationEvent(ByVal Sender As Object, ByVal Certificate As TElX509Certificate, ByVal CACertificate As TElX509Certificate)

[Pascal]
    property OnBeforeCertificateValidation : TSBBeforeCertificateValidationEvent;
    TSBBeforeCertificateValidationEvent = procedure(Sender : TObject; Certificate : TElX509Certificate) of object;

[C++]
    void get_OnBeforeCertificateValidation(TSBBeforeCertificateValidationEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBeforeCertificateValidation(TSBBeforeCertificateValidationEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBBeforeCertificateValidationEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateHandle Certificate, TElX509CertificateHandle CACertificate);

[PHP]
    TSBBeforeCertificateValidationEvent|callable|NULL get_OnBeforeCertificateValidation()
    void set_OnBeforeCertificateValidation(TSBBeforeCertificateValidationEvent|callable|NULL $Value)
    callable TSBBeforeCertificateValidationEvent(TObject $Sender, TElX509Certificate $Certificate, TElX509Certificate $CACertificate)

[Java]
    TSBBeforeCertificateValidationEvent getOnBeforeCertificateValidation();
    void setOnBeforeCertificateValidation(TSBBeforeCertificateValidationEvent Value);
    TSBBeforeCertificateValidationEvent.Callback OnBeforeCertificateValidation = new TSBBeforeCertificateValidationEvent.Callback() {
        public void TSBBeforeCertificateValidationEventCallback(TObject Sender, TElX509Certificate Certificate, TElX509Certificate CACertificate) {
            //...
        }
    }

Parameters

  • Certificate - the certificate which is to be validated.
  • CACertificate -

Description

    This event is fired by TElX509CertificateValidator just before it starts to validate the certificate.

See also:     Validate    

Discuss this help topic in SecureBlackbox Forum