-
- All Superinterfaces:
AbstractGetNonceSize
,CryptoAlgorithm
,CryptoProcessor
,Cryptor
,Encryptor
- All Known Implementing Classes:
EncryptorImplCiper
,EncryptorImplCombined
public interface AbstractEncryptor extends Encryptor
Abstract implementation ofEncryptor
.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Encryptor
combine(Encryptor... encryptors)
default OutputStream
wrapStream(OutputStream stream)
-
Methods inherited from interface io.github.mmm.crypto.crypt.AbstractGetNonceSize
getNonceSize
-
Methods inherited from interface io.github.mmm.crypto.algorithm.CryptoAlgorithm
getAlgorithm
-
Methods inherited from interface io.github.mmm.crypto.CryptoProcessor
process, process, process, reset
-
-
-
-
Method Detail
-
wrapStream
default OutputStream wrapStream(OutputStream stream)
- Specified by:
wrapStream
in interfaceEncryptor
- Parameters:
stream
- theOutputStream
to wrap.- Returns:
- the wrapped
OutputStream
that writes to the givenOutputStream
after performing encryption.
-
-