public static final class TrezorMessage.CipherKeyValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.CipherKeyValue.Builder> implements TrezorMessage.CipherKeyValueOrBuilder
CipherKeyValue
Request: Ask device to encrypt or decrypt value of given key @next CipheredKeyValue @next Failure
| Modifier and Type | Method and Description |
|---|---|
TrezorMessage.CipherKeyValue.Builder |
addAddressN(int value)
repeated uint32 address_n = 1; |
TrezorMessage.CipherKeyValue.Builder |
addAllAddressN(Iterable<? extends Integer> values)
repeated uint32 address_n = 1; |
TrezorMessage.CipherKeyValue |
build() |
TrezorMessage.CipherKeyValue |
buildPartial() |
TrezorMessage.CipherKeyValue.Builder |
clear() |
TrezorMessage.CipherKeyValue.Builder |
clearAddressN()
repeated uint32 address_n = 1; |
TrezorMessage.CipherKeyValue.Builder |
clearAskOnDecrypt()
optional bool ask_on_decrypt = 6; |
TrezorMessage.CipherKeyValue.Builder |
clearAskOnEncrypt()
optional bool ask_on_encrypt = 5; |
TrezorMessage.CipherKeyValue.Builder |
clearEncrypt()
optional bool encrypt = 4; |
TrezorMessage.CipherKeyValue.Builder |
clearIv()
optional bytes iv = 7; |
TrezorMessage.CipherKeyValue.Builder |
clearKey()
optional string key = 2; |
TrezorMessage.CipherKeyValue.Builder |
clearValue()
optional bytes value = 3; |
TrezorMessage.CipherKeyValue.Builder |
clone() |
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; |
TrezorMessage.CipherKeyValue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.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() |
TrezorMessage.CipherKeyValue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TrezorMessage.CipherKeyValue.Builder |
mergeFrom(com.google.protobuf.Message other) |
TrezorMessage.CipherKeyValue.Builder |
mergeFrom(TrezorMessage.CipherKeyValue other) |
TrezorMessage.CipherKeyValue.Builder |
setAddressN(int index,
int value)
repeated uint32 address_n = 1; |
TrezorMessage.CipherKeyValue.Builder |
setAskOnDecrypt(boolean value)
optional bool ask_on_decrypt = 6; |
TrezorMessage.CipherKeyValue.Builder |
setAskOnEncrypt(boolean value)
optional bool ask_on_encrypt = 5; |
TrezorMessage.CipherKeyValue.Builder |
setEncrypt(boolean value)
optional bool encrypt = 4; |
TrezorMessage.CipherKeyValue.Builder |
setIv(com.google.protobuf.ByteString value)
optional bytes iv = 7; |
TrezorMessage.CipherKeyValue.Builder |
setKey(String value)
optional string key = 2; |
TrezorMessage.CipherKeyValue.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
optional string key = 2; |
TrezorMessage.CipherKeyValue.Builder |
setValue(com.google.protobuf.ByteString value)
optional bytes value = 3; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.CipherKeyValue.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TrezorMessage.CipherKeyValue build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TrezorMessage.CipherKeyValue buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TrezorMessage.CipherKeyValue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue.Builder mergeFrom(TrezorMessage.CipherKeyValue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<TrezorMessage.CipherKeyValue.Builder>public TrezorMessage.CipherKeyValue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TrezorMessage.CipherKeyValue.Builder>IOExceptionpublic List<Integer> getAddressNList()
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressNList in interface TrezorMessage.CipherKeyValueOrBuilderpublic int getAddressNCount()
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressNCount in interface TrezorMessage.CipherKeyValueOrBuilderpublic int getAddressN(int index)
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
getAddressN in interface TrezorMessage.CipherKeyValueOrBuilderpublic TrezorMessage.CipherKeyValue.Builder setAddressN(int index, int value)
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
public TrezorMessage.CipherKeyValue.Builder addAddressN(int value)
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
public TrezorMessage.CipherKeyValue.Builder addAllAddressN(Iterable<? extends Integer> values)
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
public TrezorMessage.CipherKeyValue.Builder clearAddressN()
repeated uint32 address_n = 1;
BIP-32 path to derive the key from master node
public boolean hasKey()
optional string key = 2;
key component of key:value
hasKey in interface TrezorMessage.CipherKeyValueOrBuilderpublic String getKey()
optional string key = 2;
key component of key:value
getKey in interface TrezorMessage.CipherKeyValueOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
optional string key = 2;
key component of key:value
getKeyBytes in interface TrezorMessage.CipherKeyValueOrBuilderpublic TrezorMessage.CipherKeyValue.Builder setKey(String value)
optional string key = 2;
key component of key:value
public TrezorMessage.CipherKeyValue.Builder clearKey()
optional string key = 2;
key component of key:value
public TrezorMessage.CipherKeyValue.Builder setKeyBytes(com.google.protobuf.ByteString value)
optional string key = 2;
key component of key:value
public boolean hasValue()
optional bytes value = 3;
value component of key:value
hasValue in interface TrezorMessage.CipherKeyValueOrBuilderpublic com.google.protobuf.ByteString getValue()
optional bytes value = 3;
value component of key:value
getValue in interface TrezorMessage.CipherKeyValueOrBuilderpublic TrezorMessage.CipherKeyValue.Builder setValue(com.google.protobuf.ByteString value)
optional bytes value = 3;
value component of key:value
public TrezorMessage.CipherKeyValue.Builder clearValue()
optional bytes value = 3;
value component of key:value
public boolean hasEncrypt()
optional bool encrypt = 4;
are we encrypting (True) or decrypting (False)?
hasEncrypt in interface TrezorMessage.CipherKeyValueOrBuilderpublic boolean getEncrypt()
optional bool encrypt = 4;
are we encrypting (True) or decrypting (False)?
getEncrypt in interface TrezorMessage.CipherKeyValueOrBuilderpublic TrezorMessage.CipherKeyValue.Builder setEncrypt(boolean value)
optional bool encrypt = 4;
are we encrypting (True) or decrypting (False)?
public TrezorMessage.CipherKeyValue.Builder clearEncrypt()
optional bool encrypt = 4;
are we encrypting (True) or decrypting (False)?
public boolean hasAskOnEncrypt()
optional bool ask_on_encrypt = 5;
should we ask on encrypt operation?
hasAskOnEncrypt in interface TrezorMessage.CipherKeyValueOrBuilderpublic boolean getAskOnEncrypt()
optional bool ask_on_encrypt = 5;
should we ask on encrypt operation?
getAskOnEncrypt in interface TrezorMessage.CipherKeyValueOrBuilderpublic TrezorMessage.CipherKeyValue.Builder setAskOnEncrypt(boolean value)
optional bool ask_on_encrypt = 5;
should we ask on encrypt operation?
public TrezorMessage.CipherKeyValue.Builder clearAskOnEncrypt()
optional bool ask_on_encrypt = 5;
should we ask on encrypt operation?
public boolean hasAskOnDecrypt()
optional bool ask_on_decrypt = 6;
should we ask on decrypt operation?
hasAskOnDecrypt in interface TrezorMessage.CipherKeyValueOrBuilderpublic boolean getAskOnDecrypt()
optional bool ask_on_decrypt = 6;
should we ask on decrypt operation?
getAskOnDecrypt in interface TrezorMessage.CipherKeyValueOrBuilderpublic TrezorMessage.CipherKeyValue.Builder setAskOnDecrypt(boolean value)
optional bool ask_on_decrypt = 6;
should we ask on decrypt operation?
public TrezorMessage.CipherKeyValue.Builder clearAskOnDecrypt()
optional bool ask_on_decrypt = 6;
should we ask on decrypt operation?
public boolean hasIv()
optional bytes iv = 7;
initialization vector (will be computed if not set)
hasIv in interface TrezorMessage.CipherKeyValueOrBuilderpublic com.google.protobuf.ByteString getIv()
optional bytes iv = 7;
initialization vector (will be computed if not set)
getIv in interface TrezorMessage.CipherKeyValueOrBuilderpublic TrezorMessage.CipherKeyValue.Builder setIv(com.google.protobuf.ByteString value)
optional bytes iv = 7;
initialization vector (will be computed if not set)
public TrezorMessage.CipherKeyValue.Builder clearIv()
optional bytes iv = 7;
initialization vector (will be computed if not set)
Copyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.