|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SRP6ClientSession.State>
com.nimbusds.srp6.SRP6ClientSession.State
public static enum SRP6ClientSession.State
Enumerates the states of a client-side SRP-6a authentication session.
| Enum Constant Summary | |
|---|---|
INIT
The session is initialised and ready to begin authentication by proceeding to STEP_1. |
|
STEP_1
The authenticating user has input their identity 'I' (username) and password 'P'. |
|
STEP_2
The user identity 'I' is submitted to the server which has replied with the matching salt 's' and its public value 'B' based on the user's password verifier 'v'. |
|
STEP_3
The client public key 'A' and evidence message 'M1' are submitted and the server has replied with own evidence message 'M2'. |
|
| Method Summary | |
|---|---|
static SRP6ClientSession.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SRP6ClientSession.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SRP6ClientSession.State INIT
STEP_1.
public static final SRP6ClientSession.State STEP_1
STEP_2.
public static final SRP6ClientSession.State STEP_2
STEP_3.
public static final SRP6ClientSession.State STEP_3
| Method Detail |
|---|
public static SRP6ClientSession.State[] values()
for (SRP6ClientSession.State c : SRP6ClientSession.State.values()) System.out.println(c);
public static SRP6ClientSession.State 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 name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||