public interface StreamingEncryptionAlgorithm extends EncryptionAlgorithm
EncryptionAlgorithm interface.EncryptionAlgorithm| Modifier and Type | Method and Description |
|---|---|
InputStream |
decrypt(InputStream input)
Decrypts specified
InputStream. |
OutputStream |
decrypt(OutputStream output)
Decrypts specified
OutputStream. |
InputStream |
encrypt(InputStream input)
Encrypts specified
InputStream. |
OutputStream |
encrypt(OutputStream output)
Encrypts specified
OutputStream. |
decrypt, decrypt, encrypt, encryptInputStream encrypt(InputStream input) throws EncryptionException
InputStream.input - InputStream to be encryptedEncryptionException - possible exception when encryption failsInputStream decrypt(InputStream input) throws EncryptionException
InputStream.input - InputStream to be decryptedEncryptionException - possible exception when decryption failsOutputStream encrypt(OutputStream output) throws EncryptionException
OutputStream.output - OutputStream to be encryptedEncryptionException - possible exception when encryption failsOutputStream decrypt(OutputStream output) throws EncryptionException
OutputStream.output - OutputStream to be decryptedEncryptionException - possible exception when decryption failsCopyright © 2019. All rights reserved.