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 Details

    • 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.