public interface IFileCryptography
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
decryptStream(java.io.InputStream in,
char[] passwd,
java.lang.String objectName) |
java.util.Iterator<byte[]> |
encryptStream(java.io.InputStream is,
java.lang.String fileName) |
java.io.InputStream decryptStream(java.io.InputStream in, char[] passwd, java.lang.String objectName) throws java.lang.Exception
in
- - a handle to the encrypted, compressed data streampasswd
- - pass phrase used to extract the PGP private key from the encrypted content.objectName
- - name of the object we are decrypting, currently use for debugging
purposes only.java.lang.Exception
java.util.Iterator<byte[]> encryptStream(java.io.InputStream is, java.lang.String fileName) throws java.lang.Exception
is
- - a handle to the plaintext data streamjava.lang.Exception