Datasnap.DSClientRest.TDSCustomRestConnection.OnSelectClientCertificate
Delphi
property OnSelectClientCertificate: TNeedClientCertificateEvent read GetOnNeedClientCertificate
C++
__property System::Net::Urlclient::TNeedClientCertificateEvent OnSelectClientCertificate = {read=GetOnNeedClientCertificate, write=SetOnNeedClientCertificate};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp |
Datasnap.DSClientRest | TDSCustomRestConnection |
Description
Occurs when the server requires the user to select an SSL certificate from the installed ones (for instance, TLS).
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.