public enum InvalidEcPointExceptionCause extends java.lang.Enum<InvalidEcPointExceptionCause>
InvalidEcPointException to specify the cause of the exception.| Enum Constant and Description |
|---|
EC_PUBLIC_KEY_CREATION
Unable to create an EC public key from the provided EC point.
|
INVALID_X_COORDINATE
The provided x-coordinate is invalid.
|
INVALID_Y_COORDINATE
The provided y-coordinate is invalid.
|
| Modifier and Type | Method and Description |
|---|---|
static InvalidEcPointExceptionCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InvalidEcPointExceptionCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvalidEcPointExceptionCause INVALID_X_COORDINATE
Resolution: The application should provide a valid x-coordinate.
public static final InvalidEcPointExceptionCause INVALID_Y_COORDINATE
Resolution: The application should provide valid y-coordinate.
public static final InvalidEcPointExceptionCause EC_PUBLIC_KEY_CREATION
Resolution: The application should provide valid a EC point for this curve.
public static InvalidEcPointExceptionCause[] values()
for (InvalidEcPointExceptionCause c : InvalidEcPointExceptionCause.values()) System.out.println(c);
public static InvalidEcPointExceptionCause 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