| Modifier and Type | Field and Description |
|---|---|
| private Digest | |
| private byte[] | |
| private static final byte[] | |
| private MLDSAEngine | |
| private MLDSAPrivateKeyParameters | |
| private MLDSAPublicKeyParameters | |
| private SecureRandom |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Digest | |
| private SHAKEDigest | |
| 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. |
| private void | |
| 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. |
| digest | back to summary |
|---|---|
| private Digest digest | |
| digestOIDEncoding | back to summary |
|---|---|
| private byte[] digestOIDEncoding | |
| EMPTY_CONTEXT | back to summary |
|---|---|
| private static final byte[] EMPTY_CONTEXT | |
| engine | back to summary |
|---|---|
| private MLDSAEngine engine | |
| privKey | back to summary |
|---|---|
| private MLDSAPrivateKeyParameters privKey | |
| pubKey | back to summary |
|---|---|
| private MLDSAPublicKeyParameters pubKey | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| HashMLDSASigner | back to summary |
|---|---|
| public HashMLDSASigner() | |
| createDigest | back to summary |
|---|---|
| private static Digest createDigest(MLDSAParameters parameters) | |
| finishPreHash | back to summary |
|---|---|
| private SHAKEDigest finishPreHash() | |
| 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.
| |
| initDigest | back to summary |
|---|---|
| private void initDigest(MLDSAParameters parameters) | |
| reset | back to summary |
|---|---|
| public void reset() Implements 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. | |