SecretStorage
Object Hierarchy:
Description:
[ CCode ( type_id = "gsignond_secret_storage_get_type ()" ) ]
public class SecretStorage : Object
Opaque SecretStorage data structure.
Content:
Properties:
Creation methods:
Methods:
- public virtual bool check_credentials (Credentials creds)
Checks whether the given credentials match what is stored in the
database.
- public virtual bool clear_db ()
Removes all stored secrets from the database.
- public virtual bool close_db ()
Closes the database.
- public virtual unowned Error get_last_error ()
Retrieves the last occurred error that has occurred
- public virtual bool is_open_db ()
Checks if the database is open or not.
- public virtual Credentials? load_credentials (uint32 id)
Loads the credentials from the database.
- public virtual Dictionary load_data (uint32 id, uint32 method)
Loads the secret data associated with a given identity and method.
- public virtual bool open_db ()
Opens (and initializes) the database.
- public virtual bool remove_credentials (uint32 id)
Remove the credentials for the given identity.
- public virtual bool remove_data (uint32 id, uint32 method)
Removes secret data associated with a given id/method.
- public virtual bool update_credentials (Credentials creds)
Stores/updates the credentials for the given identity.
- public virtual bool update_data (uint32 id, uint32 method, Dictionary data)
Calling this method updates the secret data associated with the given
id/method.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref