Function
Dextls_database_lookup_certificate_for_handle
unstable since: 1.2
Declaration [src]
DexFuture*
dex_tls_database_lookup_certificate_for_handle (
GTlsDatabase* database,
const char* handle,
GTlsInteraction* interaction,
GTlsDatabaseLookupFlags flags
)
Parameters
database-
Type:
GTlsDatabaseA
GTlsDatabase.The data is owned by the caller of the function. handle-
Type:
const char*Certificate handle.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. interaction-
Type:
GTlsInteractionA
GTlsInteraction, orNULL.The argument can be NULL.The data is owned by the caller of the function. flags-
Type:
GTlsDatabaseLookupFlagsLookup flags.
Return value
Type: DexFuture
A DexFuture that resolves to a
GTlsCertificate or rejects with error.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |