1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00
v2fly/common/protocol/headers.proto

22 lines
457 B
Protocol Buffer
Raw Normal View History

2016-12-07 07:08:15 -05:00
syntax = "proto3";
package v2ray.core.common.protocol;
2016-12-22 18:24:28 -05:00
option csharp_namespace = "V2Ray.Core.Common.Protocol";
2021-02-16 15:31:50 -05:00
option go_package = "github.com/v2fly/v2ray-core/v4/common/protocol";
2016-12-07 07:08:15 -05:00
option java_package = "com.v2ray.core.common.protocol";
2017-02-03 17:15:10 -05:00
option java_multiple_files = true;
2016-12-07 07:08:15 -05:00
enum SecurityType {
2016-12-13 04:45:21 -05:00
UNKNOWN = 0;
2016-12-11 08:58:53 -05:00
LEGACY = 1;
AUTO = 2;
AES128_GCM = 3;
CHACHA20_POLY1305 = 4;
2016-12-13 04:45:21 -05:00
NONE = 5;
2021-03-01 10:30:36 -05:00
ZERO = 6;
2016-12-11 08:58:53 -05:00
}
message SecurityConfig {
SecurityType type = 1;
2016-12-07 07:08:15 -05:00
}