ea55ae63e3
* add bucket metainfo rpc * updates per design doc * rm bucketmeta rpc * add changes per comments * update Bucket name since same name already exists * add placeholder methods to fulfill pb.MetainfoServer interface * update proto lock * add bucketListItem message * why failing lint? * add back ciphersuite but with correct types * fix proto errs * update time type * add proto lock * rm unneeded import * update protolock package
24 lines
383 B
Protocol Buffer
24 lines
383 B
Protocol Buffer
// Copyright (C) 2019 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
syntax = "proto3";
|
|
option go_package = "pb";
|
|
|
|
package encryption;
|
|
|
|
message EncryptionParameters {
|
|
CipherSuite cipher_suite = 1;
|
|
int64 block_size = 2;
|
|
}
|
|
|
|
message CipherSuite {
|
|
enum Type {
|
|
ENC_UNSPECIFIED = 0;
|
|
ENC_NULL = 1;
|
|
ENC_AESGCM = 2;
|
|
ENC_SECRETBOX = 3;
|
|
}
|
|
|
|
Type type = 1;
|
|
}
|