| Modifier and Type | Field and Description |
|---|---|
| private ComputeInField | |
| private Digest | |
| private RainbowKeyParameters | |
| private static final int | |
| private SecureRandom | |
| pack-priv int | |
| private Version |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | generateSignature(byte[]
the message to be signed. message)Implements org. |
| private byte[] | |
| public void | init(boolean
true if we are generating a signature, false
otherwise. forSigning, CipherParameters key parameters for signature generation. param)Implements org. |
| private short[] | Returns: message representativethe message message)This function creates the representative of the message which gets signed or verified. |
| public boolean | verifySignature(byte[]
the message that was supposed to have been signed. message, byte[] the signature of the message signature)Implements org. |
| cf | back to summary |
|---|---|
| private ComputeInField cf | |
| hashAlgo | back to summary |
|---|---|
| private Digest hashAlgo | |
| key | back to summary |
|---|---|
| private RainbowKeyParameters key | |
| MAXITS | back to summary |
|---|---|
| private static final int MAXITS | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| signableDocumentLength | back to summary |
|---|---|
| pack-priv int signableDocumentLength | |
| version | back to summary |
|---|---|
| private Version version | |
| RainbowSigner | back to summary |
|---|---|
| public RainbowSigner() | |
| 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).
| |
| genSignature | back to summary |
|---|---|
| private byte[] genSignature(byte[] message) | |
| 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.
| |
| makeMessageRepresentative | back to summary |
|---|---|
| private short[] makeMessageRepresentative(byte[] message) This function creates the representative of the message which gets signed or verified.
| |
| verifySignature | back to summary |
|---|---|
| public boolean verifySignature(byte[] message, byte[] signature) Implements org. Doc from org. verify the message message against the signature value.
| |