aboutsummaryrefslogtreecommitdiff
path: root/other/java/client/src/main/proto/filer.proto
diff options
context:
space:
mode:
Diffstat (limited to 'other/java/client/src/main/proto/filer.proto')
-rw-r--r--other/java/client/src/main/proto/filer.proto8
1 files changed, 8 insertions, 0 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index d3490029f..66ba15183 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -142,6 +142,12 @@ message EventNotification {
repeated int32 signatures = 6;
}
+enum SSEType {
+ NONE = 0; // No server-side encryption
+ SSE_C = 1; // Server-Side Encryption with Customer-Provided Keys
+ SSE_KMS = 2; // Server-Side Encryption with KMS-Managed Keys
+}
+
message FileChunk {
string file_id = 1; // to be deprecated
int64 offset = 2;
@@ -154,6 +160,8 @@ message FileChunk {
bytes cipher_key = 9;
bool is_compressed = 10;
bool is_chunk_manifest = 11; // content is a list of FileChunks
+ SSEType sse_type = 12; // Server-side encryption type
+ bytes sse_kms_metadata = 13; // Serialized SSE-KMS metadata for this chunk
}
message FileChunkManifest {