Method

PurpleMediaBackendset_decryption_parameters

since: 2.11

Declaration [src]

gboolean
purple_media_backend_set_decryption_parameters (
  PurpleMediaBackend* self,
  const gchar* sess_id,
  const gchar* participant,
  const gchar* cipher,
  const gchar* auth,
  const gchar* key,
  gsize key_len
)

Description [src]

Sets the decryption parameters for a session participant’s media.

Available since: 2.11

Parameters

sess_id

Type: const gchar*

The session id of the session to set parameters of.

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

Type: const gchar*

The participant of the session to set parameters of.

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

Type: const gchar*

The cipher to use to decrypt media coming from this session’s participant.

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

Type: const gchar*

The algorithm to use for authentication of the media coming from the session’s participant.

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

Type: const gchar*

The decryption key.

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

Type: gsize

Byte length of the decryption key.

Return value

Type: gboolean

TRUE if the change was successful.