Data.DBXCommon.TValidateCertificate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TValidateCertificate = procedure(Owner: TObject; Certificate: TX509Certificate;
const ADepth: Integer; var Ok: Boolean) of Object;

C++

typedef void __fastcall (__closure *TValidateCertificate)(System::TObject* Owner, TX509Certificate* Certificate, const int ADepth, bool &Ok);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Data.DBXCommon.pas
Data.DBXCommon.hpp
Data.DBXCommon Data.DBXCommon

Description

Procedural type that represents a certificate validation callback signature.

TValidateCertificate is a procedural type that represents a certificate validation callback signature. The procedure takes in four parameters, Owner, Certificate, ADepth, and Ok.

Owner is the object that invoked the callback.

Certificate is an X.509 certificate.

ADepth represents the number of certificates to be validated.

Ok is a Boolean value that is expected to be True if the certificate is valid, False otherwise.

See Also