| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Method and Description |
|---|---|
| public ObjectPath | Returns: Path of the collectionSee Also: org.Path of the collection. collection)
References Deprecated
ObjectPath is deprecated or references (maybe indirectly) at least one deprecated element.
Toggle the lock for a collection with a prompt. |
| public Pair | Returns: Pair<collection, prompt>collection — The new collection object, or '/' if prompting is necessary. prompt — A prompt object if prompting is necessary, or '/' if no prompt was needed. Properties for the new collection. This allows setting the new collection's properties
upon its creation. All READWRITE properties are usable. Specify the property names in
full interface.Property form. properties, String Example for properties:
If creating this connection for a well known alias then a string like alias)"default".
If an collection with this well-known alias already exists, then that collection will be
returned instead of creating a new collection. Any readwrite properties provided to this
function will be set on the collection.Set this to an empty string if the new collection should not be associated with a well known alias. Create a new collection with the specified properties. |
| public Pair | Returns: Pair<collection, prompt>collection — The new collection object, or '/' if prompting is necessary. prompt — A prompt object if prompting is necessary, or '/' if no prompt was needed. Properties for the new collection. This allows setting the new collection's properties
upon its creation. All READWRITE properties are usable. Specify the property names in
full interface.Property form. properties)Example for properties:
Create a new collection with the specified properties. |
| public List | |
| public Map | Returns: secrets — Secrets for the items.Items to get secrets for. items, ObjectPath The session to use to encode the secrets. session)
References Deprecated
ObjectPath is deprecated or references (maybe indirectly) at least one deprecated element.
Retrieve multiple secrets from different items. |
| public Pair | Returns: Pair<locked, prompt>locked — Objects that were locked without a prompt. prompt — A prompt to lock the objects, or the special value '/' when no prompt is necessary. Objects to lock. objects)Lock the items. |
| public void | |
| public Pair | Returns: Pair<output, result>output — Output of the session algorithm negotiation. result — The object path of the session, if session was created. The algorithm the caller wishes to use. algorithm, Variant<T> Input arguments for the algorithm. input)Open a unique session for the caller application. |
| public ObjectPath | Returns: collection — The collection or the the path '/' if no such collection exists.An alias, such as 'default'. name)
References Deprecated
ObjectPath is deprecated or references (maybe indirectly) at least one deprecated element.
Get the collection with the given alias. |
| public Pair | Returns: Pair<unlocked, locked>unlocked — Items found. locked — Items found that require authentication. Find secrets in any collection.
attributes)
Example:
Note Please note that there is a distinction between the terms Property, which refers to D-Bus properties of an object, and Attribute, which refers to one of a secret item's string-valued attributes. Find items in any collection. |
| public void | setAlias(String
An alias, such as 'default'. name, ObjectPath The collection to make the alias point to. To remove an alias use the special value '/'. collection)
References Deprecated
ObjectPath is deprecated or references (maybe indirectly) at least one deprecated element.
Setup a collection alias. |
| public Pair | Returns: Pair<unlocked, prompt>unlocked — Objects that were unlocked without a prompt. prompt — A prompt object which can be used to unlock the remaining objects, or the special value '/' when no prompt is necessary. Objects to unlock. objects)Unlock the specified objects. |
| changeLock | back to summary |
|---|---|
| public ObjectPath changeLock(ObjectPath collection)
References Deprecated
See corresponding docs for further information. Toggle the lock for a collection with a prompt.
| |
| createCollection | back to summary |
|---|---|
| public Pair Create a new collection with the specified properties.
| |
| createCollection | back to summary |
|---|---|
| public Pair Create a new collection with the specified properties.
| |
| getCollections | back to summary |
|---|---|
public List
| |
| getSecrets | back to summary |
|---|---|
| public Map References Deprecated
See corresponding docs for further information. Retrieve multiple secrets from different items.
| |
| lock | back to summary |
|---|---|
| public Pair Lock the items.
| |
| lockService | back to summary |
|---|---|
| public void lockService() Lock the entire Secret Service API.
| |
| openSession | back to summary |
|---|---|
| public Pair Open a unique session for the caller application.
| |
| readAlias | back to summary |
|---|---|
| public ObjectPath readAlias(String name)
References Deprecated
See corresponding docs for further information. Get the collection with the given alias.
| |
| searchItems | back to summary |
|---|---|
| public Pair Find items in any collection.
| |
| setAlias | back to summary |
|---|---|
| public void setAlias(String name, ObjectPath collection)
References Deprecated
See corresponding docs for further information. Setup a collection alias.
| |
| unlock | back to summary |
|---|---|
| public Pair Unlock the specified objects.
| |
| Modifier and Type | Field and Description |
|---|---|
| public final DBusPath |
| Access | Constructor and Description |
|---|---|
| public | CollectionChanged(String
The path to the object this is emitted from. path, DBusPath Collection that was changed. collection)A collection was changed. |
| collection | back to summary |
|---|---|
| public final DBusPath collection | |
| CollectionChanged | back to summary |
|---|---|
| public CollectionChanged(String path, DBusPath collection) throws DBusException A collection was changed.
| |
| Modifier and Type | Field and Description |
|---|---|
| public final DBusPath |
| Access | Constructor and Description |
|---|---|
| public | CollectionCreated(String
The path to the object this is emitted from. path, DBusPath Collection that was created. collection)A collection was created. |
| collection | back to summary |
|---|---|
| public final DBusPath collection | |
| CollectionCreated | back to summary |
|---|---|
| public CollectionCreated(String path, DBusPath collection) throws DBusException A collection was created.
| |
| Modifier and Type | Field and Description |
|---|---|
| public final DBusPath |
| Access | Constructor and Description |
|---|---|
| public | CollectionDeleted(String
The path to the object this is emitted from. path, DBusPath Collection that was deleted. collection)A collection was deleted. |
| collection | back to summary |
|---|---|
| public final DBusPath collection | |
| CollectionDeleted | back to summary |
|---|---|
| public CollectionDeleted(String path, DBusPath collection) throws DBusException A collection was deleted.
| |