Gio.TlsDatabase.prototype.lookup_certificate_for_handle_async
function lookup_certificate_for_handle_async(handle: String, interaction: Gio.TlsInteraction, flags: Gio.TlsDatabaseLookupFlags, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for g_tls_database_lookup_certificate_for_handle_async() }
Asynchronously lookup a certificate by its handle in the database. See Gio.TlsDatabase.prototype.lookup_certificate_for_handle for more information.
Since 2.30
- handle
a certificate handle
- interaction
used to interact with the user if necessary
- flags
Flags which affect the lookup.
- cancellable
a Gio.Cancellable, or null
- callback
callback to call when the operation completes