Module io.github.mmm.crypto
Interface SignatureSigner<S extends SignatureBinary>
-
- Type Parameters:
S- type ofSignatureBinary.
- All Superinterfaces:
CryptoAlgorithm,CryptoChunker,CryptoProcessor,SignatureProcessor,SignatureSignerSimple
- All Known Implementing Classes:
SignatureSignerImpl,SignatureSignerImplCryptorWithHash,SignatureSignerImplEcBc,SignatureSignerImplWithHash
public interface SignatureSigner<S extends SignatureBinary> extends SignatureSignerSimple
- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Ssign(byte[] input, boolean reset)default Ssign(byte[] input, int offset, int length, boolean reset)default Ssign(CryptoBinary input, boolean reset)SsignAfterUpdate(boolean reset)-
Methods inherited from interface io.github.mmm.crypto.algorithm.CryptoAlgorithm
getAlgorithm
-
Methods inherited from interface io.github.mmm.crypto.CryptoChunker
update, update, update
-
Methods inherited from interface io.github.mmm.crypto.CryptoProcessor
process, process, process, reset
-
Methods inherited from interface io.github.mmm.crypto.asymmetric.sign.SignatureSignerSimple
process, signAfterUpdateRaw
-
-
-
-
Method Detail
-
signAfterUpdate
S signAfterUpdate(boolean reset)
- Parameters:
reset- -truetoresetafter the signature has been generated,falseotherwise.- Returns:
- the final signature generated for the
processed data.
-
sign
default S sign(byte[] input, boolean reset)
- Parameters:
input- the data to sign.reset- -truetoresetafter the signature has been generated,falseotherwise.- Returns:
- the final signature generated for the
processed data.
-
sign
default S sign(byte[] input, int offset, int length, boolean reset)
- Parameters:
input- the data to sign.offset- the index where to start reading data frominput.length- the number of bytes to read frominput.reset- -truetoresetafter the signature has been generated,falseotherwise.- Returns:
- the final signature generated for the
processed data.
-
sign
default S sign(CryptoBinary input, boolean reset)
- Parameters:
input- theCryptoBinarycontaining the (next)datato sign. E.g. aHash.reset- -truetoresetafter the signature has been generated,falseotherwise.- Returns:
- the final signature generated for the
processed data.
-
-