Discuss this help topic in SecureBlackbox Forum


TElClientSSLSocket     See also     

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

This event is fired when the protocol requires a client certificate.


    not available

    not available

    not implemented;

    not available

    not available

    not available


  • Certificate - points to instance of TElX509Certificate class (see notes below)


    This event is fired by TElClientSSLSocket when the negotiated protocol requires a client-side X.509 certificate to be used during session. TElClientSLLSocket fires OnCertificateNeededEx event consequently, until null (Nothing in VB.NET) value is passed as Certificate parameter. This gives the ability to pass a certificate chain to server, not only a single certificate. This event should be handled in the following way:

  • Pass the whole certificate chain, starting from end-entity certificate with a corresponding private key.
  • When the chain is over, pass NULL (Nothing in VB.NET) as Certificate parameter.

OnCertificateNeededEx can accept the certificate which belongs to the certain chain. In this case the whole chain is sent and OnCertificateNeededEx is not fired further.

See also:     OnCertificateValidate    

Discuss this help topic in SecureBlackbox Forum