Data.DBXCommon.TX509Certificate.GetBasicConstraints
Delphi
function GetBasicConstraints: Integer; virtual; abstract;
C++
virtual int __fastcall GetBasicConstraints(void) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DBXCommon.pas Data.DBXCommon.hpp |
Data.DBXCommon | TX509Certificate |
Description
Virtual abstract method to be implemented in child classes to get the certificate constraints' path length from the critical basic constraints extension.
The GetBasicConstraints virtual abstract method is to be implemented in child classes to get the certificate constraints' path length from the critical basic constraints extension. GetBasicConstraints specifies whether the subject of the certificate is a Certificate Authority (CA) and, if so, how deep a certification path may exist through that CA. A value of -1 is returned if CA is False.
GetBasicConstraints returns the length if the subject is a CA, otherwise -1. If the subject is a CA but no length was specified, then High(Integer) is returned to indicate that there is no limit to the allowed length of the certification path.