public interface ICryptdec
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] bytes)
Decrypt bytes and return the decrypted data.
|
void |
decryptFinal(OutputStream os)
Finalize a pending decryption process with the data in the internal
buffer.
|
void |
decryptUpdate(InputStream is,
OutputStream os)
Append all bytes from input stream is to the internal buffer for
decryption.
|
byte[] |
encrypt(byte[] bytes)
Decrypt bytes and return the decrypted data.
|
void |
encryptFinal(OutputStream os)
Finalize a pending decryption process with the data in the internal
buffer.
|
void |
encryptUpdate(InputStream is,
OutputStream os)
Append all bytes from input stream is to the internal buffer for
decryption.
|
String |
getId()
A unique id for the
ICryptdec. |
byte[] decrypt(byte[] bytes)
throws IOException
ICryptdec may be reused after this operation finished
successful.bytes - IOExceptionvoid decryptFinal(OutputStream os) throws IOException
ICryptdec may be reused after this operation finished
successful.os - IOExceptionvoid decryptUpdate(InputStream is, OutputStream os) throws IOException
is - os - IOExceptionbyte[] encrypt(byte[] bytes)
throws IOException
ICryptdec may be reused after this operation finished
successful.bytes - IOExceptionvoid encryptFinal(OutputStream os) throws IOException
ICryptdec may be reused after this operation finished
successful.os - IOExceptionvoid encryptUpdate(InputStream is, OutputStream os) throws IOException
bytes - offset - len - os - IOExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.