Class ScramInitialServerMessage
java.lang.Object
org.wildfly.security.mechanism.scram.ScramInitialServerMessage
Initial server message for the SCRAM authentication.
- Author:
- David M. Lloyd
-
Method Summary
Modifier and TypeMethodDescriptionReturns the initial client message.intReturns the iteration count used for generating salted password.Returns the SCRAM mechanism in the initial client message.byte[]Returns a copy of the message in form of byte array.byte[]getSalt()Returns a copy of the salt used for generating salted password.byte[]Returns a copy of the server nonce.
-
Method Details
-
getMechanism
Returns the SCRAM mechanism in the initial client message.- Returns:
- the SCRAM mechanism in the initial client message.
-
getInitialResponse
Returns the initial client message.- Returns:
- the initial client message.
-
getServerNonce
public byte[] getServerNonce()Returns a copy of the server nonce.- Returns:
- a copy of the server nonce.
-
getIterationCount
public int getIterationCount()Returns the iteration count used for generating salted password.- Returns:
- the iteration count used for generating salted password.
-
getSalt
public byte[] getSalt()Returns a copy of the salt used for generating salted password.- Returns:
- a copy of the salt used for generating salted password.
-
getMessageBytes
public byte[] getMessageBytes()Returns a copy of the message in form of byte array.- Returns:
- a copy of the message in form of byte array.
-