Certificate
Object Hierarchy:
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 [func@Certificate.mixin_class_init] and [func@Certificate.mixin_get_property] functions.
All known implementing classes:
Content:
Properties:
- public abstract string description { owned get; }
A readable description for this certificate
- public abstract Date expiry { owned get; }
The expiry date of the certificate
- public abstract Icon icon { owned get; }
An icon representing the certificate
- public abstract string? issuer { owned get; }
Common name part of the certificate issuer
- public abstract string? label { owned get; }
A readable label for this certificate.
- public abstract string? markup { owned get; }
GLib markup to describe the certificate
- public abstract string? subject { owned get; }
Common name part of the certificate subject
Static methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface Gcr.Comparable