public class Keypair
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
byte[] |
privateKey |
byte[] |
publicKey |
| 限定符和类型 | 方法和说明 |
|---|---|
static Keypair |
createKeypair() |
static Keypair |
createKeypair(byte[] key) |
static Keypair |
createKeypair(byte[] key,
long chainId) |
static Keypair |
createKeypair(long chainId) |
byte[] |
getPrivateKey() |
byte[] |
getPublicKey() |
void |
setPrivateKey(byte[] privateKey) |
void |
setPublicKey(byte[] publicKey) |
public byte[] getPrivateKey()
public void setPrivateKey(byte[] privateKey)
public byte[] getPublicKey()
public void setPublicKey(byte[] publicKey)
public static Keypair createKeypair()
public static Keypair createKeypair(long chainId)
public static Keypair createKeypair(byte[] key, long chainId)
public static Keypair createKeypair(byte[] key)