Package org.symbol.sdk
Class Bip32.Bip32Node
java.lang.Object
org.symbol.sdk.Bip32.Bip32Node
- Enclosing class:
Bip32
- Bip32Node
- Representation of a BIP-32 node.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal byte[]Chain code associated with this node.final CryptoTypes.PrivateKeyPrivate key associated with this node. -
Method Summary
Modifier and TypeMethodDescriptionderiveOne(int identifier) Derives a direct child node with the given identifier.derivePath(int[] path) Derives a descendent node along the given path.
-
Field Details
-
privateKey
Private key associated with this node. -
chainCode
public final byte[] chainCodeChain 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
- Bip32Node.deriveOne
- Derives a direct child node with the given identifier.
- Parameters:
identifier- Child identifier.- Returns:
- Child BIP-32 node.
-
derivePath
- Bip32Node.derivePath
- Derives a descendent node along the given path.
- Parameters:
path- BIP-32 path.- Returns:
- Descendent node.
-