public class Signer extends Object
| Constructor and Description |
|---|
Signer() |
| Modifier and Type | Method and Description |
|---|---|
static BigInteger |
recoverFromSignature(int from,
int recId,
BigInteger r,
BigInteger s,
byte[] message) |
static SignatureData |
sign(BigInteger privateKey,
BigInteger publicKey,
int addToV,
int from,
byte[] data) |
public static BigInteger recoverFromSignature(int from, int recId, BigInteger r, BigInteger s, byte[] message)
public static SignatureData sign(BigInteger privateKey, BigInteger publicKey, int addToV, int from, byte[] data)
Copyright © 2022 IoTeX Group. All rights reserved.