public enum RsaPkcsOaepInvalidParametersExceptionCause extends java.lang.Enum<RsaPkcsOaepInvalidParametersExceptionCause>
RsaPkcsOaepInvalidParametersException to specify the cause of the exception.| Enum Constant and Description |
|---|
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 RsaPkcsOaepInvalidParametersExceptionCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RsaPkcsOaepInvalidParametersExceptionCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RsaPkcsOaepInvalidParametersExceptionCause INVALID_MESSAGE_DIGEST
Resolution: Invalid message digest, retry with a supported message digest algorithm name.
public static final RsaPkcsOaepInvalidParametersExceptionCause 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 RsaPkcsOaepInvalidParametersExceptionCause[] values()
for (RsaPkcsOaepInvalidParametersExceptionCause c : RsaPkcsOaepInvalidParametersExceptionCause.values()) System.out.println(c);
public static RsaPkcsOaepInvalidParametersExceptionCause 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