Discuss this help topic in SecureBlackbox Forum

TElPDFAdvancedPublicKeySecurityHandler.OnCertValidatorFinished

TElPDFAdvancedPublicKeySecurityHandler     See also     


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


This event is fired after a certificate has been validated.

Declaration

[C#]
    event TSBPDFCertValidatorFinishedEvent OnCertValidatorFinished;
    delegate void TSBPDFCertValidatorFinishedEvent(Object Sender, TElX509CertificateValidator CertValidator, TElX509Certificate Cert, TSBCertificateValidity Validity, TSBCertificateValidityReason Reason);

[VB.NET]
    Event OnCertValidatorFinished As TSBPDFCertValidatorFinishedEvent
    Delegate Sub TSBPDFCertValidatorFinishedEvent(ByVal Sender As Object, ByVal CertValidator As TElX509CertificateValidator, ByVal Cert As TElX509Certificate, ByVal Validity As TSBCertificateValidity, ByVal Reason As TSBCertificateValidityReason)

[Pascal]
    property OnCertValidatorFinished : TSBPDFCertValidatorFinishedEvent;
    TSBPDFCertValidatorFinishedEvent = procedure(Sender : TObject; CertValidator : TElX509CertificateValidator; Cert : TElX509Certificate; Validity : TSBCertificateValidity; Reason : TSBCertificateValidityReason) of object;

[C++]
    void get_OnCertValidatorFinished(TSBPDFCertValidatorFinishedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCertValidatorFinished(TSBPDFCertValidatorFinishedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBPDFCertValidatorFinishedEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateValidatorHandle CertValidator, TElX509CertificateHandle Cert, TSBCertificateValidityRaw Validity, TSBCertificateValidityReasonRaw Reason);

[PHP]
    TSBPDFCertValidatorFinishedEvent|callable|NULL get_OnCertValidatorFinished()
    void set_OnCertValidatorFinished(TSBPDFCertValidatorFinishedEvent|callable|NULL $Value)
    callable TSBPDFCertValidatorFinishedEvent(TObject $Sender, TElX509CertificateValidator $CertValidator, TElX509Certificate $Cert, integer $Validity, integer $Reason)

[Java]
    TSBPDFCertValidatorFinishedEvent getOnCertValidatorFinished();
    void setOnCertValidatorFinished(TSBPDFCertValidatorFinishedEvent Value);
    TSBPDFCertValidatorFinishedEvent.Callback OnCertValidatorFinished = new TSBPDFCertValidatorFinishedEvent.Callback() {
        public void TSBPDFCertValidatorFinishedEventCallback(TObject Sender, TElX509CertificateValidator CertValidator, TElX509Certificate Cert, TSBCertificateValidity Validity, int Reason) {
            //...
        }
    }

Parameters

  • Cert - the certificate that has been validated
  • CertValidator - TElX509CertificateValidator object that has been used for validation
  • Validity - contains validation result
  • Reason - contains (in)validity reason

Possible validity values:

Possible validity reason values:

Description

    This event is fired by TElPDFAdvancedPublicKeySecurityHandler when validation of a certificate has been finished.

See also:     OnCertValidatorPrepared    

Discuss this help topic in SecureBlackbox Forum