Modifier and Type | Field and Description |
---|---|
BigInteger |
r
The two components of the signature.
|
BigInteger |
s
The two components of the signature.
|
byte |
v |
Constructor and Description |
---|
ECDSASignature(BigInteger r,
BigInteger s)
Constructs a signature with the given components.
|
Modifier and Type | Method and Description |
---|---|
static ECKey.ECDSASignature |
decodeFromDER(byte[] bytes) |
boolean |
equals(Object o) |
static ECKey.ECDSASignature |
fromComponents(byte[] r,
byte[] s,
byte v) |
int |
hashCode() |
String |
toBase64() |
byte[] |
toByteArray() |
ECKey.ECDSASignature |
toCanonicalised() |
String |
toHex() |
boolean |
validateComponents() |
static boolean |
validateComponents(BigInteger r,
BigInteger s,
byte v) |
public final BigInteger r
public final BigInteger s
public byte v
public ECDSASignature(BigInteger r, BigInteger s)
r
- -s
- -public static ECKey.ECDSASignature fromComponents(byte[] r, byte[] s, byte v)
r
- -s
- -v
- -public static boolean validateComponents(BigInteger r, BigInteger s, byte v)
public static ECKey.ECDSASignature decodeFromDER(byte[] bytes)
public boolean validateComponents()
public ECKey.ECDSASignature toCanonicalised()
public String toBase64()
public byte[] toByteArray()
public String toHex()
Copyright © 2020. All rights reserved.