Package | Description |
---|---|
org.bitcoinj.wallet |
Classes that support the
Wallet , which knows how to find and save transactions relevant to
a set of keys or scripts, calculate balances, and spend money: the wallet has many features and can be extended
in various ways, please refer to the website for documentation on how to use it. |
Modifier and Type | Class and Description |
---|---|
class |
MarriedKeyChain
A multi-signature keychain using synchronized HD keys (a.k.a HDM)
|
Modifier and Type | Field and Description |
---|---|
protected LinkedList<DeterministicKeyChain> |
KeyChainGroup.chains |
Modifier and Type | Method and Description |
---|---|
DeterministicKeyChain |
DeterministicKeyChain.Builder.build() |
DeterministicKeyChain |
KeyChainGroup.getActiveKeyChain()
Returns the key chain that's used for generation of fresh/current keys.
|
DeterministicKeyChain |
Wallet.getActiveKeyChain()
Gets the active keychain via
KeyChainGroup.getActiveKeyChain() |
DeterministicKeyChain |
DefaultKeyChainFactory.makeKeyChain(Protos.Key key,
Protos.Key firstSubKey,
DeterministicSeed seed,
KeyCrypter crypter,
boolean isMarried) |
DeterministicKeyChain |
KeyChainFactory.makeKeyChain(Protos.Key key,
Protos.Key firstSubKey,
DeterministicSeed seed,
KeyCrypter crypter,
boolean isMarried)
Make a keychain (but not a watching one).
|
protected DeterministicKeyChain |
DeterministicKeyChain.makeKeyChainFromSeed(DeterministicSeed seed)
Factory method to create a key chain from a seed.
|
DeterministicKeyChain |
DefaultKeyChainFactory.makeWatchingKeyChain(Protos.Key key,
Protos.Key firstSubKey,
DeterministicKey accountKey,
boolean isFollowingKey,
boolean isMarried) |
DeterministicKeyChain |
KeyChainFactory.makeWatchingKeyChain(Protos.Key key,
Protos.Key firstSubKey,
DeterministicKey accountKey,
boolean isFollowingKey,
boolean isMarried)
Make a watching keychain.
|
DeterministicKeyChain |
DeterministicKeyChain.toDecrypted(CharSequence password) |
DeterministicKeyChain |
DeterministicKeyChain.toDecrypted(org.spongycastle.crypto.params.KeyParameter aesKey) |
DeterministicKeyChain |
DeterministicKeyChain.toEncrypted(CharSequence password) |
DeterministicKeyChain |
DeterministicKeyChain.toEncrypted(KeyCrypter keyCrypter,
org.spongycastle.crypto.params.KeyParameter aesKey) |
DeterministicKeyChain |
KeyChainGroup.upgradeToDeterministic(long keyRotationTimeSecs,
org.spongycastle.crypto.params.KeyParameter aesKey)
If the key chain contains only random keys and no deterministic key chains, this method will create a chain
based on the oldest non-rotating private key (i.e.
|
static DeterministicKeyChain |
DeterministicKeyChain.watch(DeterministicKey accountKey)
Creates a key chain that watches the given account key.
|
static DeterministicKeyChain |
DeterministicKeyChain.watchAndFollow(DeterministicKey watchKey)
Creates a deterministic key chain with the given watch key and that follows some other keychain.
|
Modifier and Type | Method and Description |
---|---|
static List<DeterministicKeyChain> |
DeterministicKeyChain.fromProtobuf(List<Protos.Key> keys,
KeyCrypter crypter,
KeyChainFactory factory)
Returns all the key chains found in the given list of keys.
|
List<DeterministicKeyChain> |
KeyChainGroup.getDeterministicKeyChains()
Returns a copy of the current list of chains.
|
Modifier and Type | Method and Description |
---|---|
void |
KeyChainGroup.addAndActivateHDChain(DeterministicKeyChain chain)
Adds an HD chain to the chains list, and make it the default chain (from which keys are issued).
|
void |
Wallet.addAndActivateHDChain(DeterministicKeyChain chain)
Add a pre-configured keychain to the wallet.
|
Constructor and Description |
---|
DeterministicKeyChain(KeyCrypter crypter,
org.spongycastle.crypto.params.KeyParameter aesKey,
DeterministicKeyChain chain)
For use in encryption when
toEncrypted(KeyCrypter, KeyParameter) is called, so that
subclasses can override that method and create an instance of the right class. |
Copyright © 2016. All rights reserved.