Method

CamelCipherValidityset_certinfo_property

since: 3.22

Declaration [src]

void
camel_cipher_validity_set_certinfo_property (
  CamelCipherValidity* vin,
  CamelCipherValidityMode mode,
  gint info_index,
  const gchar* name,
  gpointer value,
  GDestroyNotify value_free,
  CamelCipherCloneFunc value_clone
)

Description [src]

Sets a named property name value value for the given info_index of the mode validity part. If the value is NULL, then the property is removed. With a non-NULL value also value_free and value_clone functions cannot be NULL.

Available since: 3.22

Parameters

mode

Type: CamelCipherValidityMode

Which cipher validity part to use.

info_index

Type: gint

A 0-based index of the requested CamelCipherCertInfo.

name

Type: const gchar*

A property name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
value

Type: gpointer

A property value, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
value_free

Type: GDestroyNotify

A free function for the value.

The argument can be NULL.
value_clone

Type: CamelCipherCloneFunc

A clone function for the value.

The argument can be NULL.