Interface TlsHash

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      byte[] calculateHash()
      Return calculated hash for any input passed in.
      java.lang.Object clone()
      Return a clone of this hash object representing its current state.
      void reset()
      Reset the hash underlying this service.
      void update​(byte[] input, int inOff, int length)
      Update the hash with the passed in input.
    • Method Detail

      • update

        void update​(byte[] input,
                    int inOff,
                    int length)
        Update the hash with the passed in input.
        Parameters:
        input - input array containing the data.
        inOff - offset into the input array the input starts at.
        length - the length of the input data.
      • calculateHash

        byte[] calculateHash()
        Return calculated hash for any input passed in.
        Returns:
        the hash value.
      • clone

        java.lang.Object clone()
        Return a clone of this hash object representing its current state.
        Returns:
        a clone of the current hash.
      • reset

        void reset()
        Reset the hash underlying this service.