password_storev_binary_sync


Description:


[ Version ( since = "0.19.0" ) ]
public bool password_storev_binary_sync (Schema? schema, HashTable<string,string> attributes, string? collection, string label, Value value, Cancellable? cancellable = null) throws Error

Store a password in the secret service.

This is similar to [funcpassword_storev_sync], but takes a [structValue] as the argument instead of a null-terminated passwords.

This method may block indefinitely and should not be used in user interface threads.

Parameters:

schema

the schema for attributes

attributes

the attribute keys and values

collection

a collection alias, or D-Bus object path of the collection where to store the secret

label

label for the secret

value

a [structValue]

cancellable

optional cancellation object

Returns:

whether the storage was successful or not


Namespace: Secret
Package: libsecret-1