Retrievable
Object Hierarchy:
Secret.Retrievable
Secret.Retrievable
Secret.Retrievable
GLib.Object
GLib.Object
GLib.Object->Secret.Retrievable
Description:
[ CCode ( type_cname = "SecretRetrievableInterface" , type_id = "secret_retrievable_get_type ()" ) ] [ Version ( since = "0.19.0" ) ]public interface Retrievable : Object
A read-only view of a secret item in the Secret Service.
Retrievable provides a read-only view of a secret item stored in the Secret Service.
Each item has a value, represented by a [structValue
], which can be retrieved by [methodRetrievable.retrieve_secret
] and [methodRetrievable.retrieve_secret_finish
].
All known implementing classes:
Content:
Properties:
public abstract HashTable <string ,string > attributes { owned get ; set ; }
The attributes set on this item.
public abstract uint64 created { get ; set ; }
The date and time (in seconds since the UNIX epoch) that this item was
created.
public abstract string label { owned get ; set ; }
The human readable label for the item.
public abstract uint64 modified { get ; set ; }
The date and time (in seconds since the UNIX epoch) that this item was
last modified.
Methods:
public HashTable <string ,string > get_attributes ()
Get the attributes of this object.
public uint64 get_created ()
Get the created date and time of the object.
public string get_label ()
Get the label of this item.
public uint64 get_modified ()
Get the modified date and time of the object.
public abstract async Value ? retrieve_secret (Cancellable ? cancellable) throws Error
Retrieve the secret value of this object.
public Value ? retrieve_secret_sync (Cancellable ? cancellable = null ) throws Error
Retrieve the secret value of this object synchronously.
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