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.IOException
java.security.GeneralSecurityException
public 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.IOException
java.security.GeneralSecurityException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.