public class CryptoStreamFactory extends Object
Constructor and Description |
---|
CryptoStreamFactory() |
Modifier and Type | Method and Description |
---|---|
static InputStream |
getDecryptingInputStream(InputStream is,
String isEncrypted)
Create a (potentially) decrypting input stream using the default password.
|
public CryptoStreamFactory()
public static InputStream getDecryptingInputStream(InputStream is, String isEncrypted) throws Exception
is
- the input stream to be decryptedisEncrypted
- the encryption mode (true|false|auto)Exception
- reading the input stream failedCopyright © 2004–1970 The Apache Software Foundation. All rights reserved.