Enum Class KeyringException.Code
- All Implemented Interfaces:
Serializable, Comparable<KeyringException.Code>, Constable
- Enclosing class:
KeyringException
Stable keyring failure categories.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAnother process or session already owns the keyring lock.The requested operation used a closed keyring.An update completed without confirmed durable publication.Filesystem ownership, permissions, links, or atomicity do not meet the security policy.Persisted keyring framing or authenticated metadata is invalid.Imported key metadata cannot be mapped to an exact supported algorithm.Imported key metadata is missing, inconsistent, or malformed.Keyring storage I/O failed.Imported key material cannot be converted to its canonical representation.A configured size, count, or derivation bound was exceeded.The requested key is intentionally non-exportable.No unused signature leaves remain.Stateful signing authority is missing, pending, mismatched or uncertain.Supplied unlock material could not authenticate the keyring. -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyringException.CodeReturns the enum constant of this class with the specified name.static KeyringException.Code[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
KEYRING_STATEFUL_RECOVERY_REQUIRED
Stateful signing authority is missing, pending, mismatched or uncertain. -
KEYRING_STATEFUL_EXHAUSTED
No unused signature leaves remain. -
KEYRING_ALREADY_OPEN
Another process or session already owns the keyring lock. -
KEYRING_FILESYSTEM_UNSUPPORTED
Filesystem ownership, permissions, links, or atomicity do not meet the security policy. -
KEYRING_FORMAT_INVALID
Persisted keyring framing or authenticated metadata is invalid. -
KEYRING_LIMIT_EXCEEDED
A configured size, count, or derivation bound was exceeded. -
KEYRING_UNLOCK_FAILED
Supplied unlock material could not authenticate the keyring. -
KEYRING_IO_FAILED
Keyring storage I/O failed. -
KEYRING_DURABILITY_UNCONFIRMED
An update completed without confirmed durable publication. -
KEYRING_CLOSED
The requested operation used a closed keyring. -
KEYRING_NON_EXPORTABLE_KEY
The requested key is intentionally non-exportable. -
KEYRING_IMPORT_MAPPING_INVALID
Imported key metadata cannot be mapped to an exact supported algorithm. -
KEYRING_IMPORT_METADATA_INVALID
Imported key metadata is missing, inconsistent, or malformed. -
KEYRING_KEY_NOT_CANONICALIZABLE
Imported key material cannot be converted to its canonical representation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-