2020-11-25 11:01:53 +00:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
2024-10-16 04:01:04 +00:00
// protoc-gen-go v1.35.1
// protoc v5.28.2
2020-11-25 11:01:53 +00:00
// source: transport/internet/tls/config.proto
package tls
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl . EnforceVersion ( 20 - protoimpl . MinVersion )
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl . EnforceVersion ( protoimpl . MaxVersion - 20 )
)
type Certificate_Usage int32
const (
Certificate_ENCIPHERMENT Certificate_Usage = 0
Certificate_AUTHORITY_VERIFY Certificate_Usage = 1
Certificate_AUTHORITY_ISSUE Certificate_Usage = 2
)
// Enum value maps for Certificate_Usage.
var (
Certificate_Usage_name = map [ int32 ] string {
0 : "ENCIPHERMENT" ,
1 : "AUTHORITY_VERIFY" ,
2 : "AUTHORITY_ISSUE" ,
}
Certificate_Usage_value = map [ string ] int32 {
"ENCIPHERMENT" : 0 ,
"AUTHORITY_VERIFY" : 1 ,
"AUTHORITY_ISSUE" : 2 ,
}
)
func ( x Certificate_Usage ) Enum ( ) * Certificate_Usage {
p := new ( Certificate_Usage )
* p = x
return p
}
func ( x Certificate_Usage ) String ( ) string {
return protoimpl . X . EnumStringOf ( x . Descriptor ( ) , protoreflect . EnumNumber ( x ) )
}
func ( Certificate_Usage ) Descriptor ( ) protoreflect . EnumDescriptor {
return file_transport_internet_tls_config_proto_enumTypes [ 0 ] . Descriptor ( )
}
func ( Certificate_Usage ) Type ( ) protoreflect . EnumType {
return & file_transport_internet_tls_config_proto_enumTypes [ 0 ]
}
func ( x Certificate_Usage ) Number ( ) protoreflect . EnumNumber {
return protoreflect . EnumNumber ( x )
}
// Deprecated: Use Certificate_Usage.Descriptor instead.
func ( Certificate_Usage ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
return file_transport_internet_tls_config_proto_rawDescGZIP ( ) , [ ] int { 0 , 0 }
}
type Certificate struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
// TLS certificate in x509 format.
2020-12-25 15:10:12 +00:00
Certificate [ ] byte ` protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty" `
2020-11-25 11:01:53 +00:00
// TLS key in x509 format.
2020-12-25 15:10:12 +00:00
Key [ ] byte ` protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty" `
2020-12-25 08:01:20 +00:00
Usage Certificate_Usage ` protobuf:"varint,3,opt,name=usage,proto3,enum=xray.transport.internet.tls.Certificate_Usage" json:"usage,omitempty" `
2021-02-20 02:15:57 +00:00
OcspStapling uint64 ` protobuf:"varint,4,opt,name=ocsp_stapling,json=ocspStapling,proto3" json:"ocsp_stapling,omitempty" `
2021-02-12 15:33:19 +00:00
// TLS certificate path
CertificatePath string ` protobuf:"bytes,5,opt,name=certificate_path,json=certificatePath,proto3" json:"certificate_path,omitempty" `
// TLS Key path
KeyPath string ` protobuf:"bytes,6,opt,name=key_path,json=keyPath,proto3" json:"key_path,omitempty" `
2021-02-20 02:15:57 +00:00
// If true, one-Time Loading
OneTimeLoading bool ` protobuf:"varint,7,opt,name=One_time_loading,json=OneTimeLoading,proto3" json:"One_time_loading,omitempty" `
2024-07-29 06:58:58 +00:00
BuildChain bool ` protobuf:"varint,8,opt,name=build_chain,json=buildChain,proto3" json:"build_chain,omitempty" `
2020-11-25 11:01:53 +00:00
}
func ( x * Certificate ) Reset ( ) {
* x = Certificate { }
2024-10-16 04:01:04 +00:00
mi := & file_transport_internet_tls_config_proto_msgTypes [ 0 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
2020-11-25 11:01:53 +00:00
}
func ( x * Certificate ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * Certificate ) ProtoMessage ( ) { }
func ( x * Certificate ) ProtoReflect ( ) protoreflect . Message {
mi := & file_transport_internet_tls_config_proto_msgTypes [ 0 ]
2024-10-16 04:01:04 +00:00
if x != nil {
2020-11-25 11:01:53 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func ( * Certificate ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_transport_internet_tls_config_proto_rawDescGZIP ( ) , [ ] int { 0 }
}
func ( x * Certificate ) GetCertificate ( ) [ ] byte {
if x != nil {
return x . Certificate
}
return nil
}
func ( x * Certificate ) GetKey ( ) [ ] byte {
if x != nil {
return x . Key
}
return nil
}
func ( x * Certificate ) GetUsage ( ) Certificate_Usage {
if x != nil {
return x . Usage
}
return Certificate_ENCIPHERMENT
}
2021-02-20 02:15:57 +00:00
func ( x * Certificate ) GetOcspStapling ( ) uint64 {
2020-12-25 08:01:20 +00:00
if x != nil {
return x . OcspStapling
}
return 0
}
2021-02-12 15:33:19 +00:00
func ( x * Certificate ) GetCertificatePath ( ) string {
if x != nil {
return x . CertificatePath
}
return ""
}
func ( x * Certificate ) GetKeyPath ( ) string {
if x != nil {
return x . KeyPath
}
return ""
}
2021-02-20 02:15:57 +00:00
func ( x * Certificate ) GetOneTimeLoading ( ) bool {
if x != nil {
return x . OneTimeLoading
}
return false
}
2024-07-29 06:58:58 +00:00
func ( x * Certificate ) GetBuildChain ( ) bool {
if x != nil {
return x . BuildChain
}
return false
}
2020-11-25 11:01:53 +00:00
type Config struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
// Whether or not to allow self-signed certificates.
AllowInsecure bool ` protobuf:"varint,1,opt,name=allow_insecure,json=allowInsecure,proto3" json:"allow_insecure,omitempty" `
// List of certificates to be served on server.
Certificate [ ] * Certificate ` protobuf:"bytes,2,rep,name=certificate,proto3" json:"certificate,omitempty" `
// Override server name.
ServerName string ` protobuf:"bytes,3,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty" `
// Lists of string as ALPN values.
NextProtocol [ ] string ` protobuf:"bytes,4,rep,name=next_protocol,json=nextProtocol,proto3" json:"next_protocol,omitempty" `
2021-01-01 11:33:09 +00:00
// Whether or not to enable session (ticket) resumption.
EnableSessionResumption bool ` protobuf:"varint,5,opt,name=enable_session_resumption,json=enableSessionResumption,proto3" json:"enable_session_resumption,omitempty" `
2020-11-25 11:01:53 +00:00
// If true, root certificates on the system will not be loaded for
// verification.
2020-12-16 15:59:04 +00:00
DisableSystemRoot bool ` protobuf:"varint,6,opt,name=disable_system_root,json=disableSystemRoot,proto3" json:"disable_system_root,omitempty" `
2020-12-16 08:50:18 +00:00
// The minimum TLS version.
2020-12-16 15:59:04 +00:00
MinVersion string ` protobuf:"bytes,7,opt,name=min_version,json=minVersion,proto3" json:"min_version,omitempty" `
// The maximum TLS version.
MaxVersion string ` protobuf:"bytes,8,opt,name=max_version,json=maxVersion,proto3" json:"max_version,omitempty" `
// Specify cipher suites, except for TLS 1.3.
2020-12-16 12:53:55 +00:00
CipherSuites string ` protobuf:"bytes,9,opt,name=cipher_suites,json=cipherSuites,proto3" json:"cipher_suites,omitempty" `
2021-03-29 10:08:29 +00:00
// TLS Client Hello fingerprint (uTLS).
2021-05-09 15:47:21 +00:00
Fingerprint string ` protobuf:"bytes,11,opt,name=fingerprint,proto3" json:"fingerprint,omitempty" `
RejectUnknownSni bool ` protobuf:"varint,12,opt,name=reject_unknown_sni,json=rejectUnknownSni,proto3" json:"reject_unknown_sni,omitempty" `
2025-02-06 07:37:30 +00:00
// @Document Some certificate chain sha256 hashes.
// @Document After normal validation or allow_insecure, if the server's cert chain hash does not match any of these values, the connection will be aborted.
2022-10-10 17:14:57 +00:00
// @Critical
2021-10-22 04:04:06 +00:00
PinnedPeerCertificateChainSha256 [ ] [ ] byte ` protobuf:"bytes,13,rep,name=pinned_peer_certificate_chain_sha256,json=pinnedPeerCertificateChainSha256,proto3" json:"pinned_peer_certificate_chain_sha256,omitempty" `
2025-02-06 07:37:30 +00:00
// @Document Some certificate public key sha256 hashes.
// @Document After normal validation (required), if the verified cert's public key hash does not match any of these values, the connection will be aborted.
2023-02-17 08:01:24 +00:00
// @Critical
PinnedPeerCertificatePublicKeySha256 [ ] [ ] byte ` protobuf:"bytes,14,rep,name=pinned_peer_certificate_public_key_sha256,json=pinnedPeerCertificatePublicKeySha256,proto3" json:"pinned_peer_certificate_public_key_sha256,omitempty" `
2023-11-27 15:08:34 +00:00
MasterKeyLog string ` protobuf:"bytes,15,opt,name=master_key_log,json=masterKeyLog,proto3" json:"master_key_log,omitempty" `
2024-11-11 04:21:28 +00:00
// Lists of string as CurvePreferences values.
2025-02-06 07:37:30 +00:00
CurvePreferences [ ] string ` protobuf:"bytes,16,rep,name=curve_preferences,json=curvePreferences,proto3" json:"curve_preferences,omitempty" `
// @Document Replaces server_name to verify the peer cert.
// @Document After allow_insecure (automatically), if the server's cert can't be verified by any of these names, pinned_peer_certificate_chain_sha256 will be tried.
// @Critical
VerifyPeerCertInNames [ ] string ` protobuf:"bytes,17,rep,name=verify_peer_cert_in_names,json=verifyPeerCertInNames,proto3" json:"verify_peer_cert_in_names,omitempty" `
2020-11-25 11:01:53 +00:00
}
func ( x * Config ) Reset ( ) {
* x = Config { }
2024-10-16 04:01:04 +00:00
mi := & file_transport_internet_tls_config_proto_msgTypes [ 1 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
2020-11-25 11:01:53 +00:00
}
func ( x * Config ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * Config ) ProtoMessage ( ) { }
func ( x * Config ) ProtoReflect ( ) protoreflect . Message {
mi := & file_transport_internet_tls_config_proto_msgTypes [ 1 ]
2024-10-16 04:01:04 +00:00
if x != nil {
2020-11-25 11:01:53 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use Config.ProtoReflect.Descriptor instead.
func ( * Config ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_transport_internet_tls_config_proto_rawDescGZIP ( ) , [ ] int { 1 }
}
func ( x * Config ) GetAllowInsecure ( ) bool {
if x != nil {
return x . AllowInsecure
}
return false
}
func ( x * Config ) GetCertificate ( ) [ ] * Certificate {
if x != nil {
return x . Certificate
}
return nil
}
func ( x * Config ) GetServerName ( ) string {
if x != nil {
return x . ServerName
}
return ""
}
func ( x * Config ) GetNextProtocol ( ) [ ] string {
if x != nil {
return x . NextProtocol
}
return nil
}
2021-01-01 11:33:09 +00:00
func ( x * Config ) GetEnableSessionResumption ( ) bool {
2020-11-25 11:01:53 +00:00
if x != nil {
2021-01-01 11:33:09 +00:00
return x . EnableSessionResumption
2020-11-25 11:01:53 +00:00
}
return false
}
func ( x * Config ) GetDisableSystemRoot ( ) bool {
if x != nil {
return x . DisableSystemRoot
}
return false
}
2020-12-16 05:20:24 +00:00
func ( x * Config ) GetMinVersion ( ) string {
if x != nil {
return x . MinVersion
}
return ""
}
2020-12-16 15:59:04 +00:00
func ( x * Config ) GetMaxVersion ( ) string {
if x != nil {
return x . MaxVersion
}
return ""
}
2020-12-16 12:53:55 +00:00
func ( x * Config ) GetCipherSuites ( ) string {
if x != nil {
return x . CipherSuites
}
return ""
}
2021-03-29 10:08:29 +00:00
func ( x * Config ) GetFingerprint ( ) string {
if x != nil {
return x . Fingerprint
}
return ""
}
2021-05-09 15:47:21 +00:00
func ( x * Config ) GetRejectUnknownSni ( ) bool {
if x != nil {
return x . RejectUnknownSni
}
return false
}
2021-10-22 04:04:06 +00:00
func ( x * Config ) GetPinnedPeerCertificateChainSha256 ( ) [ ] [ ] byte {
if x != nil {
return x . PinnedPeerCertificateChainSha256
}
return nil
}
2023-02-17 08:01:24 +00:00
func ( x * Config ) GetPinnedPeerCertificatePublicKeySha256 ( ) [ ] [ ] byte {
if x != nil {
return x . PinnedPeerCertificatePublicKeySha256
}
return nil
}
2023-11-27 15:08:34 +00:00
func ( x * Config ) GetMasterKeyLog ( ) string {
if x != nil {
return x . MasterKeyLog
}
return ""
}
2024-11-11 04:21:28 +00:00
func ( x * Config ) GetCurvePreferences ( ) [ ] string {
if x != nil {
return x . CurvePreferences
}
return nil
}
2025-02-06 07:37:30 +00:00
func ( x * Config ) GetVerifyPeerCertInNames ( ) [ ] string {
2025-01-25 10:51:44 +00:00
if x != nil {
2025-02-06 07:37:30 +00:00
return x . VerifyPeerCertInNames
2025-01-25 10:51:44 +00:00
}
2025-02-06 07:37:30 +00:00
return nil
2025-01-25 10:51:44 +00:00
}
2020-11-25 11:01:53 +00:00
var File_transport_internet_tls_config_proto protoreflect . FileDescriptor
var file_transport_internet_tls_config_proto_rawDesc = [ ] byte {
2020-12-16 15:59:04 +00:00
0x0a , 0x23 , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f , 0x72 , 0x74 , 0x2f , 0x69 , 0x6e , 0x74 , 0x65 ,
0x72 , 0x6e , 0x65 , 0x74 , 0x2f , 0x74 , 0x6c , 0x73 , 0x2f , 0x63 , 0x6f , 0x6e , 0x66 , 0x69 , 0x67 , 0x2e ,
0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x12 , 0x1b , 0x78 , 0x72 , 0x61 , 0x79 , 0x2e , 0x74 , 0x72 , 0x61 , 0x6e ,
0x73 , 0x70 , 0x6f , 0x72 , 0x74 , 0x2e , 0x69 , 0x6e , 0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x74 ,
2024-07-29 06:58:58 +00:00
0x6c , 0x73 , 0x22 , 0x83 , 0x03 , 0x0a , 0x0b , 0x43 , 0x65 , 0x72 , 0x74 , 0x69 , 0x66 , 0x69 , 0x63 , 0x61 ,
2020-12-25 15:10:12 +00:00
0x74 , 0x65 , 0x12 , 0x20 , 0x0a , 0x0b , 0x63 , 0x65 , 0x72 , 0x74 , 0x69 , 0x66 , 0x69 , 0x63 , 0x61 , 0x74 ,
0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x0c , 0x52 , 0x0b , 0x63 , 0x65 , 0x72 , 0x74 , 0x69 , 0x66 , 0x69 ,
0x63 , 0x61 , 0x74 , 0x65 , 0x12 , 0x10 , 0x0a , 0x03 , 0x6b , 0x65 , 0x79 , 0x18 , 0x02 , 0x20 , 0x01 , 0x28 ,
0x0c , 0x52 , 0x03 , 0x6b , 0x65 , 0x79 , 0x12 , 0x44 , 0x0a , 0x05 , 0x75 , 0x73 , 0x61 , 0x67 , 0x65 , 0x18 ,
2020-12-16 15:59:04 +00:00
0x03 , 0x20 , 0x01 , 0x28 , 0x0e , 0x32 , 0x2e , 0x2e , 0x78 , 0x72 , 0x61 , 0x79 , 0x2e , 0x74 , 0x72 , 0x61 ,
0x6e , 0x73 , 0x70 , 0x6f , 0x72 , 0x74 , 0x2e , 0x69 , 0x6e , 0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2e ,
0x74 , 0x6c , 0x73 , 0x2e , 0x43 , 0x65 , 0x72 , 0x74 , 0x69 , 0x66 , 0x69 , 0x63 , 0x61 , 0x74 , 0x65 , 0x2e ,
2020-12-25 15:10:12 +00:00
0x55 , 0x73 , 0x61 , 0x67 , 0x65 , 0x52 , 0x05 , 0x75 , 0x73 , 0x61 , 0x67 , 0x65 , 0x12 , 0x23 , 0x0a , 0x0d ,
0x6f , 0x63 , 0x73 , 0x70 , 0x5f , 0x73 , 0x74 , 0x61 , 0x70 , 0x6c , 0x69 , 0x6e , 0x67 , 0x18 , 0x04 , 0x20 ,
2021-02-20 02:15:57 +00:00
0x01 , 0x28 , 0x04 , 0x52 , 0x0c , 0x6f , 0x63 , 0x73 , 0x70 , 0x53 , 0x74 , 0x61 , 0x70 , 0x6c , 0x69 , 0x6e ,
2021-02-12 15:33:19 +00:00
0x67 , 0x12 , 0x29 , 0x0a , 0x10 , 0x63 , 0x65 , 0x72 , 0x74 , 0x69 , 0x66 , 0x69 , 0x63 , 0x61 , 0x74 , 0x65 ,
0x5f , 0x70 , 0x61 , 0x74 , 0x68 , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0f , 0x63 , 0x65 , 0x72 ,
0x74 , 0x69 , 0x66 , 0x69 , 0x63 , 0x61 , 0x74 , 0x65 , 0x50 , 0x61 , 0x74 , 0x68 , 0x12 , 0x19 , 0x0a , 0x08 ,
0x6b , 0x65 , 0x79 , 0x5f , 0x70 , 0x61 , 0x74 , 0x68 , 0x18 , 0x06 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x07 ,
2021-02-20 02:15:57 +00:00
0x6b , 0x65 , 0x79 , 0x50 , 0x61 , 0x74 , 0x68 , 0x12 , 0x28 , 0x0a , 0x10 , 0x4f , 0x6e , 0x65 , 0x5f , 0x74 ,
0x69 , 0x6d , 0x65 , 0x5f , 0x6c , 0x6f , 0x61 , 0x64 , 0x69 , 0x6e , 0x67 , 0x18 , 0x07 , 0x20 , 0x01 , 0x28 ,
0x08 , 0x52 , 0x0e , 0x4f , 0x6e , 0x65 , 0x54 , 0x69 , 0x6d , 0x65 , 0x4c , 0x6f , 0x61 , 0x64 , 0x69 , 0x6e ,
2024-07-29 06:58:58 +00:00
0x67 , 0x12 , 0x1f , 0x0a , 0x0b , 0x62 , 0x75 , 0x69 , 0x6c , 0x64 , 0x5f , 0x63 , 0x68 , 0x61 , 0x69 , 0x6e ,
0x18 , 0x08 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x0a , 0x62 , 0x75 , 0x69 , 0x6c , 0x64 , 0x43 , 0x68 , 0x61 ,
0x69 , 0x6e , 0x22 , 0x44 , 0x0a , 0x05 , 0x55 , 0x73 , 0x61 , 0x67 , 0x65 , 0x12 , 0x10 , 0x0a , 0x0c , 0x45 ,
0x4e , 0x43 , 0x49 , 0x50 , 0x48 , 0x45 , 0x52 , 0x4d , 0x45 , 0x4e , 0x54 , 0x10 , 0x00 , 0x12 , 0x14 , 0x0a ,
0x10 , 0x41 , 0x55 , 0x54 , 0x48 , 0x4f , 0x52 , 0x49 , 0x54 , 0x59 , 0x5f , 0x56 , 0x45 , 0x52 , 0x49 , 0x46 ,
0x59 , 0x10 , 0x01 , 0x12 , 0x13 , 0x0a , 0x0f , 0x41 , 0x55 , 0x54 , 0x48 , 0x4f , 0x52 , 0x49 , 0x54 , 0x59 ,
2025-02-06 07:37:30 +00:00
0x5f , 0x49 , 0x53 , 0x53 , 0x55 , 0x45 , 0x10 , 0x02 , 0x22 , 0x9a , 0x06 , 0x0a , 0x06 , 0x43 , 0x6f , 0x6e ,
2024-07-29 06:58:58 +00:00
0x66 , 0x69 , 0x67 , 0x12 , 0x25 , 0x0a , 0x0e , 0x61 , 0x6c , 0x6c , 0x6f , 0x77 , 0x5f , 0x69 , 0x6e , 0x73 ,
0x65 , 0x63 , 0x75 , 0x72 , 0x65 , 0x18 , 0x01 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x0d , 0x61 , 0x6c , 0x6c ,
0x6f , 0x77 , 0x49 , 0x6e , 0x73 , 0x65 , 0x63 , 0x75 , 0x72 , 0x65 , 0x12 , 0x4a , 0x0a , 0x0b , 0x63 , 0x65 ,
0x72 , 0x74 , 0x69 , 0x66 , 0x69 , 0x63 , 0x61 , 0x74 , 0x65 , 0x18 , 0x02 , 0x20 , 0x03 , 0x28 , 0x0b , 0x32 ,
0x28 , 0x2e , 0x78 , 0x72 , 0x61 , 0x79 , 0x2e , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f , 0x72 , 0x74 ,
0x2e , 0x69 , 0x6e , 0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x74 , 0x6c , 0x73 , 0x2e , 0x43 , 0x65 ,
0x72 , 0x74 , 0x69 , 0x66 , 0x69 , 0x63 , 0x61 , 0x74 , 0x65 , 0x52 , 0x0b , 0x63 , 0x65 , 0x72 , 0x74 , 0x69 ,
0x66 , 0x69 , 0x63 , 0x61 , 0x74 , 0x65 , 0x12 , 0x1f , 0x0a , 0x0b , 0x73 , 0x65 , 0x72 , 0x76 , 0x65 , 0x72 ,
0x5f , 0x6e , 0x61 , 0x6d , 0x65 , 0x18 , 0x03 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0a , 0x73 , 0x65 , 0x72 ,
0x76 , 0x65 , 0x72 , 0x4e , 0x61 , 0x6d , 0x65 , 0x12 , 0x23 , 0x0a , 0x0d , 0x6e , 0x65 , 0x78 , 0x74 , 0x5f ,
0x70 , 0x72 , 0x6f , 0x74 , 0x6f , 0x63 , 0x6f , 0x6c , 0x18 , 0x04 , 0x20 , 0x03 , 0x28 , 0x09 , 0x52 , 0x0c ,
0x6e , 0x65 , 0x78 , 0x74 , 0x50 , 0x72 , 0x6f , 0x74 , 0x6f , 0x63 , 0x6f , 0x6c , 0x12 , 0x3a , 0x0a , 0x19 ,
0x65 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x5f , 0x73 , 0x65 , 0x73 , 0x73 , 0x69 , 0x6f , 0x6e , 0x5f , 0x72 ,
0x65 , 0x73 , 0x75 , 0x6d , 0x70 , 0x74 , 0x69 , 0x6f , 0x6e , 0x18 , 0x05 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 ,
0x17 , 0x65 , 0x6e , 0x61 , 0x62 , 0x6c , 0x65 , 0x53 , 0x65 , 0x73 , 0x73 , 0x69 , 0x6f , 0x6e , 0x52 , 0x65 ,
0x73 , 0x75 , 0x6d , 0x70 , 0x74 , 0x69 , 0x6f , 0x6e , 0x12 , 0x2e , 0x0a , 0x13 , 0x64 , 0x69 , 0x73 , 0x61 ,
0x62 , 0x6c , 0x65 , 0x5f , 0x73 , 0x79 , 0x73 , 0x74 , 0x65 , 0x6d , 0x5f , 0x72 , 0x6f , 0x6f , 0x74 , 0x18 ,
0x06 , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x11 , 0x64 , 0x69 , 0x73 , 0x61 , 0x62 , 0x6c , 0x65 , 0x53 , 0x79 ,
0x73 , 0x74 , 0x65 , 0x6d , 0x52 , 0x6f , 0x6f , 0x74 , 0x12 , 0x1f , 0x0a , 0x0b , 0x6d , 0x69 , 0x6e , 0x5f ,
0x76 , 0x65 , 0x72 , 0x73 , 0x69 , 0x6f , 0x6e , 0x18 , 0x07 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0a , 0x6d ,
0x69 , 0x6e , 0x56 , 0x65 , 0x72 , 0x73 , 0x69 , 0x6f , 0x6e , 0x12 , 0x1f , 0x0a , 0x0b , 0x6d , 0x61 , 0x78 ,
0x5f , 0x76 , 0x65 , 0x72 , 0x73 , 0x69 , 0x6f , 0x6e , 0x18 , 0x08 , 0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0a ,
0x6d , 0x61 , 0x78 , 0x56 , 0x65 , 0x72 , 0x73 , 0x69 , 0x6f , 0x6e , 0x12 , 0x23 , 0x0a , 0x0d , 0x63 , 0x69 ,
0x70 , 0x68 , 0x65 , 0x72 , 0x5f , 0x73 , 0x75 , 0x69 , 0x74 , 0x65 , 0x73 , 0x18 , 0x09 , 0x20 , 0x01 , 0x28 ,
0x09 , 0x52 , 0x0c , 0x63 , 0x69 , 0x70 , 0x68 , 0x65 , 0x72 , 0x53 , 0x75 , 0x69 , 0x74 , 0x65 , 0x73 , 0x12 ,
2024-09-19 01:05:59 +00:00
0x20 , 0x0a , 0x0b , 0x66 , 0x69 , 0x6e , 0x67 , 0x65 , 0x72 , 0x70 , 0x72 , 0x69 , 0x6e , 0x74 , 0x18 , 0x0b ,
0x20 , 0x01 , 0x28 , 0x09 , 0x52 , 0x0b , 0x66 , 0x69 , 0x6e , 0x67 , 0x65 , 0x72 , 0x70 , 0x72 , 0x69 , 0x6e ,
0x74 , 0x12 , 0x2c , 0x0a , 0x12 , 0x72 , 0x65 , 0x6a , 0x65 , 0x63 , 0x74 , 0x5f , 0x75 , 0x6e , 0x6b , 0x6e ,
0x6f , 0x77 , 0x6e , 0x5f , 0x73 , 0x6e , 0x69 , 0x18 , 0x0c , 0x20 , 0x01 , 0x28 , 0x08 , 0x52 , 0x10 , 0x72 ,
0x65 , 0x6a , 0x65 , 0x63 , 0x74 , 0x55 , 0x6e , 0x6b , 0x6e , 0x6f , 0x77 , 0x6e , 0x53 , 0x6e , 0x69 , 0x12 ,
0x4e , 0x0a , 0x24 , 0x70 , 0x69 , 0x6e , 0x6e , 0x65 , 0x64 , 0x5f , 0x70 , 0x65 , 0x65 , 0x72 , 0x5f , 0x63 ,
0x65 , 0x72 , 0x74 , 0x69 , 0x66 , 0x69 , 0x63 , 0x61 , 0x74 , 0x65 , 0x5f , 0x63 , 0x68 , 0x61 , 0x69 , 0x6e ,
0x5f , 0x73 , 0x68 , 0x61 , 0x32 , 0x35 , 0x36 , 0x18 , 0x0d , 0x20 , 0x03 , 0x28 , 0x0c , 0x52 , 0x20 , 0x70 ,
0x69 , 0x6e , 0x6e , 0x65 , 0x64 , 0x50 , 0x65 , 0x65 , 0x72 , 0x43 , 0x65 , 0x72 , 0x74 , 0x69 , 0x66 , 0x69 ,
0x63 , 0x61 , 0x74 , 0x65 , 0x43 , 0x68 , 0x61 , 0x69 , 0x6e , 0x53 , 0x68 , 0x61 , 0x32 , 0x35 , 0x36 , 0x12 ,
0x57 , 0x0a , 0x29 , 0x70 , 0x69 , 0x6e , 0x6e , 0x65 , 0x64 , 0x5f , 0x70 , 0x65 , 0x65 , 0x72 , 0x5f , 0x63 ,
0x65 , 0x72 , 0x74 , 0x69 , 0x66 , 0x69 , 0x63 , 0x61 , 0x74 , 0x65 , 0x5f , 0x70 , 0x75 , 0x62 , 0x6c , 0x69 ,
0x63 , 0x5f , 0x6b , 0x65 , 0x79 , 0x5f , 0x73 , 0x68 , 0x61 , 0x32 , 0x35 , 0x36 , 0x18 , 0x0e , 0x20 , 0x03 ,
0x28 , 0x0c , 0x52 , 0x24 , 0x70 , 0x69 , 0x6e , 0x6e , 0x65 , 0x64 , 0x50 , 0x65 , 0x65 , 0x72 , 0x43 , 0x65 ,
0x72 , 0x74 , 0x69 , 0x66 , 0x69 , 0x63 , 0x61 , 0x74 , 0x65 , 0x50 , 0x75 , 0x62 , 0x6c , 0x69 , 0x63 , 0x4b ,
0x65 , 0x79 , 0x53 , 0x68 , 0x61 , 0x32 , 0x35 , 0x36 , 0x12 , 0x24 , 0x0a , 0x0e , 0x6d , 0x61 , 0x73 , 0x74 ,
0x65 , 0x72 , 0x5f , 0x6b , 0x65 , 0x79 , 0x5f , 0x6c , 0x6f , 0x67 , 0x18 , 0x0f , 0x20 , 0x01 , 0x28 , 0x09 ,
2024-11-11 04:21:28 +00:00
0x52 , 0x0c , 0x6d , 0x61 , 0x73 , 0x74 , 0x65 , 0x72 , 0x4b , 0x65 , 0x79 , 0x4c , 0x6f , 0x67 , 0x12 , 0x2b ,
0x0a , 0x11 , 0x63 , 0x75 , 0x72 , 0x76 , 0x65 , 0x5f , 0x70 , 0x72 , 0x65 , 0x66 , 0x65 , 0x72 , 0x65 , 0x6e ,
0x63 , 0x65 , 0x73 , 0x18 , 0x10 , 0x20 , 0x03 , 0x28 , 0x09 , 0x52 , 0x10 , 0x63 , 0x75 , 0x72 , 0x76 , 0x65 ,
2025-02-06 07:37:30 +00:00
0x50 , 0x72 , 0x65 , 0x66 , 0x65 , 0x72 , 0x65 , 0x6e , 0x63 , 0x65 , 0x73 , 0x12 , 0x38 , 0x0a , 0x19 , 0x76 ,
0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x5f , 0x70 , 0x65 , 0x65 , 0x72 , 0x5f , 0x63 , 0x65 , 0x72 , 0x74 , 0x5f ,
0x69 , 0x6e , 0x5f , 0x6e , 0x61 , 0x6d , 0x65 , 0x73 , 0x18 , 0x11 , 0x20 , 0x03 , 0x28 , 0x09 , 0x52 , 0x15 ,
0x76 , 0x65 , 0x72 , 0x69 , 0x66 , 0x79 , 0x50 , 0x65 , 0x65 , 0x72 , 0x43 , 0x65 , 0x72 , 0x74 , 0x49 , 0x6e ,
0x4e , 0x61 , 0x6d , 0x65 , 0x73 , 0x42 , 0x73 , 0x0a , 0x1f , 0x63 , 0x6f , 0x6d , 0x2e , 0x78 , 0x72 , 0x61 ,
0x79 , 0x2e , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f , 0x72 , 0x74 , 0x2e , 0x69 , 0x6e , 0x74 , 0x65 ,
0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x74 , 0x6c , 0x73 , 0x50 , 0x01 , 0x5a , 0x30 , 0x67 , 0x69 , 0x74 , 0x68 ,
0x75 , 0x62 , 0x2e , 0x63 , 0x6f , 0x6d , 0x2f , 0x78 , 0x74 , 0x6c , 0x73 , 0x2f , 0x78 , 0x72 , 0x61 , 0x79 ,
0x2d , 0x63 , 0x6f , 0x72 , 0x65 , 0x2f , 0x74 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f , 0x72 , 0x74 , 0x2f ,
0x69 , 0x6e , 0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2f , 0x74 , 0x6c , 0x73 , 0xaa , 0x02 , 0x1b , 0x58 ,
0x72 , 0x61 , 0x79 , 0x2e , 0x54 , 0x72 , 0x61 , 0x6e , 0x73 , 0x70 , 0x6f , 0x72 , 0x74 , 0x2e , 0x49 , 0x6e ,
0x74 , 0x65 , 0x72 , 0x6e , 0x65 , 0x74 , 0x2e , 0x54 , 0x6c , 0x73 , 0x62 , 0x06 , 0x70 , 0x72 , 0x6f , 0x74 ,
0x6f , 0x33 ,
2020-11-25 11:01:53 +00:00
}
var (
file_transport_internet_tls_config_proto_rawDescOnce sync . Once
file_transport_internet_tls_config_proto_rawDescData = file_transport_internet_tls_config_proto_rawDesc
)
func file_transport_internet_tls_config_proto_rawDescGZIP ( ) [ ] byte {
file_transport_internet_tls_config_proto_rawDescOnce . Do ( func ( ) {
file_transport_internet_tls_config_proto_rawDescData = protoimpl . X . CompressGZIP ( file_transport_internet_tls_config_proto_rawDescData )
} )
return file_transport_internet_tls_config_proto_rawDescData
}
var file_transport_internet_tls_config_proto_enumTypes = make ( [ ] protoimpl . EnumInfo , 1 )
var file_transport_internet_tls_config_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 2 )
2024-08-22 14:18:36 +00:00
var file_transport_internet_tls_config_proto_goTypes = [ ] any {
2020-11-25 11:01:53 +00:00
( Certificate_Usage ) ( 0 ) , // 0: xray.transport.internet.tls.Certificate.Usage
( * Certificate ) ( nil ) , // 1: xray.transport.internet.tls.Certificate
( * Config ) ( nil ) , // 2: xray.transport.internet.tls.Config
}
var file_transport_internet_tls_config_proto_depIdxs = [ ] int32 {
0 , // 0: xray.transport.internet.tls.Certificate.usage:type_name -> xray.transport.internet.tls.Certificate.Usage
1 , // 1: xray.transport.internet.tls.Config.certificate:type_name -> xray.transport.internet.tls.Certificate
2 , // [2:2] is the sub-list for method output_type
2 , // [2:2] is the sub-list for method input_type
2 , // [2:2] is the sub-list for extension type_name
2 , // [2:2] is the sub-list for extension extendee
0 , // [0:2] is the sub-list for field type_name
}
func init ( ) { file_transport_internet_tls_config_proto_init ( ) }
func file_transport_internet_tls_config_proto_init ( ) {
if File_transport_internet_tls_config_proto != nil {
return
}
type x struct { }
out := protoimpl . TypeBuilder {
File : protoimpl . DescBuilder {
GoPackagePath : reflect . TypeOf ( x { } ) . PkgPath ( ) ,
RawDescriptor : file_transport_internet_tls_config_proto_rawDesc ,
NumEnums : 1 ,
NumMessages : 2 ,
NumExtensions : 0 ,
NumServices : 0 ,
} ,
GoTypes : file_transport_internet_tls_config_proto_goTypes ,
DependencyIndexes : file_transport_internet_tls_config_proto_depIdxs ,
EnumInfos : file_transport_internet_tls_config_proto_enumTypes ,
MessageInfos : file_transport_internet_tls_config_proto_msgTypes ,
} . Build ( )
File_transport_internet_tls_config_proto = out . File
file_transport_internet_tls_config_proto_rawDesc = nil
file_transport_internet_tls_config_proto_goTypes = nil
file_transport_internet_tls_config_proto_depIdxs = nil
}