secret.retrievable

Module for [Retrievable] interface

Types 2

interfaceRetrievable

A read-only view of a secret item in the Secret Service.

#SecretRetrievable provides a read-only view of a secret item stored in the Secret Service.

Each item has a value, represented by a struct@Value, which can be retrieved by [secret.retrievable.Retrievable.retrieveSecret] and [secret.retrievable.Retrievable.retrieveSecretFinish].

Methods
ulong created() @propertyGet `created` property. Returns: The date and time (in seconds since the UNIX epoch) that this item was created.
void created(ulong propval) @propertySet `created` property. Params: propval = The date and time (in seconds since the UNIX epoch) that this item was created.
string label() @propertyGet `label` property. Returns: The human readable label for the item.
void label(string propval) @propertySet `label` property. Params: propval = The human readable label for the item.
ulong modified() @propertyGet `modified` property. Returns: The date and time (in seconds since the UNIX epoch) that this item was last modified.
void modified(ulong propval) @propertySet `modified` property. Params: propval = The date and time (in seconds since the UNIX epoch) that this item was last modified.
string[string] getAttributes()Get the attributes of this object.
ulong getCreated()Get the created date and time of the object.
string getLabel()Get the label of this item. Returns: the label, which should be freed with `funcGLib.free`
ulong getModified()Get the modified date and time of the object.
void retrieveSecret(gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Retrieve the secret value of this object.
secret.value.Value retrieveSecretFinish(gio.async_result.AsyncResult result)Complete asynchronous operation to retrieve the secret value of this object.
secret.value.Value retrieveSecretSync(gio.cancellable.Cancellable cancellable = null)Retrieve the secret value of this object synchronously.
Methods
T created(ulong propval)Set `created` property. Params: propval = The date and time (in seconds since the UNIX epoch) that this item was created. Returns: Builder instance for fluent chaining
T label(string propval)Set `label` property. Params: propval = The human readable label for the item. Returns: Builder instance for fluent chaining
T modified(ulong propval)Set `modified` property. Params: propval = The date and time (in seconds since the UNIX epoch) that this item was last modified. Returns: Builder instance for fluent chaining