public class TrezorMessageAdapter extends Object
Adapter to provide the following to Trezor 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 |
---|
TrezorMessageAdapter() |
public static Success adaptSuccess(TrezorMessage.Success source)
source
- The source messagepublic static Features adaptFeatures(TrezorMessage.Features source)
source
- The source messagepublic static Failure adaptFailure(TrezorMessage.Failure source)
source
- The source messagepublic static FailureType adaptFailureType(TrezorType.FailureType source)
source
- The source messagepublic static ButtonRequest adaptButtonRequest(TrezorMessage.ButtonRequest source)
source
- The source messagepublic static ButtonRequestType adaptButtonRequestType(TrezorType.ButtonRequestType source)
source
- The source messagepublic static PinMatrixRequest adaptPinMatrixRequest(TrezorMessage.PinMatrixRequest source)
source
- The source messagepublic static PinMatrixRequestType adaptPinMatrixRequestType(TrezorType.PinMatrixRequestType source)
source
- The source messagepublic static MainNetAddress adaptAddress(TrezorMessage.Address source)
source
- The source messagepublic static PublicKey adaptPublicKey(TrezorMessage.PublicKey source)
source
- The source messagepublic static HDNodeType adaptHDNodeType(TrezorType.HDNodeType source)
source
- The source messagepublic static TxRequest adaptTxRequest(TrezorMessage.TxRequest source)
source
- The source messagepublic static MessageSignature adaptMessageSignature(TrezorMessage.MessageSignature source)
source
- The source messagepublic static CipheredKeyValue adaptCipheredKeyValue(TrezorMessage.CipheredKeyValue source)
source
- The source messageCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.