public enum AesGcmInvalidParametersExceptionCause extends java.lang.Enum<AesGcmInvalidParametersExceptionCause>
AesGcmInvalidParametersException to specify the cause of the exception.| Enum Constant and Description |
|---|
AAD_INVALID
The provided AAD is invalid for AES GCM.
|
TAG_LENGTH_INVALID
The supplied tag length is invalid.
|
| Modifier and Type | Method and Description |
|---|---|
static AesGcmInvalidParametersExceptionCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AesGcmInvalidParametersExceptionCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AesGcmInvalidParametersExceptionCause TAG_LENGTH_INVALID
Resolution: The application should supply a valid tag length and retry.
public static final AesGcmInvalidParametersExceptionCause AAD_INVALID
Resolution: The application should supply a valid AAD and retry.
public static AesGcmInvalidParametersExceptionCause[] values()
for (AesGcmInvalidParametersExceptionCause c : AesGcmInvalidParametersExceptionCause.values()) System.out.println(c);
public static AesGcmInvalidParametersExceptionCause 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