function GetBasicConstraints: Integer; virtual; abstract;
virtual int __fastcall GetBasicConstraints() = 0 ;
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.