public static final class KeepKeyMessage.EncryptMessage extends com.google.protobuf.GeneratedMessage implements KeepKeyMessage.EncryptMessageOrBuilder
EncryptMessage
Request: Ask device to encrypt message @next EncryptedMessage @next Failure
| Modifier and Type | Class and Description |
|---|---|
static class |
KeepKeyMessage.EncryptMessage.Builder
Protobuf type
EncryptMessage |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
ADDRESS_N_FIELD_NUMBER |
static int |
COIN_NAME_FIELD_NUMBER |
static int |
DISPLAY_ONLY_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyMessage.EncryptMessage> |
PARSER |
static int |
PUBKEY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
int |
getAddressN(int index)
repeated uint32 address_n = 4; |
int |
getAddressNCount()
repeated uint32 address_n = 4; |
List<Integer> |
getAddressNList()
repeated uint32 address_n = 4; |
String |
getCoinName()
optional string coin_name = 5 [default = "Bitcoin"]; |
com.google.protobuf.ByteString |
getCoinNameBytes()
optional string coin_name = 5 [default = "Bitcoin"]; |
static KeepKeyMessage.EncryptMessage |
getDefaultInstance() |
KeepKeyMessage.EncryptMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getDisplayOnly()
optional bool display_only = 3; |
com.google.protobuf.ByteString |
getMessage()
optional bytes message = 2; |
com.google.protobuf.Parser<KeepKeyMessage.EncryptMessage> |
getParserForType() |
com.google.protobuf.ByteString |
getPubkey()
optional bytes pubkey = 1; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCoinName()
optional string coin_name = 5 [default = "Bitcoin"]; |
boolean |
hasDisplayOnly()
optional bool display_only = 3; |
boolean |
hasMessage()
optional bytes message = 2; |
boolean |
hasPubkey()
optional bytes pubkey = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KeepKeyMessage.EncryptMessage.Builder |
newBuilder() |
static KeepKeyMessage.EncryptMessage.Builder |
newBuilder(KeepKeyMessage.EncryptMessage prototype) |
KeepKeyMessage.EncryptMessage.Builder |
newBuilderForType() |
protected KeepKeyMessage.EncryptMessage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static KeepKeyMessage.EncryptMessage |
parseDelimitedFrom(InputStream input) |
static KeepKeyMessage.EncryptMessage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.EncryptMessage |
parseFrom(byte[] data) |
static KeepKeyMessage.EncryptMessage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.EncryptMessage |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyMessage.EncryptMessage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.EncryptMessage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyMessage.EncryptMessage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.EncryptMessage |
parseFrom(InputStream input) |
static KeepKeyMessage.EncryptMessage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyMessage.EncryptMessage.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<KeepKeyMessage.EncryptMessage> PARSER
public static final int PUBKEY_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static final int DISPLAY_ONLY_FIELD_NUMBER
public static final int ADDRESS_N_FIELD_NUMBER
public static final int COIN_NAME_FIELD_NUMBER
public static KeepKeyMessage.EncryptMessage getDefaultInstance()
public KeepKeyMessage.EncryptMessage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<KeepKeyMessage.EncryptMessage> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasPubkey()
optional bytes pubkey = 1;
public key
hasPubkey in interface KeepKeyMessage.EncryptMessageOrBuilderpublic com.google.protobuf.ByteString getPubkey()
optional bytes pubkey = 1;
public key
getPubkey in interface KeepKeyMessage.EncryptMessageOrBuilderpublic boolean hasMessage()
optional bytes message = 2;
message to encrypt
hasMessage in interface KeepKeyMessage.EncryptMessageOrBuilderpublic com.google.protobuf.ByteString getMessage()
optional bytes message = 2;
message to encrypt
getMessage in interface KeepKeyMessage.EncryptMessageOrBuilderpublic boolean hasDisplayOnly()
optional bool display_only = 3;
show just on display? (don't send back via wire)
hasDisplayOnly in interface KeepKeyMessage.EncryptMessageOrBuilderpublic boolean getDisplayOnly()
optional bool display_only = 3;
show just on display? (don't send back via wire)
getDisplayOnly in interface KeepKeyMessage.EncryptMessageOrBuilderpublic List<Integer> getAddressNList()
repeated uint32 address_n = 4;
BIP-32 path to derive the signing key from master node
getAddressNList in interface KeepKeyMessage.EncryptMessageOrBuilderpublic int getAddressNCount()
repeated uint32 address_n = 4;
BIP-32 path to derive the signing key from master node
getAddressNCount in interface KeepKeyMessage.EncryptMessageOrBuilderpublic int getAddressN(int index)
repeated uint32 address_n = 4;
BIP-32 path to derive the signing key from master node
getAddressN in interface KeepKeyMessage.EncryptMessageOrBuilderpublic boolean hasCoinName()
optional string coin_name = 5 [default = "Bitcoin"];
coin to use for signing
hasCoinName in interface KeepKeyMessage.EncryptMessageOrBuilderpublic String getCoinName()
optional string coin_name = 5 [default = "Bitcoin"];
coin to use for signing
getCoinName in interface KeepKeyMessage.EncryptMessageOrBuilderpublic com.google.protobuf.ByteString getCoinNameBytes()
optional string coin_name = 5 [default = "Bitcoin"];
coin to use for signing
getCoinNameBytes in interface KeepKeyMessage.EncryptMessageOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static KeepKeyMessage.EncryptMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.EncryptMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.EncryptMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.EncryptMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.EncryptMessage parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.EncryptMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.EncryptMessage parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.EncryptMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.EncryptMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.EncryptMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.EncryptMessage.Builder newBuilder()
public KeepKeyMessage.EncryptMessage.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KeepKeyMessage.EncryptMessage.Builder newBuilder(KeepKeyMessage.EncryptMessage prototype)
public KeepKeyMessage.EncryptMessage.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KeepKeyMessage.EncryptMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.