[ CCode ( type_id = "gcr_certificate_get_type ()" ) ]
public interface Certificate : Object
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.