Class ScramFinalClientMessage
- java.lang.Object
-
- org.wildfly.security.mechanism.scram.ScramFinalClientMessage
-
public final class ScramFinalClientMessage extends Object
Final client message for the SCRAM authentication.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getClientProof()Returns a copy of the client proof sent to the server.ScramInitialServerMessagegetInitialChallenge()Returns the initial server message.ScramInitialClientMessagegetInitialResponse()Returns the initial client message.ScramMechanismgetMechanism()Returns the SCRAM mechanism in the initial client message.byte[]getMessageBytes()Returns a copy of the byte array of the message.ScramDigestPasswordgetPassword()Returns the password used for authentication.
-
-
-
Method Detail
-
getInitialResponse
public ScramInitialClientMessage getInitialResponse()
Returns the initial client message.- Returns:
- the initial client message.
-
getInitialChallenge
public ScramInitialServerMessage getInitialChallenge()
Returns the initial server message.- Returns:
- the initial server message.
-
getPassword
public ScramDigestPassword getPassword()
Returns the password used for authentication.- Returns:
- the password used for authentication.
-
getClientProof
public byte[] getClientProof()
Returns a copy of the client proof sent to the server.- Returns:
- a copy of the client proof sent to the server.
-
getMessageBytes
public byte[] getMessageBytes()
Returns a copy of the byte array of the message.- Returns:
- a copy of the byte array of the message.
-
getMechanism
public ScramMechanism getMechanism()
Returns the SCRAM mechanism in the initial client message.- Returns:
- the SCRAM mechanism in the initial client message.
-
-