Class DecryptionInputStream

java.lang.Object
java.io.InputStream
org.refcodes.security.DecryptionInputStream
All Implemented Interfaces:
Closeable, AutoCloseable, org.refcodes.mixin.Disposable

public class DecryptionInputStream extends InputStream implements org.refcodes.mixin.Disposable
A DecryptionInputStream wraps an InputStream and consumes input bytes by applying a Decrypter on each byte read from the provided InputStream before passing back the processed byte to the caller. The input of the DecryptionInputStream can be converted back by the according EncryptionOutputStream.