API:REST.Backend.EMSProvider.TEMSProvider.OnValidateCertificate
Delphi
property OnValidateCertificate;
C++
__property OnValidateCertificate;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | REST.Backend.EMSProvider.pas REST.Backend.EMSProvider.hpp |
REST.Backend.EMSProvider | TEMSProvider |
Description
Occurs when checking the validity of a server certificate.
REST.Backend.EMSProvider.TEMSProvider.OnValidateCertificate inherits from REST.Backend.EMSProvider.TCustomEMSConnectionInfo.OnValidateCertificate. All content below this line refers to REST.Backend.EMSProvider.TCustomEMSConnectionInfo.OnValidateCertificate. 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.