Enum JweException.Error
- java.lang.Object
-
- java.lang.Enum<JweException.Error>
-
- org.apache.cxf.rs.security.jose.jwe.JweException.Error
-
- All Implemented Interfaces:
Serializable,Comparable<JweException.Error>
- Enclosing class:
- JweException
public static enum JweException.Error extends Enum<JweException.Error>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JweException.ErrorvalueOf(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.
-
-
-
Enum Constant Detail
-
NO_ENCRYPTOR
public static final JweException.Error NO_ENCRYPTOR
-
NO_DECRYPTOR
public static final JweException.Error NO_DECRYPTOR
-
NO_INIT_PROPERTIES
public static final JweException.Error NO_INIT_PROPERTIES
-
KEY_ALGORITHM_NOT_SET
public static final JweException.Error KEY_ALGORITHM_NOT_SET
-
CUSTOM_IV_REUSED
public static final JweException.Error CUSTOM_IV_REUSED
-
INVALID_KEY_ALGORITHM
public static final JweException.Error INVALID_KEY_ALGORITHM
-
INVALID_CONTENT_ALGORITHM
public static final JweException.Error INVALID_CONTENT_ALGORITHM
-
INVALID_CONTENT_KEY
public static final JweException.Error INVALID_CONTENT_KEY
-
KEY_ENCRYPTION_FAILURE
public static final JweException.Error KEY_ENCRYPTION_FAILURE
-
CONTENT_ENCRYPTION_FAILURE
public static final JweException.Error CONTENT_ENCRYPTION_FAILURE
-
KEY_DECRYPTION_FAILURE
public static final JweException.Error KEY_DECRYPTION_FAILURE
-
CONTENT_DECRYPTION_FAILURE
public static final JweException.Error CONTENT_DECRYPTION_FAILURE
-
INVALID_COMPACT_JWE
public static final JweException.Error INVALID_COMPACT_JWE
-
INVALID_JSON_JWE
public static final JweException.Error INVALID_JSON_JWE
-
-
Method Detail
-
values
public static JweException.Error[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JweException.Error c : JweException.Error.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JweException.Error valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-