Package org.bitcoinj.crypto
Class EncodedPrivateKey
java.lang.Object
org.bitcoinj.crypto.EncodedPrivateKey
- Direct Known Subclasses:
BIP38PrivateKey
,DumpedPrivateKey
Some form of string-encoded private key. This form is useful for noting them down, e.g. on paper wallets.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
EncodedPrivateKey
(Network network, byte[] bytes) protected
EncodedPrivateKey
(NetworkParameters params, byte[] bytes) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
final NetworkParameters
Deprecated.int
hashCode()
network()
Get the network this data is prefixed with.
-
Field Details
-
network
-
bytes
protected final byte[] bytes
-
-
Constructor Details
-
EncodedPrivateKey
-
EncodedPrivateKey
Deprecated.
-
-
Method Details
network()