public static final class KeepKeyMessage.CipherKeyValue extends com.google.protobuf.GeneratedMessage implements KeepKeyMessage.CipherKeyValueOrBuilder
CipherKeyValue
Request: Ask device to encrypt or decrypt value of given key @next CipheredKeyValue @next Failure
| Modifier and Type | Class and Description |
|---|---|
static class |
KeepKeyMessage.CipherKeyValue.Builder
Protobuf type
CipherKeyValue |
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 |
ASK_ON_DECRYPT_FIELD_NUMBER |
static int |
ASK_ON_ENCRYPT_FIELD_NUMBER |
static int |
ENCRYPT_FIELD_NUMBER |
static int |
IV_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static com.google.protobuf.Parser<KeepKeyMessage.CipherKeyValue> |
PARSER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
int |
getAddressN(int index)
repeated uint32 address_n = 1; |
int |
getAddressNCount()
repeated uint32 address_n = 1; |
List<Integer> |
getAddressNList()
repeated uint32 address_n = 1; |
boolean |
getAskOnDecrypt()
optional bool ask_on_decrypt = 6; |
boolean |
getAskOnEncrypt()
optional bool ask_on_encrypt = 5; |
static KeepKeyMessage.CipherKeyValue |
getDefaultInstance() |
KeepKeyMessage.CipherKeyValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEncrypt()
optional bool encrypt = 4; |
com.google.protobuf.ByteString |
getIv()
optional bytes iv = 7; |
String |
getKey()
optional string key = 2; |
com.google.protobuf.ByteString |
getKeyBytes()
optional string key = 2; |
com.google.protobuf.Parser<KeepKeyMessage.CipherKeyValue> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.ByteString |
getValue()
optional bytes value = 3; |
boolean |
hasAskOnDecrypt()
optional bool ask_on_decrypt = 6; |
boolean |
hasAskOnEncrypt()
optional bool ask_on_encrypt = 5; |
boolean |
hasEncrypt()
optional bool encrypt = 4; |
boolean |
hasIv()
optional bytes iv = 7; |
boolean |
hasKey()
optional string key = 2; |
boolean |
hasValue()
optional bytes value = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KeepKeyMessage.CipherKeyValue.Builder |
newBuilder() |
static KeepKeyMessage.CipherKeyValue.Builder |
newBuilder(KeepKeyMessage.CipherKeyValue prototype) |
KeepKeyMessage.CipherKeyValue.Builder |
newBuilderForType() |
protected KeepKeyMessage.CipherKeyValue.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static KeepKeyMessage.CipherKeyValue |
parseDelimitedFrom(InputStream input) |
static KeepKeyMessage.CipherKeyValue |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(byte[] data) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(com.google.protobuf.ByteString data) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(com.google.protobuf.CodedInputStream input) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(InputStream input) |
static KeepKeyMessage.CipherKeyValue |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KeepKeyMessage.CipherKeyValue.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.CipherKeyValue> PARSER
public static final int ADDRESS_N_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int ENCRYPT_FIELD_NUMBER
public static final int ASK_ON_ENCRYPT_FIELD_NUMBER
public static final int ASK_ON_DECRYPT_FIELD_NUMBER
public static final int IV_FIELD_NUMBER
public static KeepKeyMessage.CipherKeyValue getDefaultInstance()
public KeepKeyMessage.CipherKeyValue 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.CipherKeyValue> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic List<Integer> getAddressNList()
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressNList in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic int getAddressNCount()
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressNCount in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic int getAddressN(int index)
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressN in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic boolean hasKey()
optional string key = 2;
key component of key:value
hasKey in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic String getKey()
optional string key = 2;
key component of key:value
getKey in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
optional string key = 2;
key component of key:value
getKeyBytes in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic boolean hasValue()
optional bytes value = 3;
value component of key:value
hasValue in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic com.google.protobuf.ByteString getValue()
optional bytes value = 3;
value component of key:value
getValue in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic boolean hasEncrypt()
optional bool encrypt = 4;
are we encrypting (True) or decrypting (False)?
hasEncrypt in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic boolean getEncrypt()
optional bool encrypt = 4;
are we encrypting (True) or decrypting (False)?
getEncrypt in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic boolean hasAskOnEncrypt()
optional bool ask_on_encrypt = 5;
should we ask on encrypt operation?
hasAskOnEncrypt in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic boolean getAskOnEncrypt()
optional bool ask_on_encrypt = 5;
should we ask on encrypt operation?
getAskOnEncrypt in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic boolean hasAskOnDecrypt()
optional bool ask_on_decrypt = 6;
should we ask on decrypt operation?
hasAskOnDecrypt in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic boolean getAskOnDecrypt()
optional bool ask_on_decrypt = 6;
should we ask on decrypt operation?
getAskOnDecrypt in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic boolean hasIv()
optional bytes iv = 7;
initialization vector (will be computed if not set)
hasIv in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic com.google.protobuf.ByteString getIv()
optional bytes iv = 7;
initialization vector (will be computed if not set)
getIv in interface KeepKeyMessage.CipherKeyValueOrBuilderpublic 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.CipherKeyValue parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.CipherKeyValue parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.CipherKeyValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.CipherKeyValue parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static KeepKeyMessage.CipherKeyValue parseFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.CipherKeyValue parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.CipherKeyValue parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.CipherKeyValue parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.CipherKeyValue parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KeepKeyMessage.CipherKeyValue parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KeepKeyMessage.CipherKeyValue.Builder newBuilder()
public KeepKeyMessage.CipherKeyValue.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static KeepKeyMessage.CipherKeyValue.Builder newBuilder(KeepKeyMessage.CipherKeyValue prototype)
public KeepKeyMessage.CipherKeyValue.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected KeepKeyMessage.CipherKeyValue.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.