libsecret-1
Description:
libsecret is a library for storing and retrieving passwords and other secrets. It communicates with the "Secret Service" using DBus. gnome- keyring and ksecretservice are both implementations of a Secret Service.
- Home: https://wiki.gnome.org/Projects/Libsecret
- C-Documentation: https://developer-old.gnome.org/libsecret/unstable/
- Devhelp-Package download
Content:
Namespaces:
- Secret
- Backend - Backend represents a backend implementation of password storage.
- Retrievable - A read-only view of a secret item in the Secret Service.
- Collection - A proxy object representing a collection of secrets in the Secret Service.
- Item - A secret item
- Prompt - A prompt in the Service
- Schema - Represents a set of attributes that are stored with an item.
- SchemaAttribute - An attribute in a Schema.
- Service - A proxy object representing the Secret Service.
- Value - A value containing a secret
- BackendFlags - Flags which determine which parts of the Backend are initialized.
- CollectionCreateFlags - Flags for
[func
Collection.create
]. - CollectionFlags - Flags which determine which parts of the Collection proxy are initialized.
- Error - Errors returned by the Secret Service.
- ItemCreateFlags - Flags for [func
Item.create
]. - ItemFlags - Flags which determine which parts of the Item proxy are initialized.
- SchemaAttributeType - The type of an
attribute in a [struct
SecretSchema
]. - SchemaFlags - Flags for a Schema definition.
- SchemaType
- SearchFlags - Various flags to be used with
[method
Service.search
] and [methodService.search_sync
]. - ServiceFlags - Flags which determine which
parts of the Service proxy are initialized during a [func
Service.get
] or [funcService.open
] operation. - public const string BACKEND_EXTENSION_POINT_NAME
Extension point for the secret backend.
- public const string COLLECTION_DEFAULT
An alias to the default collection.
- public const string COLLECTION_SESSION
An alias to the session collection, which will be cleared when the user ends the session.
- public const int MAJOR_VERSION
The major version of libsecret.
- public const int MICRO_VERSION
The micro version of libsecret.
- public const int MINOR_VERSION
The minor version of libsecret.
- public HashTable<string,string> attributes_build (Schema schema, ...)
Build up a hash table of attribute values.
- public HashTable<string,string> attributes_buildv (Schema schema, va_list va)
Build up a hash table of attribute values.
- public async Backend backend_get (BackendFlags flags, Cancellable? cancellable) throws Error
- public Quark error_get_quark ()
- public unowned Schema get_schema (SchemaType type)
Get a secret storage schema of the given
type
. - public async bool password_clear (Schema schema, Cancellable? cancellable, ...) throws Error
Clear unlocked matching passwords from the secret service.
- public bool password_clear_sync (Schema schema, Cancellable? cancellable = null, ...) throws Error
Remove unlocked matching passwords from the secret service.
- public async bool password_clearv (Schema? schema, owned HashTable<string,string> attributes, Cancellable? cancellable) throws Error
Remove unlocked matching passwords from the secret service.
- public bool password_clearv_sync (Schema? schema, HashTable<string,string> attributes, Cancellable? cancellable = null) throws Error
Remove unlocked matching passwords from the secret service.
- public async string password_lookup (Schema schema, Cancellable? cancellable, ...) throws Error
Lookup a password in the secret service.
- public string password_lookup_sync (Schema schema, Cancellable? cancellable = null, ...) throws Error
Lookup a password in the secret service.
- public async string password_lookupv (Schema? schema, owned HashTable<string,string> attributes, Cancellable? cancellable) throws Error
Lookup a password in the secret service.
- public string password_lookupv_sync (Schema? schema, HashTable<string,string> attributes, Cancellable? cancellable = null) throws Error
Lookup a password in the secret service.
- public async List<Retrievable> password_searchv (Schema? schema, owned HashTable<string,string> attributes, SearchFlags flags, Cancellable? cancellable) throws Error
Search for items in the secret service.
- public List<Retrievable> password_searchv_sync (Schema? schema, HashTable<string,string> attributes, SearchFlags flags, Cancellable? cancellable = null) throws Error
Search for items in the secret service.
- public async bool password_store (Schema schema, string? collection, string label, string password, Cancellable? cancellable, ...) throws Error
Store a password in the secret service.
- public bool password_store_sync (Schema schema, string? collection, string label, string password, Cancellable? cancellable = null, ...) throws Error
Store a password in the secret service.
- public async bool password_storev (Schema? schema, owned HashTable<string,string> attributes, string? collection, string label, string password, Cancellable? cancellable) throws Error
Store a password in the secret service.
- public async void password_storev_binary (Schema? schema, owned HashTable<string,string> attributes, string? collection, string label, Value value, Cancellable? cancellable)
Store a password in the secret service.
- 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.
- public bool password_storev_sync (Schema? schema, HashTable<string,string> attributes, string? collection, string label, string password, Cancellable? cancellable = null) throws Error
Store a password in the secret service.
- public void password_wipe (string? password)
Clear the memory used by a password.