public static enum SRP6Exception.CauseType extends java.lang.Enum<SRP6Exception.CauseType>
| Enum Constant and Description |
|---|
BAD_CREDENTIALS
Invalid credentials (password).
|
BAD_PUBLIC_VALUE
Invalid public client or server value ('A' or 'B').
|
TIMEOUT
SRP-6a authentication session timeout.
|
| Modifier and Type | Method and Description |
|---|---|
static SRP6Exception.CauseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SRP6Exception.CauseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SRP6Exception.CauseType BAD_PUBLIC_VALUE
public static final SRP6Exception.CauseType BAD_CREDENTIALS
public static final SRP6Exception.CauseType TIMEOUT
public static SRP6Exception.CauseType[] values()
for (SRP6Exception.CauseType c : SRP6Exception.CauseType.values()) System.out.println(c);
public static SRP6Exception.CauseType 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