github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/common/protocol/headers.proto (about)

     1  syntax = "proto3";
     2  
     3  package v2ray.core.common.protocol;
     4  option csharp_namespace = "V2Ray.Core.Common.Protocol";
     5  option go_package = "github.com/v2fly/v2ray-core/v5/common/protocol";
     6  option java_package = "com.v2ray.core.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  }