public class Seed extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static byte[] |
VER_ED25519 |
static byte[] |
VER_K256 |
static byte[] |
VER_SM |
static byte[] |
VER_SOFT_SM |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
bytes() |
static IKeyPair |
createKeyPair(byte[] seedBytes) |
static IKeyPair |
createKeyPair(byte[] seedBytes,
int accountNumber) |
static Seed |
fromBase58(String b58) |
static Seed |
fromPassPhrase(String passPhrase) |
static IKeyPair |
getKeyPair(byte[] seedBytes) |
static IKeyPair |
getKeyPair(String b58) |
IKeyPair |
keyPair() |
IKeyPair |
keyPair(int account) |
static byte[] |
passPhraseToSeedBytes(String phrase) |
static IKeyPair |
randomKeyPair() |
static Seed |
randomSeed() |
static Seed |
randomSeed(byte[] version) |
IKeyPair |
rootKeyPair() |
Seed |
setEd25519() |
Seed |
setGM() |
String |
toString() |
byte[] |
version() |
public static byte[] VER_K256
public static byte[] VER_ED25519
public static byte[] VER_SM
public static byte[] VER_SOFT_SM
public byte[] bytes()
public byte[] version()
public Seed setEd25519()
public Seed setGM()
public IKeyPair keyPair()
public IKeyPair rootKeyPair()
public IKeyPair keyPair(int account)
public static byte[] passPhraseToSeedBytes(String phrase)
public static IKeyPair createKeyPair(byte[] seedBytes)
public static IKeyPair createKeyPair(byte[] seedBytes, int accountNumber)
public static IKeyPair getKeyPair(byte[] seedBytes)
public static Seed randomSeed()
public static Seed randomSeed(byte[] version)
public static IKeyPair randomKeyPair()
Copyright © 2021. All rights reserved.