public class Bip32ECKeyPair extends ECKeyPair
Adapted from: https://github.com/bitcoinj/bitcoinj/blob/master/core/src/main/java/org/bitcoinj/crypto/DeterministicKey.java
Constructor and Description |
---|
Bip32ECKeyPair(java.math.BigInteger privateKey,
java.math.BigInteger publicKey,
int childNumber,
byte[] chainCode,
Bip32ECKeyPair parent) |
Modifier and Type | Method and Description |
---|---|
static Bip32ECKeyPair |
create(java.math.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, sign
public Bip32ECKeyPair(java.math.BigInteger privateKey, java.math.BigInteger publicKey, int childNumber, byte[] chainCode, Bip32ECKeyPair parent)
public static Bip32ECKeyPair create(java.math.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()