Class MLDSASigner
java.lang.Object
org.bouncycastle.pqc.crypto.mldsa.MLDSASigner
- All Implemented Interfaces:
Signer
Deprecated.
use org.bouncycastle.crypto.signers.MLDSASigner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Deprecated.byte[]generateMuSignature(byte[] mu) Deprecated.byte[]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[] random) 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 inbooleanverifyMu(byte[] mu) Deprecated.booleanverifyMuSignature(byte[] mu, byte[] signature) Deprecated.booleanverifySignature(byte[] signature) Deprecated.return true if the internal state represents the signature described in the passed in array.
-
Constructor Details
-
MLDSASigner
public MLDSASigner()Deprecated.
-
-
Method Details
-
init
Deprecated.Description copied from interface:SignerInitialise the signer for signing or verification. -
update
-
update
-
generateMu
Deprecated.- Throws:
CryptoExceptionDataLengthException
-
generateMuSignature
Deprecated.- Throws:
CryptoExceptionDataLengthException
-
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
-
verifyMu
public boolean verifyMu(byte[] mu) Deprecated. -
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
-
verifyMuSignature
public boolean verifyMuSignature(byte[] mu, byte[] signature) Deprecated. -
reset
-
internalGenerateSignature
protected byte[] internalGenerateSignature(byte[] message, byte[] random) Deprecated. -
internalVerifySignature
protected boolean internalVerifySignature(byte[] message, byte[] signature) Deprecated.
-