TlsDatabase.lookupCertificateForHandleFinish

Finish an asynchronous lookup of a certificate by its handle. See gio.tls_database.TlsDatabase.lookupCertificateForHandle 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.

class TlsDatabase
lookupCertificateForHandleFinish

Parameters

result gio.async_result.AsyncResult

a #GAsyncResult.

Return Value

Type: gio.tls_certificate.TlsCertificate

a newly allocated #GTlsCertificate object. Use gobject.object.ObjectG.unref to release the certificate.