-
- All Superinterfaces:
CryptoAlgorithm,CryptoProcessor
- All Known Subinterfaces:
HashCreator,SignatureProcessor,SignatureSigner<S>,SignatureSignerSimple,SignatureVerifier<S>,SignatureVerifierSimple
- All Known Implementing Classes:
HashCreatorImplCombined,HashCreatorImplDigest,HashCreatorImplMultipleRounds,SignatureProcessorImpl,SignatureProcessorImplEcBc,SignatureProcessorImplWithHash,SignatureSignerImpl,SignatureSignerImplCryptorWithHash,SignatureSignerImplEcBc,SignatureSignerImplWithHash,SignatureVerifierImpl,SignatureVerifierImplCryptorWithHash,SignatureVerifierImplEcBc,SignatureVerifierImplWithHash
public interface CryptoChunker extends CryptoProcessor
This is the interface for a security algorithm function thatcombines chunks of datato a compact result.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
- See Also:
HashCreator,SignatureProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidupdate(byte[] input)voidupdate(byte[] input, int offset, int length)default voidupdate(CryptoBinary input)-
Methods inherited from interface io.github.mmm.crypto.algorithm.CryptoAlgorithm
getAlgorithm
-
-
-
-
Method Detail
-
update
default void update(byte[] input)
- Parameters:
input- the next chunk of data.- See Also:
MessageDigest.update(byte[]),Signature.update(byte[])
-
update
void update(byte[] input, int offset, int length)- Parameters:
input- the next chunk of data.offset- the index where to start reading data frominput.length- the number of bytes to read frominput.- See Also:
MessageDigest.update(byte[], int, int),Signature.update(byte[], int, int)
-
update
default void update(CryptoBinary input)
- Parameters:
input- theCryptoBinarycontaining the next chunk ofdata.- See Also:
MessageDigest.update(byte[]),Signature.update(byte[])
-
-