public class Bip32ECKeyPair extends ECKeyPair
Adapted from: https://github.com/bitcoinj/bitcoinj/blob/master/core/src/main/java/org/bitcoinj/crypto/DeterministicKey.java
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
HARDENED_BIT |
| 构造器和说明 |
|---|
Bip32ECKeyPair(BigInteger privateKey,
BigInteger publicKey,
int childNumber,
byte[] chainCode,
Bip32ECKeyPair parent) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Bip32ECKeyPair |
create(BigInteger privateKey,
byte[] chainCode) |
static Bip32ECKeyPair |
create(byte[] privateKey,
byte[] chainCode) |
static Bip32ECKeyPair |
deriveKeyPair(Bip32ECKeyPair master,
int[] path) |
static Bip32ECKeyPair |
generateKeyPair(byte[] seed) |
byte[] |
getChainCode() |
int |
getChildNumber() |
int |
getDepth() |
int |
getParentFingerprint() |
byte[] |
getPrivateKeyBytes33() |
org.bouncycastle.math.ec.ECPoint |
getPublicKeyPoint() |
create, create, create, equals, getPrivateKey, getPublicKey, hashCode, signpublic static final int HARDENED_BIT
public Bip32ECKeyPair(BigInteger privateKey, BigInteger publicKey, int childNumber, byte[] chainCode, Bip32ECKeyPair parent)
public static Bip32ECKeyPair create(BigInteger privateKey, byte[] chainCode)
public static Bip32ECKeyPair create(byte[] privateKey, byte[] chainCode)
public static Bip32ECKeyPair generateKeyPair(byte[] seed)
public static Bip32ECKeyPair deriveKeyPair(Bip32ECKeyPair master, int[] path)
public int getDepth()
public int getParentFingerprint()
public byte[] getChainCode()
public int getChildNumber()
public org.bouncycastle.math.ec.ECPoint getPublicKeyPoint()
public byte[] getPrivateKeyBytes33()
Copyright © 2021. All rights reserved.