public class SmartDecryptingInputStream
extends java.io.ByteArrayInputStream
| Constructor and Description |
|---|
SmartDecryptingInputStream(CryptoStreamFactory cryptoStreamFactory,
java.io.InputStream is)
Constructor
|
SmartDecryptingInputStream(CryptoStreamFactory cryptoStreamFactory,
java.io.InputStream is,
char[] password)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
copy(java.io.InputStream is,
java.io.OutputStream os)
Pumps the input stream to the output stream.
|
public SmartDecryptingInputStream(CryptoStreamFactory cryptoStreamFactory, java.io.InputStream is) throws java.io.IOException, java.security.GeneralSecurityException
cryptoStreamFactory - the CryptoStreamFactory for creating a cipher streamis - the input stream to be decryptedjava.io.IOExceptionjava.security.GeneralSecurityExceptionpublic SmartDecryptingInputStream(CryptoStreamFactory cryptoStreamFactory, java.io.InputStream is, char[] password) throws java.io.IOException, java.security.GeneralSecurityException
cryptoStreamFactory - the CryptoStreamFactory for creating a cipher streamis - the input stream to be decryptedpassword - the password for decryptionjava.io.IOExceptionjava.security.GeneralSecurityExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.