| Modifier and Type | Field and Description |
|---|---|
| pack-priv ECKeyParameters | |
| pack-priv SecureRandom |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected ECMultiplier | |
| public BigInteger[] | generateSignature(byte[]
the message that will be verified later. message)Implements org. generate a signature for the given message using the key we were initialised with. |
| public BigInteger | getOrder()
Implements org. Get the order of the group that the r, s values in signatures belong to. |
| 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 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. 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). |
| key | back to summary |
|---|---|
| pack-priv ECKeyParameters key | |
| random | back to summary |
|---|---|
| pack-priv SecureRandom random | |
| ECGOST3410Signer | back to summary |
|---|---|
| public 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.
| |
| getOrder | back to summary |
|---|---|
| public BigInteger getOrder() Implements org. Doc from org. Get the order of the group that the r, s values in signatures belong to. | |
| 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).
| |