Data.DBXCommonIndy.TX509CertificateIndy.GetBasicConstraints
Delphi
function GetBasicConstraints: Integer; override;
C++
virtual int __fastcall GetBasicConstraints();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DBXCommonIndy.pas Data.DBXCommonIndy.hpp |
Data.DBXCommonIndy | TX509CertificateIndy |
Description
Returns the certificate constraints path length from the critical basic constraints extension.
The GetBasicConstraints method returns 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 will be 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.