TlsDatabase.lookupCertificateForHandleFinish

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

class TlsDatabase
lookupCertificateForHandleFinish

Parameters

result AsyncResultIF

a #GAsyncResult.

Return Value

a newly allocated #GTlsCertificate object. Use g_object_unref() to release the certificate.

Throws

GException on failure.

Meta

Since

2.30