public static enum JweException.Error extends Enum<JweException.Error>
Modifier and Type | Method and Description |
---|---|
static JweException.Error |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JweException.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JweException.Error NO_ENCRYPTOR
public static final JweException.Error NO_DECRYPTOR
public static final JweException.Error NO_INIT_PROPERTIES
public static final JweException.Error KEY_ALGORITHM_NOT_SET
public static final JweException.Error CUSTOM_IV_REUSED
public static final JweException.Error INVALID_KEY_ALGORITHM
public static final JweException.Error INVALID_CONTENT_ALGORITHM
public static final JweException.Error INVALID_CONTENT_KEY
public static final JweException.Error KEY_ENCRYPTION_FAILURE
public static final JweException.Error CONTENT_ENCRYPTION_FAILURE
public static final JweException.Error KEY_DECRYPTION_FAILURE
public static final JweException.Error CONTENT_DECRYPTION_FAILURE
public static final JweException.Error INVALID_COMPACT_JWE
public static final JweException.Error INVALID_JSON_JWE
public static JweException.Error[] values()
for (JweException.Error c : JweException.Error.values()) System.out.println(c);
public static JweException.Error valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullApache CXF