public enum DataExceptionCause extends java.lang.Enum<DataExceptionCause>
DataException to specify the cause of the exception.| Enum Constant and Description |
|---|
DATA_INVALID
The input data to the cryptographic operation was invalid.
|
DATA_LEN_RANGE
The input data is out of range for this operation.
|
DATA_POINTER_NULL
The input data to the cryptographic operation was null.
|
KEY_EXHAUSTED
The key was attempted to be used more times than the HSM allows.
|
| Modifier and Type | Method and Description |
|---|---|
static DataExceptionCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataExceptionCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataExceptionCause DATA_POINTER_NULL
Resolution: The application should provide non-null input data to this operation.
public static final DataExceptionCause DATA_INVALID
Resolution: The application should provide valid data for this cipher operation.
public static final DataExceptionCause DATA_LEN_RANGE
Resolution: The application should supply data with valid length.
public static final DataExceptionCause KEY_EXHAUSTED
Resolution: Rotate keys or contact CloudHSM support.
public static DataExceptionCause[] values()
for (DataExceptionCause c : DataExceptionCause.values()) System.out.println(c);
public static DataExceptionCause 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