Class PositionedCryptoInputStream.CipherState

    • Constructor Summary

      Constructors 
      Constructor Description
      CipherState​(CryptoCipher cryptoCipher)
      Constructs a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CryptoCipher getCryptoCipher()
      Gets the CryptoCipher instance.
      boolean isReset()
      Gets the reset.
      void reset​(boolean reset)
      Sets the value of reset.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • reset

        private boolean reset
    • Constructor Detail

      • CipherState

        public CipherState​(CryptoCipher cryptoCipher)
        Constructs a new instance.
        Parameters:
        cryptoCipher - the CryptoCipher instance.
    • Method Detail

      • getCryptoCipher

        public CryptoCipher getCryptoCipher()
        Gets the CryptoCipher instance.
        Returns:
        the cipher.
      • isReset

        public boolean isReset()
        Gets the reset.
        Returns:
        the value of reset.
      • reset

        public void reset​(boolean reset)
        Sets the value of reset.
        Parameters:
        reset - the reset.