| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] | |
| private MLDSAEngine | |
| private SHAKEDigest | |
| private MLDSAPrivateKeyParameters | |
| private MLDSAPublicKeyParameters | |
| private SecureRandom |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | generateSignature()
Implements org. generate a signature for the message we've been loaded with using the key we were initialised with. |
| public void | init(boolean
true if for signing, false otherwise forSigning, CipherParameters necessary parameters. param)Implements org. Initialise the signer for signing or verification. |
| protected byte[] | |
| protected boolean | |
| public void | |
| public void | update(byte b)
Implements org. update the internal digest with the byte b |
| public void | update(byte[] in, int off, int len)
Implements org. update the internal digest with the byte array in |
| public boolean | verifySignature(byte[] signature)
Implements org. return true if the internal state represents the signature described in the passed in array. |
| EMPTY_CONTEXT | back to summary |
|---|---|
| private static final byte[] EMPTY_CONTEXT | |
| engine | back to summary |
|---|---|
| private MLDSAEngine engine | |
| msgDigest | back to summary |
|---|---|
| private SHAKEDigest msgDigest | |
| privKey | back to summary |
|---|---|
| private MLDSAPrivateKeyParameters privKey | |
| pubKey | back to summary |
|---|---|
| private MLDSAPublicKeyParameters pubKey | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| MLDSASigner | back to summary |
|---|---|
| public MLDSASigner() | |
| generateSignature | back to summary |
|---|---|
| public byte[] generateSignature() throws CryptoException, DataLengthException Implements org. Doc from org. generate a signature for the message we've been loaded with using the key we were initialised with. | |
| init | back to summary |
|---|---|
| public void init(boolean forSigning, CipherParameters param) Implements org. Doc from org. Initialise the signer for signing or verification.
| |
| internalGenerateSignature | back to summary |
|---|---|
| protected byte[] internalGenerateSignature(byte[] message, byte[] random) | |
| internalVerifySignature | back to summary |
|---|---|
| protected boolean internalVerifySignature(byte[] message, byte[] signature) | |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. reset the internal state | |
| update | back to summary |
|---|---|
| public void update(byte b) Implements org. Doc from org. update the internal digest with the byte b | |
| update | back to summary |
|---|---|
| public void update(byte[] in, int off, int len) Implements org. Doc from org. update the internal digest with the byte array in | |
| verifySignature | back to summary |
|---|---|
| public boolean verifySignature(byte[] signature) Implements org. Doc from org. return true if the internal state represents the signature described in the passed in array. | |