Class PositionedCryptoInputStream.CipherState

java.lang.Object
org.apache.commons.crypto.stream.PositionedCryptoInputStream.CipherState
Enclosing class:
PositionedCryptoInputStream

private static class PositionedCryptoInputStream.CipherState extends Object
  • Field Details

    • cryptoCipher

      private final CryptoCipher cryptoCipher
    • reset

      private boolean reset
  • Constructor Details

    • CipherState

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

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