| Package | Description | 
|---|---|
| org.bitcoinj.core | 
 The core package contains classes for network messages like  
Block and
 Transaction, peer connectivity via PeerGroup,
 and block chain management. | 
| org.bitcoinj.crypto | 
 The crypto package contains classes that work with key derivation algorithms like scrypt (passwords to AES keys),
 BIP 32 hierarchies (chains of keys from a root seed), X.509 utilities for the payment protocol and other general
 cryptography tasks. 
 | 
| 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 | Field and Description | 
|---|---|
protected KeyCrypter | 
ECKey.keyCrypter  | 
| Modifier and Type | Method and Description | 
|---|---|
KeyCrypter | 
ECKey.getKeyCrypter()
Returns the KeyCrypter that was used to encrypt to encrypt this ECKey. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ECKey | 
ECKey.decrypt(KeyCrypter keyCrypter,
       org.spongycastle.crypto.params.KeyParameter aesKey)
Create a decrypted private key with the keyCrypter and AES key supplied. 
 | 
ECKey | 
ECKey.encrypt(KeyCrypter keyCrypter,
       org.spongycastle.crypto.params.KeyParameter aesKey)
Create an encrypted private key with the keyCrypter and the AES key supplied. 
 | 
static boolean | 
ECKey.encryptionIsReversible(ECKey originalKey,
                      ECKey encryptedKey,
                      KeyCrypter keyCrypter,
                      org.spongycastle.crypto.params.KeyParameter aesKey)
Check that it is possible to decrypt the key with the keyCrypter and that the original key is returned. 
 | 
static ECKey | 
ECKey.fromEncrypted(EncryptedData encryptedPrivateKey,
             KeyCrypter crypter,
             byte[] pubKey)
Constructs a key that has an encrypted private component. 
 | 
| Constructor and Description | 
|---|
ECKey(EncryptedData encryptedPrivateKey,
     byte[] pubKey,
     KeyCrypter keyCrypter)
Deprecated.  
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
KeyCrypterScrypt
This class encrypts and decrypts byte arrays and strings using scrypt as the
 key derivation function and AES for the encryption. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
KeyCrypter | 
DeterministicKey.getKeyCrypter()
Returns this keys  
KeyCrypter or the keycrypter of its parent key. | 
| Modifier and Type | Method and Description | 
|---|---|
DeterministicKey | 
DeterministicKey.decrypt(KeyCrypter keyCrypter,
       org.spongycastle.crypto.params.KeyParameter aesKey)  | 
DeterministicKey | 
DeterministicKey.encrypt(KeyCrypter keyCrypter,
       org.spongycastle.crypto.params.KeyParameter aesKey)  | 
DeterministicKey | 
DeterministicKey.encrypt(KeyCrypter keyCrypter,
       org.spongycastle.crypto.params.KeyParameter aesKey,
       DeterministicKey newParent)  | 
| Constructor and Description | 
|---|
DeterministicKey(ImmutableList<ChildNumber> childNumberPath,
                byte[] chainCode,
                KeyCrypter crypter,
                LazyECPoint pub,
                EncryptedData priv,
                DeterministicKey parent)
Constructs a key from its components. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
KeyCrypter | 
EncryptableKeyChain.getKeyCrypter()
Returns the key crypter used by this key chain, or null if it's not encrypted. 
 | 
KeyCrypter | 
BasicKeyChain.getKeyCrypter()
Returns the  
KeyCrypter in use or null if the key chain is not encrypted. | 
KeyCrypter | 
KeyChainGroup.getKeyCrypter()
Returns the key crypter or null if the group is not encrypted. 
 | 
KeyCrypter | 
Wallet.getKeyCrypter()
Get the wallet's KeyCrypter, or null if the wallet is not encrypted. 
 | 
KeyCrypter | 
DeterministicKeyChain.getKeyCrypter()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Wallet.changeEncryptionKey(KeyCrypter keyCrypter,
                   org.spongycastle.crypto.params.KeyParameter currentAesKey,
                   org.spongycastle.crypto.params.KeyParameter newAesKey)
Changes wallet AES encryption key, this is atomic operation. 
 | 
DeterministicSeed | 
DeterministicSeed.decrypt(KeyCrypter crypter,
       String passphrase,
       org.spongycastle.crypto.params.KeyParameter aesKey)  | 
DeterministicSeed | 
DeterministicSeed.encrypt(KeyCrypter keyCrypter,
       org.spongycastle.crypto.params.KeyParameter aesKey)  | 
void | 
KeyChainGroup.encrypt(KeyCrypter keyCrypter,
       org.spongycastle.crypto.params.KeyParameter aesKey)
Encrypt the keys in the group using the KeyCrypter and the AES key. 
 | 
void | 
Wallet.encrypt(KeyCrypter keyCrypter,
       org.spongycastle.crypto.params.KeyParameter aesKey)
Encrypt the wallet using the KeyCrypter and the AES key. 
 | 
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. 
 | 
static BasicKeyChain | 
BasicKeyChain.fromProtobufEncrypted(List<Protos.Key> keys,
                     KeyCrypter crypter)
Returns a new BasicKeyChain that contains all basic, ORIGINAL type keys and also any encrypted keys extracted
 from the list. 
 | 
static KeyChainGroup | 
KeyChainGroup.fromProtobufEncrypted(NetworkParameters params,
                     List<Protos.Key> keys,
                     KeyCrypter crypter,
                     KeyChainFactory factory)  | 
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). 
 | 
EncryptableKeyChain | 
EncryptableKeyChain.toEncrypted(KeyCrypter keyCrypter,
           org.spongycastle.crypto.params.KeyParameter aesKey)
Returns a new keychain holding identical/cloned keys to this chain, but encrypted under the given key. 
 | 
BasicKeyChain | 
BasicKeyChain.toEncrypted(KeyCrypter keyCrypter,
           org.spongycastle.crypto.params.KeyParameter aesKey)
Encrypt the wallet using the KeyCrypter and the AES key. 
 | 
DeterministicKeyChain | 
DeterministicKeyChain.toEncrypted(KeyCrypter keyCrypter,
           org.spongycastle.crypto.params.KeyParameter aesKey)  | 
| Constructor and Description | 
|---|
BasicKeyChain(KeyCrypter crypter)  | 
DeterministicKeyChain(DeterministicSeed seed,
                     KeyCrypter crypter)
For use in  
KeyChainFactory during deserialization. | 
DeterministicKeyChain(KeyCrypter crypter,
                     org.spongycastle.crypto.params.KeyParameter aesKey,
                     DeterministicKeyChain chain)
For use in encryption when  
DeterministicKeyChain.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.