| Modifier and Type | Field and Description |
|---|---|
| private QTESLAPrivateKeyParameters | privateKey
The Private Key of the Identity Whose Signature Will be Generated |
| private QTESLAPublicKeyParameters | publicKey
The Public Key of the Identity Whose Signature Will be Generated |
| private SecureRandom | secureRandom
The Source of Randomness for private key operations |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | Returns: the signature generated.the message to be signed. message)Implements org. |
| public void | init(boolean
true if we are generating a signature, false
otherwise. forSigning, CipherParameters ParametersWithRandom containing a private key for signature generation, public key otherwise. param)Implements org. |
| public boolean | Returns: true if the signature passes, false otherwise.the message that was supposed to have been signed. message, byte[] the signature of the message signature)Implements org. |
| privateKey | back to summary |
|---|---|
| private QTESLAPrivateKeyParameters privateKey The Private Key of the Identity Whose Signature Will be Generated | |
| publicKey | back to summary |
|---|---|
| private QTESLAPublicKeyParameters publicKey The Public Key of the Identity Whose Signature Will be Generated | |
| secureRandom | back to summary |
|---|---|
| private SecureRandom secureRandom The Source of Randomness for private key operations | |
| QTESLASigner | back to summary |
|---|---|
| public QTESLASigner() | |
| generateSignature | back to summary |
|---|---|
| public byte[] generateSignature(byte[] message) Implements org. Generate a signature directly for the passed in message.
| |
| init | back to summary |
|---|---|
| public void init(boolean forSigning, CipherParameters param) Implements org. Initialise the signer.
| |
| verifySignature | back to summary |
|---|---|
| public boolean verifySignature(byte[] message, byte[] signature) Implements org. Verify the signature against the passed in message.
| |