public interface StreamingEncryptionEngine extends EncryptionEngine
| Modifier and Type | Method and Description |
|---|---|
InputStream |
decrypt(InputStream input,
byte[] initVector)
Decrypts given
InputStream and using given initialization vector (if needed). |
OutputStream |
decrypt(OutputStream output,
byte[] initVector)
Decrypts given
OutputStream and using given initialization vector (if needed). |
InputStream |
encrypt(InputStream input,
byte[] initVector)
Encrypts given
InputStream and using given initialization vector (if needed). |
OutputStream |
encrypt(OutputStream output,
byte[] initVector)
Encrypts given
OutputStream and using given initialization vector (if needed). |
decrypt, encryptInputStream encrypt(InputStream input, byte[] initVector) throws EncryptionException
InputStream and using given initialization vector (if needed).input - InputStream to be encryptedinitVector - initialization vector for encryption if needed (can be null)EncryptionException - exception if encryption failsOutputStream encrypt(OutputStream output, byte[] initVector) throws EncryptionException
OutputStream and using given initialization vector (if needed).output - OutputStream to be encryptedinitVector - initialization vector for encryption if needed (can be null)EncryptionException - exception if encryption failsInputStream decrypt(InputStream input, byte[] initVector) throws EncryptionException
InputStream and using given initialization vector (if needed).input - InputStream to be decryptedinitVector - initialization vector for decryption if needed (can be null)EncryptionException - exception if decryption failsOutputStream decrypt(OutputStream output, byte[] initVector) throws EncryptionException
OutputStream and using given initialization vector (if needed).output - OutputStream to be decryptedinitVector - initialization vector for decryption if needed (can be null)EncryptionException - exception if decryption failsCopyright © 2019. All rights reserved.