Item


Object Hierarchy:

Secret.Item Secret.Item Secret.Item GLib.DBusProxy GLib.DBusProxy GLib.DBusProxy->Secret.Item GLib.Object GLib.Object GLib.Object->GLib.DBusProxy GLib.AsyncInitable GLib.AsyncInitable GLib.AsyncInitable->Secret.Item GLib.AsyncInitable->GLib.DBusProxy GLib.DBusInterface GLib.DBusInterface GLib.DBusInterface->Secret.Item GLib.DBusInterface->GLib.DBusProxy GLib.Initable GLib.Initable GLib.Initable->Secret.Item GLib.Initable->GLib.DBusProxy Secret.Retrievable Secret.Retrievable Secret.Retrievable->Secret.Item

Description:

[ CCode ( type_id = "secret_item_get_type ()" ) ]
public class Item : DBusProxy, AsyncInitable, DBusInterface, Initable, Retrievable

A secret item

Item represents a secret item stored in the Secret Service.

Each item has a value, represented by a [structValue], which can be retrieved by [methodItem.get_secret] or set by [methodItem.set_secret]. The item is only available when the item is not locked.

Items can be locked or unlocked using the [methodService.lock] or [methodService.unlock] functions. The Secret Service may not be able to unlock individual items, and may unlock an entire collection when a single item is unlocked.

Each item has a set of attributes, which are used to locate the item later. These are not stored or transferred in a secure manner. Each attribute has a string name and a string value. Use [methodService.search] to search for items based on their attributes, and [methodItem.set_attributes] to change the attributes associated with an item.

Items can be created with [funcItem.create] or [methodService.store].


Namespace: Secret
Package: libsecret-1

Content:

Properties:

Static methods:

Creation methods:

Methods:

Inherited Members:

All known members inherited from interface GLib.AsyncInitable
All known members inherited from interface GLib.DBusInterface
All known members inherited from interface GLib.Initable