Discuss this help topic in SecureBlackbox Forum

TElX509CertificateValidator.OnBeforeCertificateProcessing

TElX509CertificateValidator     


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


This event is fired before a certificate is processed.

Declaration

[C#]
    not available

[VB.NET]
    not available

[Pascal]
    property OnBeforeCertificateProcessing : TSBBeforeCertificateProcessingEvent;
    TSBBeforeCertificateProcessingEvent = procedure(Sender : TObject; Certificate : TElX509Certificate; Validity : TSBCertificateValidity; Reason : TSBCertificateValidityReason) of object;

[C++]
    void get_OnBeforeCertificateProcessing(TSBBeforeCertificateProcessingEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBeforeCertificateProcessing(TSBBeforeCertificateProcessingEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBBeforeCertificateProcessingEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateHandle Certificate, TSBCertificateValidityRaw Validity, TSBCertificateValidityReasonRaw Reason);

[PHP]
    TSBBeforeCertificateProcessingEvent|callable|NULL get_OnBeforeCertificateProcessing()
    void set_OnBeforeCertificateProcessing(TSBBeforeCertificateProcessingEvent|callable|NULL $Value)
    callable TSBBeforeCertificateProcessingEvent(TObject $Sender, TElX509Certificate $Certificate, integer $Validity, integer $Reason)

[Java]
    TSBBeforeCertificateProcessingEvent getOnBeforeCertificateProcessing();
    void setOnBeforeCertificateProcessing(TSBBeforeCertificateProcessingEvent Value);
    TSBBeforeCertificateProcessingEvent.Callback OnBeforeCertificateProcessing = new TSBBeforeCertificateProcessingEvent.Callback() {
        public void TSBBeforeCertificateProcessingEventCallback(TObject Sender, TElX509Certificate Certificate, TSBCertificateValidity Validity, int Reason) {
            //...
        }
    }

Parameters

  • Certificate - the certificate which is going to be processed.
  • Validity - certificate validity obtained at the previous validation step.
  • Reason - specifies certificate validity reason.

TSBCertificateValidityRaw values

TSBCertificateValidityReasonRaw values

Description

    This event if fired by the component before processing each certificate. It informs about the cert's validity and validity reason obtained at the previous trust tree level.

Discuss this help topic in SecureBlackbox Forum