Class Bip32.Bip32Node

java.lang.Object
org.symbol.sdk.Bip32.Bip32Node
Enclosing class:
Bip32

public static final class Bip32.Bip32Node extends Object
Bip32Node
Representation of a BIP-32 node.
  • Field Details

    • privateKey

      public final CryptoTypes.PrivateKey privateKey
      Private key associated with this node.
    • chainCode

      public final byte[] chainCode
      Chain code associated with this node. This is the internal buffer (used as the HMAC key for child derivation); callers must not mutate it.
  • Method Details

    • deriveOne

      public Bip32.Bip32Node deriveOne(int identifier)
      Bip32Node.deriveOne
      Derives a direct child node with the given identifier.
      Parameters:
      identifier - Child identifier.
      Returns:
      Child BIP-32 node.
    • derivePath

      public Bip32.Bip32Node derivePath(int[] path)
      Bip32Node.derivePath
      Derives a descendent node along the given path.
      Parameters:
      path - BIP-32 path.
      Returns:
      Descendent node.