Data.DBXCommon.TValidateCertificate

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
type
typedef
Visibility: public
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: Data.DBXCommon

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);

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