Class ScramFinalClientMessage


  • public final class ScramFinalClientMessage
    extends Object
    Final client message for the SCRAM authentication.
    Author:
    David M. Lloyd
    • 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.