public class PublicKey extends Object implements HardwareWalletMessage
Value object to provide the following to downstream API consumers:
This object is typically built from a hardware wallet specific adapter
Constructor and Description |
---|
PublicKey(boolean hasXpub,
String xpub,
byte[] xpubBytes,
boolean hasNode,
HDNodeType hdNodeType) |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<HDNodeType> |
getHdNodeType() |
com.google.common.base.Optional<String> |
getXpub() |
com.google.common.base.Optional<byte[]> |
getXpubBytes() |
public PublicKey(boolean hasXpub, String xpub, byte[] xpubBytes, boolean hasNode, HDNodeType hdNodeType)
public com.google.common.base.Optional<String> getXpub()
public com.google.common.base.Optional<byte[]> getXpubBytes()
public com.google.common.base.Optional<HDNodeType> getHdNodeType()
Copyright © 2013–2019 Bitcoin Solutions Ltd. All rights reserved.