public class VersionedChecksummedBytes extends Object
In Bitcoin the following format is often used to represent some type of key:
[one version byte] [data bytes] [4 checksum bytes]
and the result is then Base58 encoded. This format is used for addresses, and private keys exported using the dumpprivkey command.
| Modifier and Type | Field and Description | 
|---|---|
| protected byte[] | bytes | 
| protected int | version | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | VersionedChecksummedBytes(int version,
                         byte[] bytes) | 
| protected  | VersionedChecksummedBytes(String encoded) | 
protected VersionedChecksummedBytes(String encoded) throws AddressFormatException
AddressFormatExceptionprotected VersionedChecksummedBytes(int version,
                         byte[] bytes)
Copyright © 2014. All rights reserved.