Top Inners Fields Constructors Methods
org.freedesktop.secret

public Class Static

extends Object
Class Inheritance
Imports
org.freedesktop.dbus.DBusPath, .ObjectPath, java.nio.charset.StandardCharsets, java.time.Duration, java.util.ArrayList, .List

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class
public static class
public static class
public static class
Static.RFC_2409

RFC 2409: https://tools.ietf.org/html/rfc2409

public static class
public static class

Field Summary

Modifier and TypeField and Description
public static final Duration

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean
public static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEFAULT_PROMPT_TIMEOUTback to summary
public static final Duration DEFAULT_PROMPT_TIMEOUT

Constructor Detail

Staticback to summary
public Static()

Method Detail

isNullOrEmptyback to summary
public static boolean isNullOrEmpty(final CharSequence cs)
isNullOrEmptyback to summary
public static boolean isNullOrEmpty(final String s)
org.freedesktop.secret back to summary

public Class Static.Algorithm

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

AESback to summary
public static final String AES
AES_CBC_PKCS5back to summary
public static final String AES_CBC_PKCS5
DH_IETF1024_SHA256_AES128_CBC_PKCS7back to summary
public static final String DH_IETF1024_SHA256_AES128_CBC_PKCS7
DIFFIE_HELLMANback to summary
public static final String DIFFIE_HELLMAN
PLAINback to summary
public static final String PLAIN
SHA1_PRNGback to summary
public static final String SHA1_PRNG

Constructor Detail

Algorithmback to summary
public Algorithm()
org.freedesktop.secret back to summary

public Class Static.Convert

extends Object
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static byte[]
public static List<DBusPath>
public static ObjectPath
toObjectPath(String path)
References Deprecated ObjectPath is deprecated or references (maybe indirectly) at least one deprecated element.

public static String
toString(byte[] bytes)

public static List<String>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Convertback to summary
public Convert()

Method Detail

toByteArrayback to summary
public static byte[] toByteArray(List<Byte> list)
toDBusPathsback to summary
public static List<DBusPath> toDBusPaths(List<ObjectPath> paths)
toObjectPathback to summary
public static ObjectPath toObjectPath(String path)

References Deprecated

ObjectPath is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

toStringback to summary
public static String toString(byte[] bytes)
toStringsback to summary
public static List<String> toStrings(List<ObjectPath> paths)
org.freedesktop.secret back to summary

public Class Static.DBus

extends Object
Class Inheritance

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class

Field Summary

Modifier and TypeField and Description
public static final Long
public static final Long

Constructor Summary

AccessConstructor and Description
public
DBus()

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEFAULT_DELAY_MILLISback to summary
public static final Long DEFAULT_DELAY_MILLIS
MAX_DELAY_MILLISback to summary
public static final Long MAX_DELAY_MILLIS

Constructor Detail

DBusback to summary
public DBus()
org.freedesktop.secret back to summary

public Class Static.DBus.Interfaces

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final String
public static final String

Constructor Summary

AccessConstructor and Description
public

Field Detail

DBUSback to summary
public static final String DBUS
DBUS_PROPERTIESback to summary
public static final String DBUS_PROPERTIES

Constructor Detail

Interfacesback to summary
public Interfaces()
org.freedesktop.secret back to summary

public Class Static.DBus.ObjectPaths

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final String

Constructor Summary

AccessConstructor and Description
public

Field Detail

DBUSback to summary
public static final String DBUS

Constructor Detail

ObjectPathsback to summary
public ObjectPaths()
org.freedesktop.secret back to summary

public Class Static.DBus.Service

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final String

Constructor Summary

AccessConstructor and Description
public

Field Detail

DBUSback to summary
public static final String DBUS

Constructor Detail

Serviceback to summary
public Service()
org.freedesktop.secret back to summary

public Class Static.Interfaces

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final String
COLLECTION

A collection of items containing secrets.

public static final String
ITEM

An item contains a secret, lookup attributes and has a label.

public static final String
PROMPT

A prompt necessary to complete an operation.

public static final String
SERVICE

The Secret Service manages all the sessions and collections.

public static final String
SESSION

A session tracks state between the service and a client application.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

COLLECTIONback to summary
public static final String COLLECTION

A collection of items containing secrets.

ITEMback to summary
public static final String ITEM

An item contains a secret, lookup attributes and has a label.

PROMPTback to summary
public static final String PROMPT

A prompt necessary to complete an operation.

SERVICEback to summary
public static final String SERVICE

The Secret Service manages all the sessions and collections.

SESSIONback to summary
public static final String SESSION

A session tracks state between the service and a client application.

Constructor Detail

Interfacesback to summary
public Interfaces()
org.freedesktop.secret back to summary

public Class Static.ObjectPaths

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
SECRETS

The object path for the service.

public static final String
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String

Returns:

path of the collection /org/freedesktop/secrets/collection/xxxx
collection
(String
the encoded name of the collection
name
)

The object path for a collection, where xxxx represents a possibly encoded or truncated version of the initial label of the collection.

public static String

Returns:

path of the item /org/freedesktop/secrets/collection/xxxx/iiii
item
(String
the encoded name of the collection
collection
,
String
the encoded name of the item
item_id
)

The object path for an item, where xxxx is the collection (above) and iiii is an auto-generated item specific identifier.

public static String

Returns:

path of the prompt /org/freedesktop/secrets/prompt/pppp
prompt
(String
id of the current prompt's window
window_id
)

The object path for a prompt, where pppp is the window_id.

public static String

Returns:

path of the session /org/freedesktop/secrets/session/ssss
session
(String
the current id of the session
session_id
)

The object path for a session, where ssss is an auto-generated session specific identifier.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ALIASESback to summary
public static final String ALIASES
COLLECTIONback to summary
public static final String COLLECTION
DEFAULT_COLLECTIONback to summary
public static final String DEFAULT_COLLECTION
LOGIN_COLLECTIONback to summary
public static final String LOGIN_COLLECTION
PROMPTback to summary
public static final String PROMPT
SECRETSback to summary
public static final String SECRETS

The object path for the service.

SESSIONback to summary
public static final String SESSION
SESSION_COLLECTIONback to summary
public static final String SESSION_COLLECTION

Constructor Detail

ObjectPathsback to summary
public ObjectPaths()

Method Detail

collectionback to summary
public static String collection(String name)

The object path for a collection, where xxxx represents a possibly encoded or truncated version of the initial label of the collection.

Parameters
name:String

the encoded name of the collection

Returns:String

path of the collection /org/freedesktop/secrets/collection/xxxx

itemback to summary
public static String item(String collection, String item_id)

The object path for an item, where xxxx is the collection (above) and iiii is an auto-generated item specific identifier.

Parameters
collection:String

the encoded name of the collection

item_id:String

the encoded name of the item

Returns:String

path of the item /org/freedesktop/secrets/collection/xxxx/iiii

promptback to summary
public static String prompt(String window_id)

The object path for a prompt, where pppp is the window_id.

Parameters
window_id:String

id of the current prompt's window

Returns:String

path of the prompt /org/freedesktop/secrets/prompt/pppp

sessionback to summary
public static String session(String session_id)

The object path for a session, where ssss is an auto-generated session specific identifier.

Parameters
session_id:String

the current id of the session

Returns:String

path of the session /org/freedesktop/secrets/session/ssss

org.freedesktop.secret back to summary

public Class Static.RFC_2409

extends Object
Class Inheritance

RFC 2409: https://tools.ietf.org/html/rfc2409

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
Static.RFC_2409.SecondOakleyGroup

RFC 2409: https://tools.ietf.org/html/rfc2409#section-6.2

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

RFC_2409back to summary
public RFC_2409()
org.freedesktop.secret back to summary

public Class Static.RFC_2409.SecondOakleyGroup

extends Object
Class Inheritance

RFC 2409: https://tools.ietf.org/html/rfc2409#section-6.2

Field Summary

Modifier and TypeField and Description
public static final byte[]
public static final byte[]

Constructor Summary

AccessConstructor and Description
public

Field Detail

GENERATORback to summary
public static final byte[] GENERATOR
PRIMEback to summary
public static final byte[] PRIME

Constructor Detail

SecondOakleyGroupback to summary
public SecondOakleyGroup()
org.freedesktop.secret back to summary

public Class Static.Secret

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GENERIC_TYPEback to summary
public static final String GENERIC_TYPE

Constructor Detail

Secretback to summary
public Secret()
org.freedesktop.secret back to summary

public Class Static.Service

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

SECRETSback to summary
public static final String SECRETS

Constructor Detail

Serviceback to summary
public Service()