Datasnap.DSClientRest.TDSCustomRestConnection.OnValidateCertificate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnValidateCertificate: TDSHTTP.TValidateCertificateEvent read GetOnValidateCertificate  write SetOnValidateCertificate;

C++

__property System::Net::Urlclient::TValidateCertificateEvent OnValidateCertificate = {read=GetOnValidateCertificate, write=SetOnValidateCertificate};

Properties

Type Visibility Source Unit Parent
event public
Datasnap.DSClientRest.pas
Datasnap.DSClientRest.hpp
Datasnap.DSClientRest TDSCustomRestConnection

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: True if the certificate is valid, False otherwise.

See Also