Datasnap.DSHTTPClient.TDSHTTP.OnSelectClientCertificate

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: public
Source:
Datasnap.DSHTTPClient.pas
Datasnap.DSHTTPClient.hpp
Unit: Datasnap.DSHTTPClient
Parent: TDSHTTP

Delphi

property OnSelectClientCertificate: TNeedClientCertificateEvent read GetOnSelectClientCertificate write SetOnSelectClientCertificate;

C++

__property System::Net::Urlclient::TNeedClientCertificateEvent OnSelectClientCertificate = {read=GetOnSelectClientCertificate, write=SetOnSelectClientCertificate};

Description

Occurs when the server requires the user to select an SSL certificate from the installed ones.

The event handler of OnSelectClientCertificate receives the following parameters:

  • Sender: Object that invokes the event.
  • ARequest: Client request that invokes the event.
  • ACertificateList: List of available certificates installed in the system.
  • AnIndex: Index of the selected certificate.

See Also