Gio.TlsDatabase.prototype.lookup_certificate_issuer

function lookup_certificate_issuer(certificate: Gio.TlsCertificate, interaction: Gio.TlsInteraction, flags: Gio.TlsDatabaseLookupFlags, cancellable: Gio.Cancellable): Gio.TlsCertificate {
    // Gjs wrapper for g_tls_database_lookup_certificate_issuer()
}
  

Lookup the issuer of certificate in the database.

The %issuer property of certificate is not modified, and the two certificates are not hooked into a chain.

This function can block, use Gio.TlsDatabase.prototype.lookup_certificate_issuer_async to perform the lookup operation asynchronously.

Since 2.30

certificate

a Gio.TlsCertificate

interaction

used to interact with the user if necessary

flags

flags which affect the lookup operation

cancellable

a Gio.Cancellable, or null

Returns

a newly allocated issuer Gio.TlsCertificate, or null. Use GObject.Object.prototype.unref to release the certificate.