Use [gobject.object.ObjectWrap.unref] to release the certificate.
TlsDatabase.lookupCertificateForHandleFinish
gio.tls_certificate.TlsCertificate lookupCertificateForHandleFinish(gio.async_result.AsyncResult result)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.
Parameters
result | a #GAsyncResult. |
Returns
a newly allocated #GTlsCertificate object.
Throws
[ErrorWrap]