Class 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

    • Constructor Detail

      • Bip32ECKeyPair

        public Bip32ECKeyPair​(java.math.BigInteger privateKey,
                              java.math.BigInteger publicKey,
                              int childNumber,
                              byte[] chainCode,
                              Bip32ECKeyPair parent)
    • Method Detail

      • create

        public static Bip32ECKeyPair create​(java.math.BigInteger privateKey,
                                            byte[] chainCode)
      • create

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

        public static Bip32ECKeyPair generateKeyPair​(byte[] seed)
      • 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()