Item.setSecretSync

bool setSecretSync(secret.value.Value value, gio.cancellable.Cancellable cancellable = null)

Set the secret value of this item.

Each item has a single secret which might be a password or some other secret binary value.

This function may block indefinitely. Use the asynchronous version in user interface threads.

Parameters

valuea new secret value
cancellableoptional cancellation object

Returns

whether the change was successful or not

Throws

[ErrorWrap]