public static interface Protos.KeyOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getCreationTimestamp()
optional int64 creation_timestamp = 5; |
Protos.DeterministicKey |
getDeterministicKey()
optional .wallet.DeterministicKey deterministic_key = 7; |
Protos.DeterministicKeyOrBuilder |
getDeterministicKeyOrBuilder()
optional .wallet.DeterministicKey deterministic_key = 7; |
com.google.protobuf.ByteString |
getDeterministicSeed()
optional bytes deterministic_seed = 8; |
Protos.EncryptedData |
getEncryptedData()
optional .wallet.EncryptedData encrypted_data = 6; |
Protos.EncryptedDataOrBuilder |
getEncryptedDataOrBuilder()
optional .wallet.EncryptedData encrypted_data = 6; |
Protos.EncryptedData |
getEncryptedDeterministicSeed()
optional .wallet.EncryptedData encrypted_deterministic_seed = 9; |
Protos.EncryptedDataOrBuilder |
getEncryptedDeterministicSeedOrBuilder()
optional .wallet.EncryptedData encrypted_deterministic_seed = 9; |
String |
getLabel()
optional string label = 4; |
com.google.protobuf.ByteString |
getLabelBytes()
optional string label = 4; |
com.google.protobuf.ByteString |
getPublicKey()
optional bytes public_key = 3; |
com.google.protobuf.ByteString |
getSecretBytes()
optional bytes secret_bytes = 2; |
Protos.Key.Type |
getType()
required .wallet.Key.Type type = 1; |
boolean |
hasCreationTimestamp()
optional int64 creation_timestamp = 5; |
boolean |
hasDeterministicKey()
optional .wallet.DeterministicKey deterministic_key = 7; |
boolean |
hasDeterministicSeed()
optional bytes deterministic_seed = 8; |
boolean |
hasEncryptedData()
optional .wallet.EncryptedData encrypted_data = 6; |
boolean |
hasEncryptedDeterministicSeed()
optional .wallet.EncryptedData encrypted_deterministic_seed = 9; |
boolean |
hasLabel()
optional string label = 4; |
boolean |
hasPublicKey()
optional bytes public_key = 3; |
boolean |
hasSecretBytes()
optional bytes secret_bytes = 2; |
boolean |
hasType()
required .wallet.Key.Type type = 1; |
boolean hasType()
required .wallet.Key.Type type = 1;
Protos.Key.Type getType()
required .wallet.Key.Type type = 1;
boolean hasSecretBytes()
optional bytes secret_bytes = 2;
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed. If the secret is encrypted, or this is a "watching entry" then this is missing.
com.google.protobuf.ByteString getSecretBytes()
optional bytes secret_bytes = 2;
Either the private EC key bytes (without any ASN.1 wrapping), or the deterministic root seed. If the secret is encrypted, or this is a "watching entry" then this is missing.
boolean hasEncryptedData()
optional .wallet.EncryptedData encrypted_data = 6;
If the secret data is encrypted, then secret_bytes is missing and this field is set.
Protos.EncryptedData getEncryptedData()
optional .wallet.EncryptedData encrypted_data = 6;
If the secret data is encrypted, then secret_bytes is missing and this field is set.
Protos.EncryptedDataOrBuilder getEncryptedDataOrBuilder()
optional .wallet.EncryptedData encrypted_data = 6;
If the secret data is encrypted, then secret_bytes is missing and this field is set.
boolean hasPublicKey()
optional bytes public_key = 3;
The public EC key derived from the private key. We allow both to be stored to avoid mobile clients having to do lots of slow EC math on startup. For DETERMINISTIC_MNEMONIC entries this is missing.
com.google.protobuf.ByteString getPublicKey()
optional bytes public_key = 3;
The public EC key derived from the private key. We allow both to be stored to avoid mobile clients having to do lots of slow EC math on startup. For DETERMINISTIC_MNEMONIC entries this is missing.
boolean hasLabel()
optional string label = 4;
User-provided label associated with the key.
String getLabel()
optional string label = 4;
User-provided label associated with the key.
com.google.protobuf.ByteString getLabelBytes()
optional string label = 4;
User-provided label associated with the key.
boolean hasCreationTimestamp()
optional int64 creation_timestamp = 5;
Timestamp stored as millis since epoch. Useful for skipping block bodies before this point. Only reason it's optional is that some very old wallets don't have this data.
long getCreationTimestamp()
optional int64 creation_timestamp = 5;
Timestamp stored as millis since epoch. Useful for skipping block bodies before this point. Only reason it's optional is that some very old wallets don't have this data.
boolean hasDeterministicKey()
optional .wallet.DeterministicKey deterministic_key = 7;
Protos.DeterministicKey getDeterministicKey()
optional .wallet.DeterministicKey deterministic_key = 7;
Protos.DeterministicKeyOrBuilder getDeterministicKeyOrBuilder()
optional .wallet.DeterministicKey deterministic_key = 7;
boolean hasDeterministicSeed()
optional bytes deterministic_seed = 8;
The seed for a deterministic key hierarchy. Derived from the mnemonic, but cached here for quick startup. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
com.google.protobuf.ByteString getDeterministicSeed()
optional bytes deterministic_seed = 8;
The seed for a deterministic key hierarchy. Derived from the mnemonic, but cached here for quick startup. Only applicable to a DETERMINISTIC_MNEMONIC key entry.
boolean hasEncryptedDeterministicSeed()
optional .wallet.EncryptedData encrypted_deterministic_seed = 9;
Encrypted version of the seed
Protos.EncryptedData getEncryptedDeterministicSeed()
optional .wallet.EncryptedData encrypted_deterministic_seed = 9;
Encrypted version of the seed
Protos.EncryptedDataOrBuilder getEncryptedDeterministicSeedOrBuilder()
optional .wallet.EncryptedData encrypted_deterministic_seed = 9;
Encrypted version of the seed
Copyright © 2014. All rights reserved.