Method
GioTlsDatabaselookup_certificate_for_handle_async
since: 2.30
Declaration [src]
void
g_tls_database_lookup_certificate_for_handle_async (
GTlsDatabase* self,
const gchar* handle,
GTlsInteraction* interaction,
GTlsDatabaseLookupFlags flags,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously look up a certificate by its handle in the database. See
g_tls_database_lookup_certificate_for_handle() for more information.
Available since: 2.30
This method completes asynchronously. Use g_tls_database_lookup_certificate_for_handle_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
handle-
Type:
const gchar*A certificate handle.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. interaction-
Type:
GTlsInteractionUsed to interact with the user if necessary.
The argument can be NULL.The data is owned by the caller of the method. flags-
Type:
GTlsDatabaseLookupFlagsFlags which affect the lookup.
cancellable-
Type:
GCancellableA
GCancellable, orNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackCallback to call when the operation completes.
The argument can be NULL. user_data-
Type:
gpointerThe data to pass to the callback function.
The argument can be NULL.The data is owned by the caller of the method.