Skip to content

THTTPVerifyCertificateEvent

Event type for SSL certificate verification

Declaration

Source position: fphttpclient.pp line 51

type
  THTTPVerifyCertificateEvent = procedure(Sender: TObject; 
                                        AHandler: TSSLSocketHandler; 
                                        var aAllow: Boolean) of object;

Arguments

Name Description
Sender The HTTP client object that triggered the event
AHandler The SSL socket handler containing the certificate
aAllow Set to True to accept the certificate

Description

Event type called during SSL certificate verification, allowing custom certificate validation logic.

See also

Name Description
TFPHTTPClient.OnVerifySSLCertificate Event called for custom SSL certificate verification