Gcr.Pkcs11Certificate.lookup_issuer

function lookup_issuer(certificate: Gcr.Certificate, cancellable: Gio.Cancellable): Gcr.Certificate {
    // Gjs wrapper for gcr_pkcs11_certificate_lookup_issuer()
}
  

Lookup a the issuer of a certificate in the PKCS\#11 storage. The lookup is done using the issuer DN of the certificate. No certificate chain verification is done. Use a crypto library to make trust decisions.

This call may block, see Gcr.Pkcs11Certificate.lookup_issuer for the non-blocking version.

Will return null if no issuer certificate is found. Use @error to determine if an error occurred.

certificate

a Gcr.Certificate

cancellable

a Gio.Cancellable

Returns

a new Gcr.Pkcs11Certificate, or null