Class ScramSession.ClientFinalProcessor

    • Method Detail

      • clientFinalMessage

        public String clientFinalMessage()
        Generates the SCRAM representation of the client-final-message.
        Returns:
        The message
      • receiveServerFinalMessage

        public void receiveServerFinalMessage​(String serverFinalMessage)
                                       throws com.ongres.scram.common.exception.ScramParseException,
                                              com.ongres.scram.common.exception.ScramServerErrorException,
                                              com.ongres.scram.common.exception.ScramInvalidServerSignatureException,
                                              IllegalArgumentException
        Receive and process the server-final-message. Server SCRAM signatures is verified.
        Parameters:
        serverFinalMessage - The received server-final-message
        Throws:
        com.ongres.scram.common.exception.ScramParseException - If the message is not a valid server-final-message
        com.ongres.scram.common.exception.ScramServerErrorException - If the server-final-message contained an error
        IllegalArgumentException - If the message is null or empty
        com.ongres.scram.common.exception.ScramInvalidServerSignatureException