Class ScramInitialServerMessage
- java.lang.Object
-
- org.wildfly.security.mechanism.scram.ScramInitialServerMessage
-
public final class ScramInitialServerMessage extends Object
Initial server message for the SCRAM authentication.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScramInitialClientMessagegetInitialResponse()Returns the initial client message.intgetIterationCount()Returns the iteration count used for generating salted password.ScramMechanismgetMechanism()Returns the SCRAM mechanism in the initial client message.byte[]getMessageBytes()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[]getServerNonce()Returns a copy of the server nonce.
-
-
-
Method Detail
-
getMechanism
public ScramMechanism getMechanism()
Returns the SCRAM mechanism in the initial client message.- Returns:
- the SCRAM mechanism in the initial client message.
-
getInitialResponse
public ScramInitialClientMessage 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.
-
-