Gio.TlsDatabase::lookup_certificate_for_handle_finish

function vfunc_lookup_certificate_for_handle_finish(result: Gio.AsyncResult): Gio.TlsCertificate {
}
  

Finish an asynchronous lookup of a certificate by its handle. See g_tls_database_lookup_certificate_handle() for more information.

If the handle is no longer valid, or does not point to a certificate in this database, then null will be returned.

Since 2.30

result

a Gio.AsyncResult.

Returns

a newly allocated Gio.TlsCertificate object. Use GObject.Object.prototype.unref to release the certificate.