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 EncryptedData |
ECKey.encryptedPrivateKey |
Modifier and Type | Method and Description |
---|---|
EncryptedData |
ECKey.getEncryptedData()
An alias for
ECKey.getEncryptedPrivateKey() |
EncryptedData |
ECKey.getEncryptedPrivateKey()
Returns the the encrypted private key bytes and initialisation vector for this ECKey, or null if the ECKey
is not encrypted.
|
Modifier and Type | Method and Description |
---|---|
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 | Method and Description |
---|---|
EncryptedData |
KeyCrypter.encrypt(byte[] plainBytes,
org.spongycastle.crypto.params.KeyParameter aesKey)
Encrypt the supplied bytes, converting them into ciphertext.
|
EncryptedData |
KeyCrypterScrypt.encrypt(byte[] plainBytes,
org.spongycastle.crypto.params.KeyParameter aesKey)
Password based encryption using AES - CBC 256 bits.
|
EncryptedData |
EncryptableItem.getEncryptedData()
Returns the initialization vector and encrypted secret bytes, or null if not encrypted.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
KeyCrypter.decrypt(EncryptedData encryptedBytesToDecode,
org.spongycastle.crypto.params.KeyParameter aesKey)
Decrypt the provided encrypted bytes, converting them into unencrypted bytes.
|
byte[] |
KeyCrypterScrypt.decrypt(EncryptedData dataToDecrypt,
org.spongycastle.crypto.params.KeyParameter aesKey)
Decrypt bytes previously encrypted with this class.
|
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 |
---|---|
EncryptedData |
DeterministicSeed.getEncryptedData() |
EncryptedData |
DeterministicSeed.getEncryptedSeedData() |
Constructor and Description |
---|
DeterministicSeed(EncryptedData encryptedMnemonic,
EncryptedData encryptedSeed,
long creationTimeSeconds) |
Copyright © 2016. All rights reserved.