public static interface URIConverter.Cipher
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
decrypt(java.io.InputStream inputStream)
Decrypts the specified input stream.
|
java.io.OutputStream |
encrypt(java.io.OutputStream outputStream)
Encrypts the specified output stream.
|
void |
finish(java.io.InputStream inputStream)
This method is invoked after the decrypted input stream is used
allowing the Cipher implementation to do any maintenance work required,
such as flushing internal cache.
|
void |
finish(java.io.OutputStream outputStream)
This method is invoked after the encrypted output stream is used
allowing the Cipher implementation to do any maintenance work required,
such as flushing an internal cache.
|
java.io.OutputStream encrypt(java.io.OutputStream outputStream) throws java.lang.Exception
outputStream
- java.lang.Exception
void finish(java.io.OutputStream outputStream) throws java.lang.Exception
outputStream
- the encrypted stream returned by encrypt(OutputStream)
.java.lang.Exception
java.io.InputStream decrypt(java.io.InputStream inputStream) throws java.lang.Exception
inputStream
- java.lang.Exception
void finish(java.io.InputStream inputStream) throws java.lang.Exception
inputStream
- the stream returned by decrypt(InputStream)
.java.lang.Exception