Class MLDSASigner
- java.lang.Object
-
- org.bouncycastle.pqc.crypto.mldsa.MLDSASigner
-
-
Constructor Summary
Constructors Constructor Description MLDSASigner()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]generateMu()Deprecated.byte[]generateMuSignature(byte[] mu)Deprecated.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.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.
-
-
-
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
-
generateMu
public byte[] generateMu() throws CryptoException, DataLengthExceptionDeprecated.- Throws:
CryptoExceptionDataLengthException
-
generateMuSignature
public byte[] generateMuSignature(byte[] mu) throws CryptoException, DataLengthExceptionDeprecated.- Throws:
CryptoExceptionDataLengthException
-
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
-
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
public void reset()
Deprecated.Description copied from interface:Signerreset the internal state
-
internalGenerateSignature
protected byte[] internalGenerateSignature(byte[] message, byte[] random)Deprecated.
-
internalVerifySignature
protected boolean internalVerifySignature(byte[] message, byte[] signature)Deprecated.
-
-