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.
|
Modifier and Type | Class and Description |
---|---|
class |
WrongNetworkException
This exception is thrown by the Address class when you try and decode an address with a version code that isn't
used by that network.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
Base58.decode(String input)
Decodes the given base58 string into the original data bytes.
|
static byte[] |
Base58.decodeChecked(String input)
Decodes the given base58 string into the original data bytes, using the checksum in the
last 4 bytes of the decoded data to verify that the rest are correct.
|
static BigInteger |
Base58.decodeToBigInteger(String input) |
static DumpedPrivateKey |
DumpedPrivateKey.fromBase58(NetworkParameters params,
String base58)
Construct a private key from its Base58 representation.
|
static Address |
Address.fromBase58(NetworkParameters params,
String base58)
Construct an address from its Base58 representation.
|
static NetworkParameters |
Address.getParametersFromAddress(String address)
Given an address, examines the version byte and attempts to find a matching NetworkParameters.
|
Constructor and Description |
---|
Address(NetworkParameters params,
String address)
Deprecated.
|
DumpedPrivateKey(NetworkParameters params,
String encoded)
Deprecated.
|
VersionedChecksummedBytes(String encoded) |
Modifier and Type | Method and Description |
---|---|
static BIP38PrivateKey |
BIP38PrivateKey.fromBase58(NetworkParameters params,
String base58)
Construct a password-protected private key from its Base58 representation.
|
Constructor and Description |
---|
BIP38PrivateKey(NetworkParameters params,
String encoded)
Deprecated.
|
Copyright © 2016. All rights reserved.