public static interface Protos.KeyOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getCreationTimestamp()
optional int64 creation_timestamp = 5; |
Protos.EncryptedPrivateKey |
getEncryptedPrivateKey()
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6; |
Protos.EncryptedPrivateKeyOrBuilder |
getEncryptedPrivateKeyOrBuilder()
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6; |
String |
getLabel()
optional string label = 4; |
com.google.protobuf.ByteString |
getLabelBytes()
optional string label = 4; |
com.google.protobuf.ByteString |
getPrivateKey()
optional bytes private_key = 2; |
com.google.protobuf.ByteString |
getPublicKey()
optional bytes public_key = 3; |
Protos.Key.Type |
getType()
required .wallet.Key.Type type = 1; |
boolean |
hasCreationTimestamp()
optional int64 creation_timestamp = 5; |
boolean |
hasEncryptedPrivateKey()
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6; |
boolean |
hasLabel()
optional string label = 4; |
boolean |
hasPrivateKey()
optional bytes private_key = 2; |
boolean |
hasPublicKey()
optional bytes public_key = 3; |
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 hasPrivateKey()
optional bytes private_key = 2;
The private EC key bytes without any ASN.1 wrapping.
com.google.protobuf.ByteString getPrivateKey()
optional bytes private_key = 2;
The private EC key bytes without any ASN.1 wrapping.
boolean hasEncryptedPrivateKey()
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
The message containing the encrypted private EC key information. When an EncryptedPrivateKey is present then the (unencrypted) private_key will be a zero length byte array or contain all zeroes. This is for security of the private key information.
Protos.EncryptedPrivateKey getEncryptedPrivateKey()
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
The message containing the encrypted private EC key information. When an EncryptedPrivateKey is present then the (unencrypted) private_key will be a zero length byte array or contain all zeroes. This is for security of the private key information.
Protos.EncryptedPrivateKeyOrBuilder getEncryptedPrivateKeyOrBuilder()
optional .wallet.EncryptedPrivateKey encrypted_private_key = 6;
The message containing the encrypted private EC key information. When an EncryptedPrivateKey is present then the (unencrypted) private_key will be a zero length byte array or contain all zeroes. This is for security of the private key information.
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.
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.
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.
long getCreationTimestamp()
optional int64 creation_timestamp = 5;
Timestamp stored as millis since epoch. Useful for skipping block bodies before this point.
Copyright © 2014. All rights reserved.