Class Bip32ECKeyPair

java.lang.Object
org.web3j.crypto.ECKeyPair
org.web3j.crypto.Bip32ECKeyPair

public class Bip32ECKeyPair extends ECKeyPair
BIP-32 key pair.

Adapted from: https://github.com/bitcoinj/bitcoinj/blob/master/core/src/main/java/org/bitcoinj/crypto/DeterministicKey.java

  • Field Details

  • Constructor Details

  • Method Details

    • create

      public static Bip32ECKeyPair create(BigInteger privateKey, byte[] chainCode)
    • create

      public static Bip32ECKeyPair create(byte[] privateKey, byte[] chainCode)
    • generateKeyPair

      public static Bip32ECKeyPair generateKeyPair(byte[] seed)
    • deriveKeyPair

      public static Bip32ECKeyPair deriveKeyPair(Bip32ECKeyPair master, int[] path)
    • getDepth

      public int getDepth()
    • getParentFingerprint

      public int getParentFingerprint()
    • getChainCode

      public byte[] getChainCode()
    • getChildNumber

      public int getChildNumber()
    • getPublicKeyPoint

      public org.bouncycastle.math.ec.ECPoint getPublicKeyPoint()
    • getPrivateKeyBytes33

      public byte[] getPrivateKeyBytes33()