Function
EBookbook_utils_get_recipient_certificates_sync
since: 3.30
Declaration [src]
gboolean
e_book_utils_get_recipient_certificates_sync (
ESourceRegistry* registry,
const GSList* only_clients,
guint32 flags,
const GPtrArray* recipients,
GSList** out_certificates,
GCancellable* cancellable,
GError** error
)
Description [src]
Synchronously searches for recipients S/MIME or PGP certificates either
in provided only_clients EBookClient, or, when NULL, in each found
address book configured for auto-completion.
This function can be used within camel_session_get_recipient_certificates_sync()
implementation.
Available since: 3.30
Parameters
registry-
Type:
ESourceRegistryAn
ESourceRegistry.The data is owned by the caller of the function. only_clients-
Type: A list of
EBookClient*Optional
GSListof theEBookClientobjects to search for the certificates in, orNULL.The argument can be NULL.The data is owned by the caller of the function. flags-
Type:
CamelRecipientCertificateFlagsBit-or of
CamelRecipientCertificateFlags. recipients-
Type: An array of
utf8A
GPtrArrayof recipients’ email addresses.The data is owned by the caller of the function. Each element is a NUL terminated UTF-8 string. out_certificates-
Type: A list of
utf8A
GSListof gathered certificates encoded in base64.The argument will be set by the function. The caller of the function takes ownership of the returned data, and is responsible for freeing it. Each element is a NUL terminated UTF-8 string. cancellable-
Type:
GCancellableOptional
GCancellableobject, orNULL.The argument can be NULL.The data is owned by the caller of the function. error-
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will be left initialized to NULLby the function if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.