public class KeepKeyMessageAdapter extends Object
Adapter to provide the following to KeepKey messages:
The Core messages are used in the high level hardware wallet events that are passed to downstream consumer applications and are device agnostic.
Constructor and Description |
---|
KeepKeyMessageAdapter() |
public static Success adaptSuccess(KeepKeyMessage.Success source)
source
- The source messagepublic static Features adaptFeatures(KeepKeyMessage.Features source)
source
- The source messagepublic static Failure adaptFailure(KeepKeyMessage.Failure source)
source
- The source messagepublic static FailureType adaptFailureType(KeepKeyType.FailureType source)
source
- The source messagepublic static ButtonRequest adaptButtonRequest(KeepKeyMessage.ButtonRequest source)
source
- The source messagepublic static ButtonRequestType adaptButtonRequestType(KeepKeyType.ButtonRequestType source)
source
- The source messagepublic static PinMatrixRequest adaptPinMatrixRequest(KeepKeyMessage.PinMatrixRequest source)
source
- The source messagepublic static PinMatrixRequestType adaptPinMatrixRequestType(KeepKeyType.PinMatrixRequestType source)
source
- The source messagepublic static MainNetAddress adaptAddress(KeepKeyMessage.Address source)
source
- The source messagepublic static PublicKey adaptPublicKey(KeepKeyMessage.PublicKey source)
source
- The source messagepublic static HDNodeType adaptHDNodeType(KeepKeyType.HDNodeType source)
source
- The source messagepublic static TxRequest adaptTxRequest(KeepKeyMessage.TxRequest source)
source
- The source messagepublic static MessageSignature adaptMessageSignature(KeepKeyMessage.MessageSignature source)
source
- The source messagepublic static CipheredKeyValue adaptCipheredKeyValue(KeepKeyMessage.CipheredKeyValue source)
source
- The source messageCopyright © 2013–2019 Bitcoin Solutions Ltd. All rights reserved.