| Modifier and Type | Field and Description |
|---|---|
| pack-priv EcKeyParameters | |
| pack-priv SecureRandom |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected ECMultiplier | |
| public BigInteger[] | generateSignature(byte[]
the message that will be verified later. message)Implements org. |
| public void | init(boolean
true if we are generating a signature, false
otherwise. forSigning, CipherParameters key parameters for signature generation. param)Implements org. |
| public boolean | verifySignature(byte[]
the message that was supposed to have been signed. message, BigInteger the r signature value. r, BigInteger the s signature value. s)Implements org. |
| key | back to summary |
|---|---|
| pack-priv EcKeyParameters key | |
| random | back to summary |
|---|---|
| pack-priv SecureRandom random | |
| EcGost3410Signer | back to summary |
|---|---|
| pack-priv EcGost3410Signer() | |
| createBasePointMultiplier | back to summary |
|---|---|
| protected ECMultiplier createBasePointMultiplier() | |
| generateSignature | back to summary |
|---|---|
| public BigInteger[] generateSignature(byte[] message) Implements org. generate a signature for the given message using the key we were initialised with. For conventional GOST3410 the message should be a GOST3411 hash of the message of interest.
| |
| 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.
| |
| verifySignature | back to summary |
|---|---|
| public boolean verifySignature(byte[] message, BigInteger r, BigInteger s) Implements org. return true if the value r and s represent a GOST3410 signature for the passed in message (for standard GOST3410 the message should be a GOST3411 hash of the real message to be verified).
| |