rclone/vendor/storj.io/common/pb/encryption_access.proto

28 lines
688 B
Protocol Buffer
Raw Normal View History

2020-05-11 20:57:46 +02:00
// Copyright (C) 2019 Storj Labs, Inc.
// See LICENSE for copying information.
syntax = "proto3";
option go_package = "storj.io/common/pb";
package encryption_access;
import "encryption.proto";
message EncryptionAccess {
message StoreEntry {
bytes bucket = 1;
bytes unencrypted_path = 2;
bytes encrypted_path = 3;
bytes key = 4;
encryption.CipherSuite path_cipher = 5;
encryption.EncryptionParameters encryption_parameters = 6;
}
bytes default_key = 1;
repeated StoreEntry store_entries = 2;
encryption.CipherSuite default_path_cipher = 3;
encryption.EncryptionParameters default_encryption_parameters = 4;
}