Discuss this help topic in SecureBlackbox Forum

TElX509CertificateValidator.OnCACertificateFound

TElX509CertificateValidator     


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


Reports a CA certificate is found during validation.

Declaration

[C#]
    not available

[VB.NET]
    not available

[Pascal]
    property OnCACertificateFound : TSBCACertificateFoundEvent;
    TSBCACertificateFoundEvent = public procedure(Sender: TObject; Certificate : TElX509Certificate; CACertificate : TElX509Certificate; Trusted : boolean; var Proceed : boolean) of object;

[C++]
    void get_OnCACertificateFound(TSBCACertificateFoundEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCACertificateFound(TSBCACertificateFoundEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBCACertificateFoundEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateHandle Certificate, TElX509CertificateHandle CACertificate, int8_t Trusted, int8_t &Proceed);

[PHP]
    TSBCACertificateFoundEvent|callable|NULL get_OnCACertificateFound()
    void set_OnCACertificateFound(TSBCACertificateFoundEvent|callable|NULL $Value)
    callable TSBCACertificateFoundEvent(TObject $Sender, TElX509Certificate $Certificate, TElX509Certificate $CACertificate, bool $Trusted, bool &$Proceed)

[Java]
    TSBCACertificateFoundEvent getOnCACertificateFound();
    void setOnCACertificateFound(TSBCACertificateFoundEvent Value);
    TSBCACertificateFoundEvent.Callback OnCACertificateFound = new TSBCACertificateFoundEvent.Callback() {
        public void TSBCACertificateFoundEventCallback(TObject Sender, TElX509Certificate Certificate, TElX509Certificate CACertificate, boolean Trusted, TSBBoolean Proceed) {
            //...
        }
    }

Parameters

  • Certificate - certificate being validated.
  • CACertificate - the CA certificate that was encountered.
  • Trusted - specifies whether the CA certificate is trusted (True) or not (False).
  • Proceed - set this parameter to True if validation should continue and to False to remove the CA certificate.

Description

    This event is fired by TElX509CertificateValidator when it has found the CA certificate in the validation process.

Discuss this help topic in SecureBlackbox Forum