| 程序包 | 说明 |
|---|---|
| network.nerve.heterogeneous.crypto |
| 限定符和类型 | 方法和说明 |
|---|---|
ECDSASignature |
ECKeyPair.sign(byte[] transactionHash)
Sign a hash with the private key of this key pair.
|
ECDSASignature |
ECDSASignature.toCanonicalised()
Will automatically adjust the S component to be less than or equal to half the curve order,
if necessary.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static BigInteger |
Sign.recoverFromSignature(int recId,
ECDSASignature sig,
byte[] message)
Given the components of a signature and a selector value, recover and return the public key
that generated the signature according to the algorithm in SEC1v2 section 4.1.6.
|
Copyright © 2021. All rights reserved.