Class HashMLDSASigner
- java.lang.Object
-
- org.bouncycastle.pqc.crypto.mldsa.HashMLDSASigner
-
-
Constructor Summary
Constructors Constructor Description HashMLDSASigner()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]generateSignature()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.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.
-
-
-
Method Detail
-
init
public void init(boolean forSigning, CipherParameters param)Deprecated.Description copied from interface:SignerInitialise the signer for signing or verification.
-
update
public void update(byte b)
Deprecated.Description copied from interface:Signerupdate the internal digest with the byte b
-
update
public void update(byte[] in, int off, int len)Deprecated.Description copied from interface:Signerupdate the internal digest with the byte array in
-
generateSignature
public byte[] generateSignature() throws CryptoException, DataLengthExceptionDeprecated.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
-
-