Method

SecretServicedecode_dbus_secret

Declaration [src]

SecretValue*
secret_service_decode_dbus_secret (
  SecretService* service,
  GVariant* value
)

Description [src]

Decode a SecretValue into GVariant received with the Secret Service DBus API.

The GVariant should have a (oayays) signature.

A session must have already been established by the SecretService, and the encoded secret must be valid for that session.

Parameters

value GVariant
 

The encoded secret.

 The data is owned by the caller of the function.

Return value

Returns: SecretValue
 

The decoded secret value.

 The caller of the method takes ownership of the data, and is responsible for freeing it.