Gcr.Pkcs11Certificate.lookup_issuer_async

function lookup_issuer_async(certificate: Gcr.Certificate, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for gcr_pkcs11_certificate_lookup_issuer_async()
}
  

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.

When the operation is finished, callback will be called. You can then call Gcr.Pkcs11Certificate.lookup_issuer_finish to get the result of the operation.

certificate

a Gcr.Certificate

cancellable

a Gio.Cancellable

callback

a Gio.AsyncReadyCallback to call when the operation completes