Datasnap.DSClientRest.TDSCustomRestConnection.OnSelectClientCertificate
[–] Properties | |
---|---|
Type: event | |
Visibility: public | |
Source: Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp
| |
Unit: Datasnap.DSClientRest | |
Parent: TDSCustomRestConnection |
Delphi
property OnSelectClientCertificate: TNeedClientCertificateEvent read GetOnNeedClientCertificate
C++
__property System::Net::Urlclient::TNeedClientCertificateEvent OnSelectClientCertificate = {read=GetOnNeedClientCertificate, write=SetOnNeedClientCertificate};
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.