RetrievableT

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.

Members

Functions

getAttributes
string[string] getAttributes()

Get the attributes of this object.

getCreated
ulong getCreated()

Get the created date and time of the object.

getLabel
string getLabel()

Get the label of this item.

getModified
ulong getModified()

Get the modified date and time of the object.

retrieveSecret
void retrieveSecret(gio.cancellable.Cancellable cancellable, gio.types.AsyncReadyCallback callback)

Retrieve the secret value of this object.

retrieveSecretFinish
secret.value.Value retrieveSecretFinish(gio.async_result.AsyncResult result)

Complete asynchronous operation to retrieve the secret value of this object.

retrieveSecretSync
secret.value.Value retrieveSecretSync(gio.cancellable.Cancellable cancellable)

Retrieve the secret value of this object synchronously.

Properties

created
ulong created [@property getter]

Get created property.

created
ulong created [@property setter]

Set created property.

label
string label [@property getter]

Get label property.

label
string label [@property setter]

Set label property.

modified
ulong modified [@property getter]

Get modified property.

modified
ulong modified [@property setter]

Set modified property.