v2ray-core/common/protocol/headers.proto

20 lines
362 B
Protocol Buffer
Raw Normal View History

2016-12-07 12:08:15 +00:00
syntax = "proto3";
package v2ray.core.common.protocol;
option go_package = "protocol";
option java_package = "com.v2ray.core.common.protocol";
option java_outer_classname = "HeadersProto";
enum SecurityType {
2016-12-13 09:45:21 +00:00
UNKNOWN = 0;
2016-12-11 13:58:53 +00:00
LEGACY = 1;
AUTO = 2;
AES128_GCM = 3;
CHACHA20_POLY1305 = 4;
2016-12-13 09:45:21 +00:00
NONE = 5;
2016-12-11 13:58:53 +00:00
}
message SecurityConfig {
SecurityType type = 1;
2016-12-07 12:08:15 +00:00
}