Datasnap.DSClientRest.TDSCustomRestConnection.OnValidateCertificate
| [–] Properties | |
|---|---|
| Type: event | |
| Visibility: public | |
| Source: Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp
| |
| Unit: Datasnap.DSClientRest | |
| Parent: TDSCustomRestConnection | |
Delphi
property OnValidateCertificate: TDSHTTP.TValidateCertificateEvent read GetOnValidateCertificate
C++
__property System::Net::Urlclient::TValidateCertificateEvent OnValidateCertificate = {read=GetOnValidateCertificate, write=SetOnValidateCertificate};
Description
Occurs when the SSL certificate needs to be validated.
The event handler of OnValidateCertificate receives the following parameters:
Sender: Object that invokes the event.ARequest: Client request that invokes the event.Certificate: Certificates to validate.Accepted:Trueif the certificate is valid,Falseotherwise.