github.com/eagleql/xray-core@v1.4.4/common/protocol/headers.proto (about) 1 syntax = "proto3"; 2 3 package xray.common.protocol; 4 option csharp_namespace = "Xray.Common.Protocol"; 5 option go_package = "github.com/eagleql/xray-core/common/protocol"; 6 option java_package = "com.xray.common.protocol"; 7 option java_multiple_files = true; 8 9 enum SecurityType { 10 UNKNOWN = 0; 11 LEGACY = 1; 12 AUTO = 2; 13 AES128_GCM = 3; 14 CHACHA20_POLY1305 = 4; 15 NONE = 5; 16 ZERO = 6; 17 } 18 19 message SecurityConfig { 20 SecurityType type = 1; 21 }