public enum KeyUnwrapKeyNotSupportedExceptionCause extends java.lang.Enum<KeyUnwrapKeyNotSupportedExceptionCause>
KeyUnwrapKeyNotSupportedException to specify the cause of the exception.| Enum Constant and Description |
|---|
KEY_TYPE_OBJECT_CLASS_NOT_SUPPORTED
The provided
KeyType and ObjectClass combination is not supported for this operation. |
| Modifier and Type | Method and Description |
|---|---|
static KeyUnwrapKeyNotSupportedExceptionCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyUnwrapKeyNotSupportedExceptionCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyUnwrapKeyNotSupportedExceptionCause KEY_TYPE_OBJECT_CLASS_NOT_SUPPORTED
KeyType and ObjectClass combination is not supported for this operation.
Resolution: The application should specify a supported KeyType and ObjectClass for the unwrapped key.
public static KeyUnwrapKeyNotSupportedExceptionCause[] values()
for (KeyUnwrapKeyNotSupportedExceptionCause c : KeyUnwrapKeyNotSupportedExceptionCause.values()) System.out.println(c);
public static KeyUnwrapKeyNotSupportedExceptionCause valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null