| Modifier and Type | Field and Description |
|---|---|
| private DilithiumPrivateKeyParameters | |
| private DilithiumPublicKeyParameters | |
| private SecureRandom |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | generateSignature(byte[]
the message to be signed. message)Implements org. sign the passed in message (usually the output of a hash function). |
| public void | init(boolean
true if we are generating a signature, false
otherwise. forSigning, CipherParameters key parameters for signature generation. param)Implements org. initialise the signer for signature generation or signature verification. |
| public byte[] | |
| public boolean | verifySignature(byte[]
the message that was supposed to have been signed. message, byte[] the signature of the message signature)Implements org. verify the message message against the signature value. |
| privKey | back to summary |
|---|---|
| private DilithiumPrivateKeyParameters privKey | |
| pubKey | back to summary |
|---|---|
| private DilithiumPublicKeyParameters pubKey | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| DilithiumSigner | back to summary |
|---|---|
| public DilithiumSigner() | |
| generateSignature | back to summary |
|---|---|
| public byte[] generateSignature(byte[] message) Implements org. Doc from org. sign the passed in message (usually the output of a hash function).
| |
| init | back to summary |
|---|---|
| public void init(boolean forSigning, CipherParameters param) Implements org. Doc from org. initialise the signer for signature generation or signature verification.
| |
| internalGenerateSignature | back to summary |
|---|---|
| public byte[] internalGenerateSignature(byte[] message, byte[] random) | |
| verifySignature | back to summary |
|---|---|
| public boolean verifySignature(byte[] message, byte[] signature) Implements org. Doc from org. verify the message message against the signature value.
| |