public class DumpedPrivateKey extends VersionedChecksummedBytes
bytes, version| Constructor and Description |
|---|
DumpedPrivateKey(NetworkParameters params,
String encoded)
Parses the given private key as created by the "dumpprivkey" Bitcoin C++ RPC.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ECKey |
getKey()
Returns an ECKey created from this encoded private key.
|
int |
hashCode() |
clone, compareTo, getVersion, toStringpublic DumpedPrivateKey(NetworkParameters params, String encoded) throws AddressFormatException
params - The expected network parameters of the key. If you don't care, provide null.encoded - The base58 encoded string.AddressFormatException - If the string is invalid or the header byte doesn't match the network params.public ECKey getKey()
public boolean equals(Object o)
equals in class VersionedChecksummedBytespublic int hashCode()
hashCode in class VersionedChecksummedBytesCopyright © 2015. All rights reserved.