org.apache.cxf.rs.security.jose.jwe
Enum JweException.Error

java.lang.Object
  extended by java.lang.Enum<JweException.Error>
      extended by 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
CONTENT_DECRYPTION_FAILURE
           
CONTENT_ENCRYPTION_FAILURE
           
CUSTOM_IV_REUSED
           
INVALID_COMPACT_JWE
           
INVALID_CONTENT_ALGORITHM
           
INVALID_CONTENT_KEY
           
INVALID_JSON_JWE
           
INVALID_KEY_ALGORITHM
           
KEY_ALGORITHM_NOT_SET
           
KEY_DECRYPTION_FAILURE
           
KEY_ENCRYPTION_FAILURE
           
NO_DECRYPTOR
           
NO_ENCRYPTOR
           
NO_INIT_PROPERTIES
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null


Apache CXF