storj/pkg/pb/encryption.proto
Jess G f9696d6c5e
satellite/metainfo: add buckets RPC and database (#2460)
* add db interface and methods, add sa metainfo endpoints and svc

* add bucket metainfo svc funcs

* add sadb bucekts

* bucket list gets all buckets

* filter buckets list on macaroon restrictions

* update pb cipher suite to be enum

* add conversion funcs

* updates per comments

* bucket settings should say default

* add direction to list buckets, add tests

* fix test bucket names

* lint err

* only support forward direction

* add comments

* minor refactoring

* make sure list up to limit

* update test

* update protolock file

* fix lint

* change per PR
2019-07-08 15:32:18 -07:00

20 lines
336 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;
}
enum CipherSuite {
ENC_UNSPECIFIED = 0;
ENC_NULL = 1;
ENC_AESGCM = 2;
ENC_SECRETBOX = 3;
}