-
- 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 Encryptorcombine(Encryptor... encryptors)default OutputStreamwrapStream(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:
wrapStreamin interfaceEncryptor- Parameters:
stream- theOutputStreamto wrap.- Returns:
- the wrapped
OutputStreamthat writes to the givenOutputStreamafter performing encryption.
-
-