Datasnap.DSAuth.TDSCustomAuthenticationManager.ValidatePeerCertificate

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.DSAuth.pas
Datasnap.DSAuth.hpp
Unit: Datasnap.DSAuth
Parent: TDSCustomAuthenticationManager

Delphi

function ValidatePeerCertificate(Certificate: TX509Certificate; const ADepth: Integer): boolean; virtual;

C++

virtual bool __fastcall ValidatePeerCertificate(Data::Dbxcommon::TX509Certificate* Certificate, const int ADepth);

Description

Allows for validation of the given certificate.

ValidatePeerCertificate allows for validation of the given certificate by delegating into the OnValidatePeerCertificate event, if one is specified.

See Also