public class PlainInputStream extends FilterInputStream
Crypt which encrypts a plaintext input stream.CipherInputStream, which additionally
provides the initialization vector as first input.in| Constructor and Description |
|---|
PlainInputStream(Crypt crypt,
InputStream input,
byte[] passwordBytes)
An input stream for the specified
Crypt which encrypts a plaintext input stream. |
PlainInputStream(Crypt crypt,
InputStream input,
CharSequence password)
An input stream for the specified
Crypt which encrypts a plaintext input stream. |
public PlainInputStream(@Nonnull Crypt crypt, @Nonnull InputStream input, @Nonnull CharSequence password)
Crypt which encrypts a plaintext input stream.CipherInputStream, which additionally
provides the initialization vector as first input.crypt - the used Crypt objectinput - the cipher input streampassword - the passwordCryptoInitializationProblem - in case of a CryptoInitializationProblem problempublic PlainInputStream(@Nonnull Crypt crypt, @Nonnull InputStream input, @Nonnull byte[] passwordBytes)
Crypt which encrypts a plaintext input stream.CipherInputStream, which additionally
provides the initialization vector as first input.crypt - the used Crypt objectinput - the cipher input streampasswordBytes - the password bytesCryptoInitializationProblem - in case of a CryptoInitializationProblem problemCopyright © 2014 Michael Bock. All rights reserved.