Discuss this help topic in SecureBlackbox Forum


TElAS2Client     See also     

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

This event is fired when the component needs to select a certificate to be used.


    event TSBChooseCertificateEvent OnCertificateChoose;
    delegate void TSBChooseCertificateEvent(Object Sender, TElX509Certificate[] Certificates, ref int CertificateIndex);

    Event OnCertificateChoose As TSBChooseCertificateEvent
    Delegate Sub TSBChooseCertificateEvent(ByVal Sender As Object, ByVal Certificates As TElX509Certificate[], ByRef CertificateIndex As Integer)

    property OnCertificateChoose : TSBChooseCertificateEvent;
    TSBChooseCertificateEvent = procedure (Sender: TObject; Certificates : array of TElX509Certificate; var CertificateIndex : integer) of object;

    void get_OnCertificateChoose(TSBChooseCertificateEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnCertificateChoose(TSBChooseCertificateEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBChooseCertificateEvent)(void * _ObjectData, TObjectHandle Sender, const TElX509CertificateHandle pCertificates[], int32_t szCertificates, int32_t &CertificateIndex);

    TSBChooseCertificateEvent|callable|NULL get_OnCertificateChoose()
    void set_OnCertificateChoose(TSBChooseCertificateEvent|callable|NULL $Value)
    callable TSBChooseCertificateEvent(TObject $Sender, array of TElX509Certificate $Certificates, integer &$CertificateIndex)


  • Certificates - array of certificates one of which has to be chosen
  • CertificateIndex - index of the chosen certificate
  • pCertificates -
  • szCertificates - the length of pcCertificates.


    This event is fired by TElAS2Client when the certificate needs to be chosen. The application must find the appropriate certificate in the Certificates and provide its index via CertificateIndex parameter.

See also:     OnCertificateValidate     OnCertificateNeededEx    

Discuss this help topic in SecureBlackbox Forum