Discuss this help topic in SecureBlackbox Forum

TElXAdESProcessor.OnBeforeCertificateValidate

TElXAdESProcessor     See also     


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


This event is fired before certificate validation.

Declaration

[C#]
    event TSBXAdESBeforeCertificateValidateEvent OnBeforeCertificateValidate;
    delegate void TSBXAdESBeforeCertificateValidateEvent(Object Sender, TElX509Certificate Cert, TElX509CertificateValidator CertValidator);

[VB.NET]
    Event OnBeforeCertificateValidate As TSBXAdESBeforeCertificateValidateEvent
    Delegate Sub TSBXAdESBeforeCertificateValidateEvent(ByVal Sender As Object, ByVal Cert As TElX509Certificate, ByVal CertValidator As TElX509CertificateValidator)

[Pascal]
    property OnBeforeCertificateValidate : TSBXAdESBeforeCertificateValidateEvent;
    TSBXAdESBeforeCertificateValidateEvent = procedure(Sender : TObject; Cert : TElX509Certificate; CertValidator : TElX509CertificateValidator) of object;

[C++]
    void get_OnBeforeCertificateValidate(TSBXAdESBeforeCertificateValidateEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBeforeCertificateValidate(TSBXAdESBeforeCertificateValidateEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBXAdESBeforeCertificateValidateEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateHandle Cert, TElX509CertificateValidatorHandle CertValidator);

[PHP]
    TSBXAdESBeforeCertificateValidateEvent|callable|NULL get_OnBeforeCertificateValidate()
    void set_OnBeforeCertificateValidate(TSBXAdESBeforeCertificateValidateEvent|callable|NULL $Value)
    callable TSBXAdESBeforeCertificateValidateEvent(TObject $Sender, TElX509Certificate $Cert, TElX509CertificateValidator $CertValidator)

[Java]
    TSBXAdESBeforeCertificateValidateEvent getOnBeforeCertificateValidate();
    void setOnBeforeCertificateValidate(TSBXAdESBeforeCertificateValidateEvent Value);
    TSBXAdESBeforeCertificateValidateEvent.Callback OnBeforeCertificateValidate = new TSBXAdESBeforeCertificateValidateEvent.Callback() {
        public void TSBXAdESBeforeCertificateValidateEventCallback(TObject Sender, TElX509Certificate Cert, TElX509CertificateValidator CertValidator) {
            //...
        }
    }

Parameters

  • Cert - the certificate to be validated.
  • CertValidator - the object used to validate the certificate.

Description

    This event is fired by TElXAdESProcessor before it starts certificate validation.

See also:     OnCertificateNeeded    

Discuss this help topic in SecureBlackbox Forum