Package | Description |
---|---|
com.google.bitcoin.crypto |
Modifier and Type | Method and Description |
---|---|
static DeterministicKey |
HDKeyDerivation.createMasterPrivateKey(byte[] seed)
Generates a new deterministic key from the given seed, which can be any arbitrary byte array.
|
static DeterministicKey |
HDKeyDerivation.createMasterPrivKeyFromBytes(byte[] privKeyBytes,
byte[] chainCode) |
static DeterministicKey |
HDKeyDerivation.createMasterPubKeyFromBytes(byte[] pubKeyBytes,
byte[] chainCode) |
DeterministicKey |
DeterministicHierarchy.deriveChild(List<ChildNumber> parentPath,
boolean relative,
boolean createParent,
ChildNumber createChildNumber)
Extends the tree by calculating the requested child for the given path.
|
static DeterministicKey |
HDKeyDerivation.deriveChildKey(DeterministicKey parent,
ChildNumber childNumber) |
static DeterministicKey |
HDKeyDerivation.deriveChildKey(DeterministicKey parent,
int childNumber) |
DeterministicKey |
DeterministicHierarchy.deriveNextChild(com.google.common.collect.ImmutableList<ChildNumber> parentPath,
boolean relative,
boolean createParent,
boolean privateDerivation)
Extends the tree by calculating the next key that hangs off the given parent path.
|
DeterministicKey |
DeterministicHierarchy.get(List<ChildNumber> path,
boolean relativePath,
boolean create)
Returns a key for the given path, optionally creating it.
|
DeterministicKey |
DeterministicKey.getParent() |
DeterministicKey |
DeterministicKey.getPubOnly()
Returns the same key with the private part removed.
|
DeterministicKey |
DeterministicHierarchy.getRootKey()
Returns the root key that the
DeterministicHierarchy was created with. |
Modifier and Type | Method and Description |
---|---|
static DeterministicKey |
HDKeyDerivation.deriveChildKey(DeterministicKey parent,
ChildNumber childNumber) |
static DeterministicKey |
HDKeyDerivation.deriveChildKey(DeterministicKey parent,
int childNumber) |
Constructor and Description |
---|
DeterministicHierarchy(DeterministicKey rootKey)
Constructs a new hierarchy rooted at the given key.
|
Copyright © 2014. All rights reserved.