REST.Backend.EMSProvider.TCustomEMSConnectionInfo.OnValidateCertificate
Delphi
property OnValidateCertificate: TValidateCertificateEvent read FOnValidateCertificate write SetOnValidateCertificate;
C++
__property System::Net::Urlclient::TValidateCertificateEvent OnValidateCertificate = {read=FOnValidateCertificate, write=SetOnValidateCertificate};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | REST.Backend.EMSProvider.pas REST.Backend.EMSProvider.hpp |
REST.Backend.EMSProvider | TCustomEMSConnectionInfo |
Description
Occurs when checking the validity of a server certificate.
The event handler of OnValidateCertificate receives the following parameters:
Sender
: The instance of the HTTP Client that makes the request.ARequest
: URL of the request.Certificate
: Server certificate to validate.Accepted
: Indicates the validity of the certificate.True
if the server certificate is valid.