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.Exceptionvoid finish(java.io.OutputStream outputStream)
throws java.lang.Exception
outputStream - the encrypted stream returned by encrypt(OutputStream).java.lang.Exceptionjava.io.InputStream decrypt(java.io.InputStream inputStream)
throws java.lang.Exception
inputStream - java.lang.Exceptionvoid finish(java.io.InputStream inputStream)
throws java.lang.Exception
inputStream - the stream returned by decrypt(InputStream).java.lang.ExceptionCopyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature