23 lines
421 B
Protocol Buffer
23 lines
421 B
Protocol Buffer
|
// Copyright (C) 2019 Storj Labs, Inc.
|
||
|
// See LICENSE for copying information.
|
||
|
|
||
|
syntax = "proto3";
|
||
|
|
||
|
option go_package = "pb";
|
||
|
|
||
|
package encryption_ctx;
|
||
|
|
||
|
import "gogo.proto";
|
||
|
|
||
|
message EncryptionCtx {
|
||
|
message StoreEntry {
|
||
|
bytes bucket = 1;
|
||
|
bytes unencrypted_path = 2;
|
||
|
bytes encrypted_path = 3;
|
||
|
bytes key = 4;
|
||
|
}
|
||
|
|
||
|
bytes default_key = 1;
|
||
|
repeated StoreEntry store_entries = 2;
|
||
|
}
|