public static interface Encryptionpb.EncryptedContentOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsMetadata(String key)
Metadata of the encrypted content.
|
com.google.protobuf.ByteString |
getCiphertextKey()
Encrypted data key generated by KMS and used to actually encrypt data.
|
com.google.protobuf.ByteString |
getContent()
Encrypted content.
|
com.google.protobuf.ByteString |
getIv()
Initilization vector (IV) used.
|
Encryptionpb.MasterKey |
getMasterKey()
Master key used to encrypt the content.
|
Encryptionpb.MasterKeyOrBuilder |
getMasterKeyOrBuilder()
Master key used to encrypt the content.
|
Map<String,com.google.protobuf.ByteString> |
getMetadata()
Deprecated.
|
int |
getMetadataCount()
Metadata of the encrypted content.
|
Map<String,com.google.protobuf.ByteString> |
getMetadataMap()
Metadata of the encrypted content.
|
com.google.protobuf.ByteString |
getMetadataOrDefault(String key,
com.google.protobuf.ByteString defaultValue)
Metadata of the encrypted content.
|
com.google.protobuf.ByteString |
getMetadataOrThrow(String key)
Metadata of the encrypted content.
|
boolean |
hasMasterKey()
Master key used to encrypt the content.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getMetadataCount()
Metadata of the encrypted content. Eg. IV, method and KMS key ID It is preferred to define new fields for extra metadata than using this metadata map.
map<string, bytes> metadata = 1;
boolean containsMetadata(String key)
Metadata of the encrypted content. Eg. IV, method and KMS key ID It is preferred to define new fields for extra metadata than using this metadata map.
map<string, bytes> metadata = 1;
@Deprecated Map<String,com.google.protobuf.ByteString> getMetadata()
getMetadataMap()
instead.Map<String,com.google.protobuf.ByteString> getMetadataMap()
Metadata of the encrypted content. Eg. IV, method and KMS key ID It is preferred to define new fields for extra metadata than using this metadata map.
map<string, bytes> metadata = 1;
com.google.protobuf.ByteString getMetadataOrDefault(String key, com.google.protobuf.ByteString defaultValue)
Metadata of the encrypted content. Eg. IV, method and KMS key ID It is preferred to define new fields for extra metadata than using this metadata map.
map<string, bytes> metadata = 1;
com.google.protobuf.ByteString getMetadataOrThrow(String key)
Metadata of the encrypted content. Eg. IV, method and KMS key ID It is preferred to define new fields for extra metadata than using this metadata map.
map<string, bytes> metadata = 1;
com.google.protobuf.ByteString getContent()
Encrypted content.
bytes content = 2;
boolean hasMasterKey()
Master key used to encrypt the content.
.encryptionpb.MasterKey master_key = 3;
Encryptionpb.MasterKey getMasterKey()
Master key used to encrypt the content.
.encryptionpb.MasterKey master_key = 3;
Encryptionpb.MasterKeyOrBuilder getMasterKeyOrBuilder()
Master key used to encrypt the content.
.encryptionpb.MasterKey master_key = 3;
com.google.protobuf.ByteString getIv()
Initilization vector (IV) used.
bytes iv = 4;
com.google.protobuf.ByteString getCiphertextKey()
Encrypted data key generated by KMS and used to actually encrypt data. Valid only when KMS is used.
bytes ciphertext_key = 5;
Copyright © 2024 PingCAP. All rights reserved.