| 限定符和类型 | 字段和说明 |
|---|---|
static int |
BYTES_REQUIRED |
| 限定符和类型 | 方法和说明 |
|---|---|
static SECP256K1.Signature |
create(BigInteger r,
BigInteger s,
byte recId)
Creates a new signature object given its parameters.
|
static SECP256K1.Signature |
decode(Bytes bytes) |
Bytes |
encodedBytes() |
boolean |
equals(Object other) |
BigInteger |
getR() |
byte |
getRecId() |
BigInteger |
getS() |
int |
hashCode() |
String |
toString() |
public static final int BYTES_REQUIRED
public static SECP256K1.Signature create(BigInteger r, BigInteger s, byte recId)
r - the 'r' part of the signature.s - the 's' part of the signature.recId - the recovery id part of the signature.SECP256K1.Signature object.NullPointerException - if r or s are null.IllegalArgumentException - if any argument is invalid (for instance,
v is neither 27 or 28).public static SECP256K1.Signature decode(Bytes bytes)
public Bytes encodedBytes()
public byte getRecId()
public BigInteger getR()
public BigInteger getS()
Copyright © 2021. All rights reserved.