Class HashSLHDSASigner
java.lang.Object
org.bouncycastle.pqc.crypto.slhdsa.HashSLHDSASigner
- All Implemented Interfaces:
Signer
Deprecated.
use org.bouncycastle.crypto.signers.HashSLHDSASigner
SLH-DSA signer - prehash version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Deprecated.generate a signature for the message we've been loaded with using the key we were initialised with.voidinit(boolean forSigning, CipherParameters param) Deprecated.Initialise the signer for signing or verification.protected byte[]internalGenerateSignature(byte[] message, byte[] optRand) Deprecated.protected booleaninternalVerifySignature(byte[] message, byte[] signature) Deprecated.voidreset()Deprecated.reset the internal statevoidupdate(byte b) Deprecated.update the internal digest with the byte bvoidupdate(byte[] in, int off, int len) Deprecated.update the internal digest with the byte array inbooleanverifySignature(byte[] signature) Deprecated.return true if the internal state represents the signature described in the passed in array.
-
Constructor Details
-
HashSLHDSASigner
public HashSLHDSASigner()Deprecated.
-
-
Method Details
-
init
Deprecated.Description copied from interface:SignerInitialise the signer for signing or verification. -
update
-
update
-
generateSignature
Deprecated.Description copied from interface:Signergenerate a signature for the message we've been loaded with using the key we were initialised with.- Specified by:
generateSignaturein interfaceSigner- Throws:
CryptoExceptionDataLengthException
-
verifySignature
public boolean verifySignature(byte[] signature) Deprecated.Description copied from interface:Signerreturn true if the internal state represents the signature described in the passed in array.- Specified by:
verifySignaturein interfaceSigner
-
reset
-
internalGenerateSignature
protected byte[] internalGenerateSignature(byte[] message, byte[] optRand) Deprecated. -
internalVerifySignature
protected boolean internalVerifySignature(byte[] message, byte[] signature) Deprecated.
-