public final class HdPublicKey extends Object implements Derive<HdPublicKey>, CKDpub
| Modifier and Type | Method and Description |
|---|---|
static HdPublicKey |
base58Decode(String key) |
String |
base58Encode() |
int |
childNumber() |
HdPublicKey |
cKDpub(int index) |
int |
depth() |
static Deserializer<HdPublicKey> |
deserializer(Network network) |
HdPublicKey |
fromPath(CharSequence derivationPath)
Derive from a string path such as m/44'/0'/0'/0/1
|
<Path> HdPublicKey |
fromPath(Path derivationPath,
Derivation<Path> derivation)
Derive from a generic path using the
Derivation supplied to extract the child indexes |
Address |
getAddress() |
Network |
network() |
byte[] |
toByteArray() |
String |
toHexString() |
public static Deserializer<HdPublicKey> deserializer(Network network)
public HdPublicKey cKDpub(int index)
public static HdPublicKey base58Decode(String key) throws SDKException
SDKExceptionpublic Address getAddress()
public HdPublicKey fromPath(CharSequence derivationPath)
DerivefromPath in interface Derive<HdPublicKey>derivationPath - Pathpublic <Path> HdPublicKey fromPath(Path derivationPath, Derivation<Path> derivation)
DeriveDerivation supplied to extract the child indexesfromPath in interface Derive<HdPublicKey>Path - The generic type of the pathderivationPath - Pathderivation - The class that extracts the path elementspublic byte[] toByteArray()
public Network network()
public int depth()
public int childNumber()
public String toHexString()
public String base58Encode()
Copyright © 2020. All rights reserved.