| 程序包 | 说明 |
|---|---|
| cn.bitfactory.encryption.crypto.mnemonic | |
| cn.bitfactory.encryption.key | |
| cn.bitfactory.encryption.model | |
| cn.bitfactory.encryption.utils.hash |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
Mnemonic.generatePrivateKeyByMnemonicCodeAndKeyTypeAndHDPath(List<String> mnemonicCodes,
KeyType keyType,
String hdPath) |
| 限定符和类型 | 方法和说明 |
|---|---|
KeyType |
PrivateKeyManager.getKeyType()
get key type
|
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
PrivateKeyManager.getEncPrivateKey(byte[] raw_skey,
KeyType type)
原生转星火私钥
|
static String |
PrivateKeyManager.getEncPublicKey(byte[] rawPKey,
KeyType type)
原生转星火公钥
|
static String |
PublicKeyManager.hexToEncAddress(byte[] rawAddress,
KeyType type) |
void |
PublicKeyManager.setKeyType(KeyType keyType)
set key type
|
void |
PrivateKeyManager.setKeyType(KeyType keyType)
set key type
|
| 构造器和说明 |
|---|
PrivateKeyManager(byte[] seed,
KeyType type)
generate key pair
|
PrivateKeyManager(KeyType type)
generate key pair
|
PrivateKeyManager(KeyType type,
String chainCode)
generate key pair
|
| 限定符和类型 | 方法和说明 |
|---|---|
KeyType |
KeyMember.getKeyType() |
static KeyType |
KeyType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static KeyType[] |
KeyType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
KeyMember.setKeyType(KeyType keyType) |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
HashUtil.CalHash(KeyType type,
byte[] data)
get hash
|
Copyright © 2025. All rights reserved.