Package de.bsvrz.sys.funclib.srp6
Enum Class SRP6ClientSession.State
- All Implemented Interfaces:
Serializable
,Comparable<SRP6ClientSession.State>
,Constable
- Enclosing class:
- SRP6ClientSession
Enumerates the states of a client-side SRP-6a authentication
session.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe session is initialised and ready to begin authentication by proceeding toSTEP_1
.The authenticating user has input their identity 'I' (username) and password 'P'.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'.The client public key 'A' and evidence message 'M1' are submitted and the server has replied with own evidence message 'M2'. -
Method Summary
Modifier and TypeMethodDescriptionstatic SRP6ClientSession.State
Returns the enum constant of this class with the specified name.static SRP6ClientSession.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INIT
The session is initialised and ready to begin authentication by proceeding toSTEP_1
. -
STEP_1
The authenticating user has input their identity 'I' (username) and password 'P'. The session is ready to proceed toSTEP_2
. -
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'. The session is ready to proceed toSTEP_3
. -
STEP_3
The client public key 'A' and evidence message 'M1' are submitted and the server has replied with own evidence message 'M2'. The session is finished (authentication was successful or failed).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-