Certificate


Object Hierarchy:

Gcr.Certificate Gcr.Certificate Gcr.Certificate GLib.Object GLib.Object GLib.Object->Gcr.Certificate Gcr.Comparable Gcr.Comparable Gcr.Comparable->Gcr.Certificate

Description:

[ CCode ( type_id = "gcr_certificate_get_type ()" ) ]
public interface Certificate : Object, Comparable

An interface that represents an X.509 certificate.

Objects can implement this interface to make a certificate usable with the GCR library.

Various methods are available to parse out relevant bits of the certificate. However no verification of the validity of a certificate is done here. Use your favorite crypto library to do this.

You can use [class@SimpleCertificate] to simply load a certificate for which you already have the raw certificate data.

The Certificate interface has several properties that must be implemented. You can use a mixin to implement these properties if desired. See the gcr_certificate_mixin_class_init and gcr_certificate_mixin_get_property functions.

All certificates are comparable. If implementing a Certificate, you can use GCR_CERTIFICATE_MIXIN_IMPLEMENT_COMPARABLE to implement the Comparable interface.

All known implementing classes:

Namespace: Gcr
Package: gcr-3

Content:

Properties:

Static methods:

Methods:

Inherited Members:

All known members inherited from interface Gcr.Comparable