Datasnap.DSClientRest.TDSRestConnection.OnValidateCertificate
| [–] Properties | |
|---|---|
| Type: event | |
| Visibility: published | |
| Source: Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp
| |
| Unit: Datasnap.DSClientRest | |
| Parent: TDSRestConnection | |
Delphi
property OnValidateCertificate;
C++
__property OnValidateCertificate;
Description
Occurs when the SSL certificate needs to be validated.
Datasnap.DSClientRest.TDSRestConnection.OnValidateCertificate inherits from Datasnap.DSClientRest.TDSCustomRestConnection.OnValidateCertificate. All content below this line refers to Datasnap.DSClientRest.TDSCustomRestConnection.OnValidateCertificate.
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.