Discuss this help topic in SecureBlackbox Forum

TElX509CertificateValidator.OnCACertificateRetrieved

TElX509CertificateValidator     See also     


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


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

Declaration

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

[VB.NET]
    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)

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

[C++]
    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);

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

[Java]
    TSBCACertificateRetrievedEvent getOnCACertificateRetrieved();
    void setOnCACertificateRetrieved(TSBCACertificateRetrievedEvent Value);
    TSBCACertificateRetrievedEvent.Callback OnCACertificateRetrieved = new TSBCACertificateRetrievedEvent.Callback() {
        public void TSBCACertificateRetrievedEventCallback(TObject Sender, TElX509Certificate Certificate, TSBGeneralName NameType, String Location, TElX509Certificate CACertificate) {
            //...
        }
    }

Parameters

  • 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:

Description

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

See also:     OnCACertificateNeeded     OnBeforeCertificateRetrieverUse    

Discuss this help topic in SecureBlackbox Forum