GSimpleAsyncResult *res;
AsyncLookupCertificateForHandle *args;
- g_return_if_fail (callback != NULL);
-
args = g_slice_new0 (AsyncLookupCertificateForHandle);
args->handle = g_strdup (handle);
args->interaction = interaction ? g_object_ref (interaction) : NULL;
GSimpleAsyncResult *res;
AsyncLookupCertificateIssuer *args;
- g_return_if_fail (G_IS_TLS_CERTIFICATE (certificate));
- g_return_if_fail (callback != NULL);
-
args = g_slice_new0 (AsyncLookupCertificateIssuer);
args->certificate = g_object_ref (certificate);
args->flags = flags;
GSimpleAsyncResult *res;
AsyncLookupCertificatesIssuedBy *args;
- g_return_if_fail (callback);
-
args = g_slice_new0 (AsyncLookupCertificatesIssuedBy);
args->issuer = g_byte_array_ref (issuer);
args->flags = flags;