Gcr.CertificateExtension¶
- Subclasses:
Gcr.CertificateExtensionAuthorityInfoAccess
,Gcr.CertificateExtensionAuthorityKeyIdentifier
,Gcr.CertificateExtensionBasicConstraints
,Gcr.CertificateExtensionCertificatePolicies
,Gcr.CertificateExtensionCrlDistributionPoints
,Gcr.CertificateExtensionExtendedKeyUsage
,Gcr.CertificateExtensionKeyUsage
,Gcr.CertificateExtensionSubjectAltName
,Gcr.CertificateExtensionSubjectKeyIdentifier
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
|||
r |
|||
r/w/co |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Gcr.CertificateExtension(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An object that describes a certificate extension.
By default, a certificate extension exposes 3 things: an OID, whether it’s marked as critical, and the raw value.
For known extensions, gcr tries to provide subclasses with the appropriate API.
See also [method`Certificate`.list_extensions].
New in version 4.3.90.
- get_description()[source]¶
-
Returns a user-displayable description of the OID that identifies the extension, if known.
New in version 4.3.90.
- get_oid()[source]¶
- Return type:
Returns the OID that identifies the extension
New in version 4.3.90.
Property Details¶
- Gcr.CertificateExtension.props.critical¶
- Name:
critical
- Type:
- Default Value:
- Flags:
Whether this certificate is critical.
- Gcr.CertificateExtension.props.oid¶
-
The Object Identifier (OID) that identifies the extension.
- Gcr.CertificateExtension.props.value¶
- Name:
value
- Type:
- Default Value:
- Flags:
The raw value in bytes of the extension.