public enum RsaAesInvalidParametersExceptionCause extends java.lang.Enum<RsaAesInvalidParametersExceptionCause>
RsaAesInvalidParametersException to specify the cause of the exception.| Enum Constant and Description |
|---|
INVALID_AES_KEY_SIZE
The supplied AES key size is not supported.
|
INVALID_MASK_GENERATION_FUNCTION
The specified mask generation function is not valid for the given digest algorithm.
|
INVALID_MESSAGE_DIGEST
The supplied message digest algorithm is not supported.
|
| Modifier and Type | Method and Description |
|---|---|
static RsaAesInvalidParametersExceptionCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RsaAesInvalidParametersExceptionCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RsaAesInvalidParametersExceptionCause INVALID_AES_KEY_SIZE
Resolution: Invalid AES key size, retry with a supported AES key size.
public static final RsaAesInvalidParametersExceptionCause INVALID_MASK_GENERATION_FUNCTION
Resolution: Invalid mask generation function, retry with a supported mask generation function name. The mask generation function must be the same as the message digest algorithm.
public static final RsaAesInvalidParametersExceptionCause INVALID_MESSAGE_DIGEST
Resolution: Invalid message digest, retry with a supported message digest algorithm name.
public static RsaAesInvalidParametersExceptionCause[] values()
for (RsaAesInvalidParametersExceptionCause c : RsaAesInvalidParametersExceptionCause.values()) System.out.println(c);
public static RsaAesInvalidParametersExceptionCause 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