Gcr.CertificateExtensionBasicConstraints¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gcr.CertificateExtensionBasicConstraints(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A certificate extension that can be used to identify the type of the certificate subject (whether it is a certificate authority or not).
New in version 4.3.90.
- get_path_len_constraint()[source]¶
- Returns:
The value of “pathLenConstraint”, or -1 if not set.
- Return type:
Returns the maximum number of CAs that are allowed in the chain below this certificate.
If this is not set, this method returns -1.
Note that this field doesn’t really make sense if [method`Gcr`.CertificateExtensionBasicConstraints.is_ca] is false.