java.lang.Object
de.swiesend.secretservice.Static.ObjectPaths
- Enclosing class:
- Static
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringcollection(String name) The object path for a collection, where xxxx represents a possibly encoded or truncated version of the initial label of the collection.static StringThe object path for an item, where xxxx is the collection (above) and iiii is an auto-generated item specific identifier.static StringThe object path for a prompt, where pppp is the window_id.static StringThe object path for a session, where ssss is an auto-generated session specific identifier.
-
Field Details
-
SECRETS
The object path for the service.- See Also:
-
SESSION
- See Also:
-
ALIASES
- See Also:
-
DEFAULT_COLLECTION
- See Also:
-
COLLECTION
- See Also:
-
SESSION_COLLECTION
- See Also:
-
LOGIN_COLLECTION
- See Also:
-
PROMPT
- See Also:
-
-
Constructor Details
-
ObjectPaths
public ObjectPaths()
-
-
Method Details
-
collection
The object path for a collection, where xxxx represents a possibly encoded or truncated version of the initial label of the collection.- Parameters:
name- the encoded name of the collection- Returns:
- path of the collection
/org/freedesktop/secrets/collection/xxxx
-
item
The object path for an item, where xxxx is the collection (above) and iiii is an auto-generated item specific identifier.- Parameters:
collection- the encoded name of the collectionitem_id- the encoded name of the item- Returns:
- path of the item
/org/freedesktop/secrets/collection/xxxx/iiii
-
session
The object path for a session, where ssss is an auto-generated session specific identifier.- Parameters:
session_id- the current id of the session- Returns:
- path of the session
/org/freedesktop/secrets/session/ssss
-
prompt
The object path for a prompt, where pppp is the window_id.- Parameters:
window_id- id of the current prompt's window- Returns:
- path of the prompt
/org/freedesktop/secrets/prompt/pppp
-