Discuss this help topic in SecureBlackbox Forum


TElX509CertificateValidator     See also     

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

This event is fired when a CA certificate has been retrieved.


    event TSBCACertificateRetrievedEvent OnCACertificateRetrieved;
    delegate void TSBCACertificateRetrievedEvent(Object Sender, TElX509Certificate Certificate, TSBGeneralName NameType, string Location, TElX509Certificate CACertificate);

    Event OnCACertificateRetrieved As TSBCACertificateRetrievedEvent
    Delegate Sub TSBCACertificateRetrievedEvent(ByVal Sender As Object, ByVal Certificate As TElX509Certificate, ByVal NameType As TSBGeneralName, ByVal Location As String, ByVal CACertificate As TElX509Certificate)

    property OnCACertificateRetrieved : TSBCACertificateRetrievedEvent;
    TSBCACertificateRetrievedEvent = procedure(Sender : TObject; Certificate : TElX509Certificate; NameType : TSBGeneralName; const Location : string; CACertificate : TElX509Certificate) of object;

    void get_OnCACertificateRetrieved(TSBCACertificateRetrievedEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCACertificateRetrieved(TSBCACertificateRetrievedEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBCACertificateRetrievedEvent)(void * _ObjectData, TObjectHandle Sender, TElX509CertificateHandle Certificate, TSBGeneralNameRaw NameType, const char * pcLocation, int32_t szLocation, TElX509CertificateHandle CACertificate);

    TSBCACertificateRetrievedEvent|callable|NULL get_OnCACertificateRetrieved()
    void set_OnCACertificateRetrieved(TSBCACertificateRetrievedEvent|callable|NULL $Value)
    callable TSBCACertificateRetrievedEvent(TObject $Sender, TElX509Certificate $Certificate, integer $NameType, string $Location, TElX509Certificate $CACertificate)


  • Certificate - specifies the certificate being validated.
  • NameType - specifies the name type of the certificate location.
  • Location - specifies the CA certificate location.
  • CACertificate - specifies the certificate that has been received.
  • pcLocation - specifies the CA certificate location.
  • szLocation - the length of pcLocation.

Possible NameType values:


    This event is fired by TElX509CertificateValidator when it has retrieved a CA certificate.

See also:     OnCACertificateNeeded     OnBeforeCertificateRetrieverUse    

Discuss this help topic in SecureBlackbox Forum