github.com/moqsien/xraycore@v1.8.5/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/xtls/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    AUTO = 2;
    12    AES128_GCM = 3;
    13    CHACHA20_POLY1305 = 4;
    14    NONE = 5; // [DEPRECATED 2023-06] 
    15    ZERO = 6;
    16  }
    17  
    18  message SecurityConfig {
    19    SecurityType type = 1;
    20  }