github.com/imannamdari/v2ray-core/v5@v5.0.5/transport/internet/tls/config.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.26.0
     4  // 	protoc        v3.21.4
     5  // source: transport/internet/tls/config.proto
     6  
     7  package tls
     8  
     9  import (
    10  	_ "github.com/imannamdari/v2ray-core/v5/common/protoext"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type Certificate_Usage int32
    25  
    26  const (
    27  	Certificate_ENCIPHERMENT            Certificate_Usage = 0
    28  	Certificate_AUTHORITY_VERIFY        Certificate_Usage = 1
    29  	Certificate_AUTHORITY_ISSUE         Certificate_Usage = 2
    30  	Certificate_AUTHORITY_VERIFY_CLIENT Certificate_Usage = 3
    31  )
    32  
    33  // Enum value maps for Certificate_Usage.
    34  var (
    35  	Certificate_Usage_name = map[int32]string{
    36  		0: "ENCIPHERMENT",
    37  		1: "AUTHORITY_VERIFY",
    38  		2: "AUTHORITY_ISSUE",
    39  		3: "AUTHORITY_VERIFY_CLIENT",
    40  	}
    41  	Certificate_Usage_value = map[string]int32{
    42  		"ENCIPHERMENT":            0,
    43  		"AUTHORITY_VERIFY":        1,
    44  		"AUTHORITY_ISSUE":         2,
    45  		"AUTHORITY_VERIFY_CLIENT": 3,
    46  	}
    47  )
    48  
    49  func (x Certificate_Usage) Enum() *Certificate_Usage {
    50  	p := new(Certificate_Usage)
    51  	*p = x
    52  	return p
    53  }
    54  
    55  func (x Certificate_Usage) String() string {
    56  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    57  }
    58  
    59  func (Certificate_Usage) Descriptor() protoreflect.EnumDescriptor {
    60  	return file_transport_internet_tls_config_proto_enumTypes[0].Descriptor()
    61  }
    62  
    63  func (Certificate_Usage) Type() protoreflect.EnumType {
    64  	return &file_transport_internet_tls_config_proto_enumTypes[0]
    65  }
    66  
    67  func (x Certificate_Usage) Number() protoreflect.EnumNumber {
    68  	return protoreflect.EnumNumber(x)
    69  }
    70  
    71  // Deprecated: Use Certificate_Usage.Descriptor instead.
    72  func (Certificate_Usage) EnumDescriptor() ([]byte, []int) {
    73  	return file_transport_internet_tls_config_proto_rawDescGZIP(), []int{0, 0}
    74  }
    75  
    76  type Certificate struct {
    77  	state         protoimpl.MessageState
    78  	sizeCache     protoimpl.SizeCache
    79  	unknownFields protoimpl.UnknownFields
    80  
    81  	// TLS certificate in x509 format.
    82  	Certificate []byte `protobuf:"bytes,1,opt,name=Certificate,proto3" json:"Certificate,omitempty"`
    83  	// TLS key in x509 format.
    84  	Key             []byte            `protobuf:"bytes,2,opt,name=Key,proto3" json:"Key,omitempty"`
    85  	Usage           Certificate_Usage `protobuf:"varint,3,opt,name=usage,proto3,enum=v2ray.core.transport.internet.tls.Certificate_Usage" json:"usage,omitempty"`
    86  	CertificateFile string            `protobuf:"bytes,96001,opt,name=certificate_file,json=certificateFile,proto3" json:"certificate_file,omitempty"`
    87  	KeyFile         string            `protobuf:"bytes,96002,opt,name=key_file,json=keyFile,proto3" json:"key_file,omitempty"`
    88  }
    89  
    90  func (x *Certificate) Reset() {
    91  	*x = Certificate{}
    92  	if protoimpl.UnsafeEnabled {
    93  		mi := &file_transport_internet_tls_config_proto_msgTypes[0]
    94  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    95  		ms.StoreMessageInfo(mi)
    96  	}
    97  }
    98  
    99  func (x *Certificate) String() string {
   100  	return protoimpl.X.MessageStringOf(x)
   101  }
   102  
   103  func (*Certificate) ProtoMessage() {}
   104  
   105  func (x *Certificate) ProtoReflect() protoreflect.Message {
   106  	mi := &file_transport_internet_tls_config_proto_msgTypes[0]
   107  	if protoimpl.UnsafeEnabled && x != nil {
   108  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   109  		if ms.LoadMessageInfo() == nil {
   110  			ms.StoreMessageInfo(mi)
   111  		}
   112  		return ms
   113  	}
   114  	return mi.MessageOf(x)
   115  }
   116  
   117  // Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
   118  func (*Certificate) Descriptor() ([]byte, []int) {
   119  	return file_transport_internet_tls_config_proto_rawDescGZIP(), []int{0}
   120  }
   121  
   122  func (x *Certificate) GetCertificate() []byte {
   123  	if x != nil {
   124  		return x.Certificate
   125  	}
   126  	return nil
   127  }
   128  
   129  func (x *Certificate) GetKey() []byte {
   130  	if x != nil {
   131  		return x.Key
   132  	}
   133  	return nil
   134  }
   135  
   136  func (x *Certificate) GetUsage() Certificate_Usage {
   137  	if x != nil {
   138  		return x.Usage
   139  	}
   140  	return Certificate_ENCIPHERMENT
   141  }
   142  
   143  func (x *Certificate) GetCertificateFile() string {
   144  	if x != nil {
   145  		return x.CertificateFile
   146  	}
   147  	return ""
   148  }
   149  
   150  func (x *Certificate) GetKeyFile() string {
   151  	if x != nil {
   152  		return x.KeyFile
   153  	}
   154  	return ""
   155  }
   156  
   157  type Config struct {
   158  	state         protoimpl.MessageState
   159  	sizeCache     protoimpl.SizeCache
   160  	unknownFields protoimpl.UnknownFields
   161  
   162  	// Whether or not to allow self-signed certificates.
   163  	AllowInsecure bool `protobuf:"varint,1,opt,name=allow_insecure,json=allowInsecure,proto3" json:"allow_insecure,omitempty"`
   164  	// List of certificates to be served on server.
   165  	Certificate []*Certificate `protobuf:"bytes,2,rep,name=certificate,proto3" json:"certificate,omitempty"`
   166  	// Override server name.
   167  	ServerName string `protobuf:"bytes,3,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
   168  	// Lists of string as ALPN values.
   169  	NextProtocol []string `protobuf:"bytes,4,rep,name=next_protocol,json=nextProtocol,proto3" json:"next_protocol,omitempty"`
   170  	// Whether or not to enable session (ticket) resumption.
   171  	EnableSessionResumption bool `protobuf:"varint,5,opt,name=enable_session_resumption,json=enableSessionResumption,proto3" json:"enable_session_resumption,omitempty"`
   172  	// If true, root certificates on the system will not be loaded for
   173  	// verification.
   174  	DisableSystemRoot bool `protobuf:"varint,6,opt,name=disable_system_root,json=disableSystemRoot,proto3" json:"disable_system_root,omitempty"`
   175  	// @Document A pinned certificate chain sha256 hash.
   176  	// @Document If the server's hash does not match this value, the connection will be aborted.
   177  	// @Document This value replace allow_insecure.
   178  	// @Critical
   179  	PinnedPeerCertificateChainSha256 [][]byte `protobuf:"bytes,7,rep,name=pinned_peer_certificate_chain_sha256,json=pinnedPeerCertificateChainSha256,proto3" json:"pinned_peer_certificate_chain_sha256,omitempty"`
   180  	// If true, the client is required to present a certificate.
   181  	VerifyClientCertificate bool `protobuf:"varint,8,opt,name=verify_client_certificate,json=verifyClientCertificate,proto3" json:"verify_client_certificate,omitempty"`
   182  	// Enable this if you want tls client hello encryption.
   183  	EnableEch  bool        `protobuf:"varint,9,opt,name=enable_ech,json=enableEch,proto3" json:"enable_ech,omitempty"`
   184  	EchSetting *ECHSetting `protobuf:"bytes,10,opt,name=ech_setting,json=echSetting,proto3" json:"ech_setting,omitempty"`
   185  }
   186  
   187  func (x *Config) Reset() {
   188  	*x = Config{}
   189  	if protoimpl.UnsafeEnabled {
   190  		mi := &file_transport_internet_tls_config_proto_msgTypes[1]
   191  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   192  		ms.StoreMessageInfo(mi)
   193  	}
   194  }
   195  
   196  func (x *Config) String() string {
   197  	return protoimpl.X.MessageStringOf(x)
   198  }
   199  
   200  func (*Config) ProtoMessage() {}
   201  
   202  func (x *Config) ProtoReflect() protoreflect.Message {
   203  	mi := &file_transport_internet_tls_config_proto_msgTypes[1]
   204  	if protoimpl.UnsafeEnabled && x != nil {
   205  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   206  		if ms.LoadMessageInfo() == nil {
   207  			ms.StoreMessageInfo(mi)
   208  		}
   209  		return ms
   210  	}
   211  	return mi.MessageOf(x)
   212  }
   213  
   214  // Deprecated: Use Config.ProtoReflect.Descriptor instead.
   215  func (*Config) Descriptor() ([]byte, []int) {
   216  	return file_transport_internet_tls_config_proto_rawDescGZIP(), []int{1}
   217  }
   218  
   219  func (x *Config) GetAllowInsecure() bool {
   220  	if x != nil {
   221  		return x.AllowInsecure
   222  	}
   223  	return false
   224  }
   225  
   226  func (x *Config) GetCertificate() []*Certificate {
   227  	if x != nil {
   228  		return x.Certificate
   229  	}
   230  	return nil
   231  }
   232  
   233  func (x *Config) GetServerName() string {
   234  	if x != nil {
   235  		return x.ServerName
   236  	}
   237  	return ""
   238  }
   239  
   240  func (x *Config) GetNextProtocol() []string {
   241  	if x != nil {
   242  		return x.NextProtocol
   243  	}
   244  	return nil
   245  }
   246  
   247  func (x *Config) GetEnableSessionResumption() bool {
   248  	if x != nil {
   249  		return x.EnableSessionResumption
   250  	}
   251  	return false
   252  }
   253  
   254  func (x *Config) GetDisableSystemRoot() bool {
   255  	if x != nil {
   256  		return x.DisableSystemRoot
   257  	}
   258  	return false
   259  }
   260  
   261  func (x *Config) GetPinnedPeerCertificateChainSha256() [][]byte {
   262  	if x != nil {
   263  		return x.PinnedPeerCertificateChainSha256
   264  	}
   265  	return nil
   266  }
   267  
   268  func (x *Config) GetVerifyClientCertificate() bool {
   269  	if x != nil {
   270  		return x.VerifyClientCertificate
   271  	}
   272  	return false
   273  }
   274  
   275  func (x *Config) GetEnableEch() bool {
   276  	if x != nil {
   277  		return x.EnableEch
   278  	}
   279  	return false
   280  }
   281  
   282  func (x *Config) GetEchSetting() *ECHSetting {
   283  	if x != nil {
   284  		return x.EchSetting
   285  	}
   286  	return nil
   287  }
   288  
   289  type ECHSetting struct {
   290  	state         protoimpl.MessageState
   291  	sizeCache     protoimpl.SizeCache
   292  	unknownFields protoimpl.UnknownFields
   293  
   294  	DnsAddr    string `protobuf:"bytes,1,opt,name=dns_addr,json=dnsAddr,proto3" json:"dns_addr,omitempty"`
   295  	InitEchKey string `protobuf:"bytes,2,opt,name=init_ech_key,json=initEchKey,proto3" json:"init_ech_key,omitempty"`
   296  }
   297  
   298  func (x *ECHSetting) Reset() {
   299  	*x = ECHSetting{}
   300  	if protoimpl.UnsafeEnabled {
   301  		mi := &file_transport_internet_tls_config_proto_msgTypes[2]
   302  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   303  		ms.StoreMessageInfo(mi)
   304  	}
   305  }
   306  
   307  func (x *ECHSetting) String() string {
   308  	return protoimpl.X.MessageStringOf(x)
   309  }
   310  
   311  func (*ECHSetting) ProtoMessage() {}
   312  
   313  func (x *ECHSetting) ProtoReflect() protoreflect.Message {
   314  	mi := &file_transport_internet_tls_config_proto_msgTypes[2]
   315  	if protoimpl.UnsafeEnabled && x != nil {
   316  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   317  		if ms.LoadMessageInfo() == nil {
   318  			ms.StoreMessageInfo(mi)
   319  		}
   320  		return ms
   321  	}
   322  	return mi.MessageOf(x)
   323  }
   324  
   325  // Deprecated: Use ECHSetting.ProtoReflect.Descriptor instead.
   326  func (*ECHSetting) Descriptor() ([]byte, []int) {
   327  	return file_transport_internet_tls_config_proto_rawDescGZIP(), []int{2}
   328  }
   329  
   330  func (x *ECHSetting) GetDnsAddr() string {
   331  	if x != nil {
   332  		return x.DnsAddr
   333  	}
   334  	return ""
   335  }
   336  
   337  func (x *ECHSetting) GetInitEchKey() string {
   338  	if x != nil {
   339  		return x.InitEchKey
   340  	}
   341  	return ""
   342  }
   343  
   344  var File_transport_internet_tls_config_proto protoreflect.FileDescriptor
   345  
   346  var file_transport_internet_tls_config_proto_rawDesc = []byte{
   347  	0x0a, 0x23, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65,
   348  	0x72, 0x6e, 0x65, 0x74, 0x2f, 0x74, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
   349  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
   350  	0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65,
   351  	0x72, 0x6e, 0x65, 0x74, 0x2e, 0x74, 0x6c, 0x73, 0x1a, 0x20, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
   352  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x78, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
   353  	0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8, 0x02, 0x0a, 0x0b, 0x43,
   354  	0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x65,
   355  	0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
   356  	0x0b, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03,
   357  	0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x4a,
   358  	0x0a, 0x05, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e,
   359  	0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
   360  	0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x74, 0x6c,
   361  	0x73, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x2e, 0x55, 0x73,
   362  	0x61, 0x67, 0x65, 0x52, 0x05, 0x75, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3e, 0x0a, 0x10, 0x63, 0x65,
   363  	0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x81,
   364  	0xee, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x11, 0x82, 0xb5, 0x18, 0x0d, 0x22, 0x0b, 0x43, 0x65,
   365  	0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x0f, 0x63, 0x65, 0x72, 0x74, 0x69,
   366  	0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x26, 0x0a, 0x08, 0x6b, 0x65,
   367  	0x79, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x82, 0xee, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x09,
   368  	0x82, 0xb5, 0x18, 0x05, 0x22, 0x03, 0x4b, 0x65, 0x79, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x46, 0x69,
   369  	0x6c, 0x65, 0x22, 0x61, 0x0a, 0x05, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x45,
   370  	0x4e, 0x43, 0x49, 0x50, 0x48, 0x45, 0x52, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x00, 0x12, 0x14, 0x0a,
   371  	0x10, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46,
   372  	0x59, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x49, 0x54, 0x59,
   373  	0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x55, 0x54, 0x48,
   374  	0x4f, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x56, 0x45, 0x52, 0x49, 0x46, 0x59, 0x5f, 0x43, 0x4c, 0x49,
   375  	0x45, 0x4e, 0x54, 0x10, 0x03, 0x22, 0xcf, 0x04, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   376  	0x12, 0x2d, 0x0a, 0x0e, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x6e, 0x73, 0x65, 0x63, 0x75,
   377  	0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x06, 0x82, 0xb5, 0x18, 0x02, 0x28, 0x01,
   378  	0x52, 0x0d, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x12,
   379  	0x50, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x02,
   380  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72,
   381  	0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65,
   382  	0x72, 0x6e, 0x65, 0x74, 0x2e, 0x74, 0x6c, 0x73, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69,
   383  	0x63, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
   384  	0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
   385  	0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61,
   386  	0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   387  	0x63, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x65, 0x78, 0x74, 0x50,
   388  	0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x3a, 0x0a, 0x19, 0x65, 0x6e, 0x61, 0x62, 0x6c,
   389  	0x65, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x70,
   390  	0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x65, 0x6e, 0x61, 0x62,
   391  	0x6c, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x70, 0x74,
   392  	0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73,
   393  	0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
   394  	0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52,
   395  	0x6f, 0x6f, 0x74, 0x12, 0x4e, 0x0a, 0x24, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x70, 0x65,
   396  	0x65, 0x72, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x63,
   397  	0x68, 0x61, 0x69, 0x6e, 0x5f, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x18, 0x07, 0x20, 0x03, 0x28,
   398  	0x0c, 0x52, 0x20, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x50, 0x65, 0x65, 0x72, 0x43, 0x65, 0x72,
   399  	0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x53, 0x68, 0x61,
   400  	0x32, 0x35, 0x36, 0x12, 0x3a, 0x0a, 0x19, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6c,
   401  	0x69, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65,
   402  	0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6c,
   403  	0x69, 0x65, 0x6e, 0x74, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12,
   404  	0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x65, 0x63, 0x68, 0x18, 0x09, 0x20,
   405  	0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x63, 0x68, 0x12, 0x4e,
   406  	0x0a, 0x0b, 0x65, 0x63, 0x68, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x0a, 0x20,
   407  	0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65,
   408  	0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
   409  	0x6e, 0x65, 0x74, 0x2e, 0x74, 0x6c, 0x73, 0x2e, 0x45, 0x43, 0x48, 0x53, 0x65, 0x74, 0x74, 0x69,
   410  	0x6e, 0x67, 0x52, 0x0a, 0x65, 0x63, 0x68, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x3a, 0x17,
   411  	0x82, 0xb5, 0x18, 0x0a, 0x0a, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x82, 0xb5,
   412  	0x18, 0x05, 0x12, 0x03, 0x74, 0x6c, 0x73, 0x22, 0x49, 0x0a, 0x0a, 0x45, 0x43, 0x48, 0x53, 0x65,
   413  	0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x6e, 0x73, 0x5f, 0x61, 0x64, 0x64,
   414  	0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x6e, 0x73, 0x41, 0x64, 0x64, 0x72,
   415  	0x12, 0x20, 0x0a, 0x0c, 0x69, 0x6e, 0x69, 0x74, 0x5f, 0x65, 0x63, 0x68, 0x5f, 0x6b, 0x65, 0x79,
   416  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x69, 0x74, 0x45, 0x63, 0x68, 0x4b,
   417  	0x65, 0x79, 0x42, 0x84, 0x01, 0x0a, 0x25, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79,
   418  	0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e,
   419  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x74, 0x6c, 0x73, 0x50, 0x01, 0x5a, 0x35,
   420  	0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79,
   421  	0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x74,
   422  	0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65,
   423  	0x74, 0x2f, 0x74, 0x6c, 0x73, 0xaa, 0x02, 0x21, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f,
   424  	0x72, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x49, 0x6e, 0x74,
   425  	0x65, 0x72, 0x6e, 0x65, 0x74, 0x2e, 0x54, 0x6c, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   426  	0x33,
   427  }
   428  
   429  var (
   430  	file_transport_internet_tls_config_proto_rawDescOnce sync.Once
   431  	file_transport_internet_tls_config_proto_rawDescData = file_transport_internet_tls_config_proto_rawDesc
   432  )
   433  
   434  func file_transport_internet_tls_config_proto_rawDescGZIP() []byte {
   435  	file_transport_internet_tls_config_proto_rawDescOnce.Do(func() {
   436  		file_transport_internet_tls_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_transport_internet_tls_config_proto_rawDescData)
   437  	})
   438  	return file_transport_internet_tls_config_proto_rawDescData
   439  }
   440  
   441  var file_transport_internet_tls_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   442  var file_transport_internet_tls_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   443  var file_transport_internet_tls_config_proto_goTypes = []interface{}{
   444  	(Certificate_Usage)(0), // 0: v2ray.core.transport.internet.tls.Certificate.Usage
   445  	(*Certificate)(nil),    // 1: v2ray.core.transport.internet.tls.Certificate
   446  	(*Config)(nil),         // 2: v2ray.core.transport.internet.tls.Config
   447  	(*ECHSetting)(nil),     // 3: v2ray.core.transport.internet.tls.ECHSetting
   448  }
   449  var file_transport_internet_tls_config_proto_depIdxs = []int32{
   450  	0, // 0: v2ray.core.transport.internet.tls.Certificate.usage:type_name -> v2ray.core.transport.internet.tls.Certificate.Usage
   451  	1, // 1: v2ray.core.transport.internet.tls.Config.certificate:type_name -> v2ray.core.transport.internet.tls.Certificate
   452  	3, // 2: v2ray.core.transport.internet.tls.Config.ech_setting:type_name -> v2ray.core.transport.internet.tls.ECHSetting
   453  	3, // [3:3] is the sub-list for method output_type
   454  	3, // [3:3] is the sub-list for method input_type
   455  	3, // [3:3] is the sub-list for extension type_name
   456  	3, // [3:3] is the sub-list for extension extendee
   457  	0, // [0:3] is the sub-list for field type_name
   458  }
   459  
   460  func init() { file_transport_internet_tls_config_proto_init() }
   461  func file_transport_internet_tls_config_proto_init() {
   462  	if File_transport_internet_tls_config_proto != nil {
   463  		return
   464  	}
   465  	if !protoimpl.UnsafeEnabled {
   466  		file_transport_internet_tls_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   467  			switch v := v.(*Certificate); i {
   468  			case 0:
   469  				return &v.state
   470  			case 1:
   471  				return &v.sizeCache
   472  			case 2:
   473  				return &v.unknownFields
   474  			default:
   475  				return nil
   476  			}
   477  		}
   478  		file_transport_internet_tls_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   479  			switch v := v.(*Config); i {
   480  			case 0:
   481  				return &v.state
   482  			case 1:
   483  				return &v.sizeCache
   484  			case 2:
   485  				return &v.unknownFields
   486  			default:
   487  				return nil
   488  			}
   489  		}
   490  		file_transport_internet_tls_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   491  			switch v := v.(*ECHSetting); i {
   492  			case 0:
   493  				return &v.state
   494  			case 1:
   495  				return &v.sizeCache
   496  			case 2:
   497  				return &v.unknownFields
   498  			default:
   499  				return nil
   500  			}
   501  		}
   502  	}
   503  	type x struct{}
   504  	out := protoimpl.TypeBuilder{
   505  		File: protoimpl.DescBuilder{
   506  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   507  			RawDescriptor: file_transport_internet_tls_config_proto_rawDesc,
   508  			NumEnums:      1,
   509  			NumMessages:   3,
   510  			NumExtensions: 0,
   511  			NumServices:   0,
   512  		},
   513  		GoTypes:           file_transport_internet_tls_config_proto_goTypes,
   514  		DependencyIndexes: file_transport_internet_tls_config_proto_depIdxs,
   515  		EnumInfos:         file_transport_internet_tls_config_proto_enumTypes,
   516  		MessageInfos:      file_transport_internet_tls_config_proto_msgTypes,
   517  	}.Build()
   518  	File_transport_internet_tls_config_proto = out.File
   519  	file_transport_internet_tls_config_proto_rawDesc = nil
   520  	file_transport_internet_tls_config_proto_goTypes = nil
   521  	file_transport_internet_tls_config_proto_depIdxs = nil
   522  }