CertificateExtension
Object Hierarchy:
Description:
[
CCode ( type_id =
"gcr_certificate_extension_get_type ()" ) ]
[
Version ( since =
"4.3.90" ) ]
public class CertificateExtension :
Object
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].
Content:
Properties:
- public bool critical { get; construct; }
Whether this certificate is critical.
- public string oid { get; }
The Object Identifier (OID) that identifies the extension.
- public Bytes value { get; construct; }
The raw value in bytes of the extension.
Creation methods:
Methods:
- public unowned string? get_description ()
Returns a user-displayable description of the OID that identifies the
extension, if known.
- public unowned string get_oid ()
Returns the OID that identifies the extension
- public unowned Bytes get_value ()
Returns the raw value in bytes of the extension.
- public bool is_critical ()
Returns wether the certificate extension is marked critical.
Inherited Members:
All known members inherited from class GLib.Object