Method
CamelCipherValidityadd_certinfo_ex
since: 2.30
Declaration [src]
gint
camel_cipher_validity_add_certinfo_ex (
CamelCipherValidity* vin,
CamelCipherValidityMode mode,
const gchar* name,
const gchar* email,
gpointer cert_data,
GDestroyNotify cert_data_free,
CamelCipherCloneFunc cert_data_clone
)
Description [src]
Add a cert info to the signer or encrypter info, with extended data set.
Available since: 2.30
Parameters
mode-
Type:
CamelCipherValidityModeA
CamelCipherValidityMode, where to add the additional certificate information. name-
Type:
const gchar*A name to add.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. email-
Type:
const gchar*An e-mail address to add.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. cert_data-
Type:
gpointerA certificate data, or
NULL.The argument can be NULL.The data is owned by the caller of the method. cert_data_free-
Type:
GDestroyNotifyA destroy function for
cert_data; required, whencert_datais notNULL.The argument can be NULL. cert_data_clone-
Type:
CamelCipherCloneFuncA copy function for
cert_data, to copy the data; required, whencert_datais notNULL.The argument can be NULL.