Discuss this help topic in SecureBlackbox Forum

TElX509CertificateValidator.OnCACertificateNeeded

TElX509CertificateValidator     See also     


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


This event is fired when a CA certificate is needed.

Declaration

[C#/Java]
    event TSBCACertificateNeededEvent OnCACertificateNeeded;
    delegate void TSBCACertificateNeededEvent(Object Sender, TElX509Certificate Certificate, ref TElX509Certificate CACertificate);

[VB.NET]
    Event OnCACertificateNeeded As TSBCACertificateNeededEvent
    Delegate Sub TSBCACertificateNeededEvent(ByVal Sender As Object, ByVal Certificate As TElX509Certificate, ByRef CACertificate As TElX509Certificate)

[Pascal]
    property OnCACertificateNeeded : TSBCACertificateNeededEvent;
    TSBCACertificateNeededEvent = procedure(Sender : TObject; Certificate : TElX509Certificate; var CACertificate : TElX509Certificate) of object;

[C++]
    void get_OnCACertificateNeeded(TSBCACertificateNeededEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCACertificateNeeded(TSBCACertificateNeededEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBCACertificateNeededEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateHandle Certificate, TElX509CertificateHandle &CACertificate);

[PHP]
    TSBCACertificateNeededEvent|callable|NULL get_OnCACertificateNeeded()
    void set_OnCACertificateNeeded(TSBCACertificateNeededEvent|callable|NULL $Value)
    callable TSBCACertificateNeededEvent(TObject $Sender, TElX509Certificate $Certificate, TElX509Certificate &$CACertificate)

Parameters

  • Certificate - specifies the certificate being validated.
  • CACertificate - the required CA certificate should be provided via this parameter.

Description

    This event is fired when TElX509CertificateValidator needs a CA certificate. The handler should provide the required certificate via CACertificate parameter.

See also:     OnCACertificateRetrieved     OnBeforeCertificateRetrieverUse    

Discuss this help topic in SecureBlackbox Forum