Virtual Method



lookup_certificate_for_handle_finish (
  GTlsDatabase* self,
  GAsyncResult* result,
  GError** error


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.

Available since:2.30


result GAsyncResult

A GAsyncResult.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GTlsCertificate

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

 The caller of the function takes ownership of the data, and is responsible for freeing it.