Enum Class KeyringException.Code

java.lang.Object
java.lang.Enum<KeyringException.Code>
zeroecho.core.storage.KeyringException.Code
All Implemented Interfaces:
Serializable, Comparable<KeyringException.Code>, Constable
Enclosing class:
KeyringException

public static enum KeyringException.Code extends Enum<KeyringException.Code>
Stable keyring failure categories.
  • Enum Constant Details

    • KEYRING_STATEFUL_RECOVERY_REQUIRED

      public static final KeyringException.Code KEYRING_STATEFUL_RECOVERY_REQUIRED
      Stateful signing authority is missing, pending, mismatched or uncertain.
    • KEYRING_STATEFUL_EXHAUSTED

      public static final KeyringException.Code KEYRING_STATEFUL_EXHAUSTED
      No unused signature leaves remain.
    • KEYRING_ALREADY_OPEN

      public static final KeyringException.Code KEYRING_ALREADY_OPEN
      Another process or session already owns the keyring lock.
    • KEYRING_FILESYSTEM_UNSUPPORTED

      public static final KeyringException.Code KEYRING_FILESYSTEM_UNSUPPORTED
      Filesystem ownership, permissions, links, or atomicity do not meet the security policy.
    • KEYRING_FORMAT_INVALID

      public static final KeyringException.Code KEYRING_FORMAT_INVALID
      Persisted keyring framing or authenticated metadata is invalid.
    • KEYRING_LIMIT_EXCEEDED

      public static final KeyringException.Code KEYRING_LIMIT_EXCEEDED
      A configured size, count, or derivation bound was exceeded.
    • KEYRING_UNLOCK_FAILED

      public static final KeyringException.Code KEYRING_UNLOCK_FAILED
      Supplied unlock material could not authenticate the keyring.
    • KEYRING_IO_FAILED

      public static final KeyringException.Code KEYRING_IO_FAILED
      Keyring storage I/O failed.
    • KEYRING_DURABILITY_UNCONFIRMED

      public static final KeyringException.Code KEYRING_DURABILITY_UNCONFIRMED
      An update completed without confirmed durable publication.
    • KEYRING_CLOSED

      public static final KeyringException.Code KEYRING_CLOSED
      The requested operation used a closed keyring.
    • KEYRING_NON_EXPORTABLE_KEY

      public static final KeyringException.Code KEYRING_NON_EXPORTABLE_KEY
      The requested key is intentionally non-exportable.
    • KEYRING_IMPORT_MAPPING_INVALID

      public static final KeyringException.Code KEYRING_IMPORT_MAPPING_INVALID
      Imported key metadata cannot be mapped to an exact supported algorithm.
    • KEYRING_IMPORT_METADATA_INVALID

      public static final KeyringException.Code KEYRING_IMPORT_METADATA_INVALID
      Imported key metadata is missing, inconsistent, or malformed.
    • KEYRING_KEY_NOT_CANONICALIZABLE

      public static final KeyringException.Code KEYRING_KEY_NOT_CANONICALIZABLE
      Imported key material cannot be converted to its canonical representation.
  • Method Details

    • values

      public static KeyringException.Code[] 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

      public static KeyringException.Code valueOf(String name)
      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 name
      NullPointerException - if the argument is null