Enum value maps for Ciphersuite.
var ( Ciphersuite_name = map[int32]string{ 0: "CIPHERSUITE_UNSPECIFIED", 1: "CIPHERSUITE_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", 2: "CIPHERSUITE_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", 3: "CIPHERSUITE_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256", 4: "CIPHERSUITE_ECDHE_RSA_WITH_AES_128_GCM_SHA256", 5: "CIPHERSUITE_ECDHE_RSA_WITH_AES_256_GCM_SHA384", 6: "CIPHERSUITE_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256", } Ciphersuite_value = map[string]int32{ "CIPHERSUITE_UNSPECIFIED": 0, "CIPHERSUITE_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256": 1, "CIPHERSUITE_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384": 2, "CIPHERSUITE_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256": 3, "CIPHERSUITE_ECDHE_RSA_WITH_AES_128_GCM_SHA256": 4, "CIPHERSUITE_ECDHE_RSA_WITH_AES_256_GCM_SHA384": 5, "CIPHERSUITE_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256": 6, } )
Enum value maps for TLSVersion.
var ( TLSVersion_name = map[int32]string{ 0: "TLS_VERSION_UNSPECIFIED", 1: "TLS_VERSION_1_0", 2: "TLS_VERSION_1_1", 3: "TLS_VERSION_1_2", 4: "TLS_VERSION_1_3", } TLSVersion_value = map[string]int32{ "TLS_VERSION_UNSPECIFIED": 0, "TLS_VERSION_1_0": 1, "TLS_VERSION_1_1": 2, "TLS_VERSION_1_2": 3, "TLS_VERSION_1_3": 4, } )
Enum value maps for ConnectionSide.
var ( ConnectionSide_name = map[int32]string{ 0: "CONNECTION_SIDE_UNSPECIFIED", 1: "CONNECTION_SIDE_CLIENT", 2: "CONNECTION_SIDE_SERVER", } ConnectionSide_value = map[string]int32{ "CONNECTION_SIDE_UNSPECIFIED": 0, "CONNECTION_SIDE_CLIENT": 1, "CONNECTION_SIDE_SERVER": 2, } )
Enum value maps for AlpnProtocol.
var ( AlpnProtocol_name = map[int32]string{ 0: "ALPN_PROTOCOL_UNSPECIFIED", 1: "ALPN_PROTOCOL_GRPC", 2: "ALPN_PROTOCOL_HTTP2", 3: "ALPN_PROTOCOL_HTTP1_1", } AlpnProtocol_value = map[string]int32{ "ALPN_PROTOCOL_UNSPECIFIED": 0, "ALPN_PROTOCOL_GRPC": 1, "ALPN_PROTOCOL_HTTP2": 2, "ALPN_PROTOCOL_HTTP1_1": 3, } )
var File_internal_proto_v2_common_common_proto protoreflect.FileDescriptor
The ALPN protocols that the application can negotiate during a TLS handshake.
type AlpnProtocol int32
const ( AlpnProtocol_ALPN_PROTOCOL_UNSPECIFIED AlpnProtocol = 0 AlpnProtocol_ALPN_PROTOCOL_GRPC AlpnProtocol = 1 AlpnProtocol_ALPN_PROTOCOL_HTTP2 AlpnProtocol = 2 AlpnProtocol_ALPN_PROTOCOL_HTTP1_1 AlpnProtocol = 3 )
func (AlpnProtocol) Descriptor() protoreflect.EnumDescriptor
func (x AlpnProtocol) Enum() *AlpnProtocol
func (AlpnProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use AlpnProtocol.Descriptor instead.
func (x AlpnProtocol) Number() protoreflect.EnumNumber
func (x AlpnProtocol) String() string
func (AlpnProtocol) Type() protoreflect.EnumType
The TLS 1.0-1.2 ciphersuites that the application can negotiate when using S2A.
type Ciphersuite int32
const ( Ciphersuite_CIPHERSUITE_UNSPECIFIED Ciphersuite = 0 Ciphersuite_CIPHERSUITE_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 Ciphersuite = 1 Ciphersuite_CIPHERSUITE_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 Ciphersuite = 2 Ciphersuite_CIPHERSUITE_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 Ciphersuite = 3 Ciphersuite_CIPHERSUITE_ECDHE_RSA_WITH_AES_128_GCM_SHA256 Ciphersuite = 4 Ciphersuite_CIPHERSUITE_ECDHE_RSA_WITH_AES_256_GCM_SHA384 Ciphersuite = 5 Ciphersuite_CIPHERSUITE_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 Ciphersuite = 6 )
func (Ciphersuite) Descriptor() protoreflect.EnumDescriptor
func (x Ciphersuite) Enum() *Ciphersuite
func (Ciphersuite) EnumDescriptor() ([]byte, []int)
Deprecated: Use Ciphersuite.Descriptor instead.
func (x Ciphersuite) Number() protoreflect.EnumNumber
func (x Ciphersuite) String() string
func (Ciphersuite) Type() protoreflect.EnumType
The side in the TLS connection.
type ConnectionSide int32
const ( ConnectionSide_CONNECTION_SIDE_UNSPECIFIED ConnectionSide = 0 ConnectionSide_CONNECTION_SIDE_CLIENT ConnectionSide = 1 ConnectionSide_CONNECTION_SIDE_SERVER ConnectionSide = 2 )
func (ConnectionSide) Descriptor() protoreflect.EnumDescriptor
func (x ConnectionSide) Enum() *ConnectionSide
func (ConnectionSide) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectionSide.Descriptor instead.
func (x ConnectionSide) Number() protoreflect.EnumNumber
func (x ConnectionSide) String() string
func (ConnectionSide) Type() protoreflect.EnumType
The TLS versions supported by S2A's handshaker module.
type TLSVersion int32
const ( TLSVersion_TLS_VERSION_UNSPECIFIED TLSVersion = 0 TLSVersion_TLS_VERSION_1_0 TLSVersion = 1 TLSVersion_TLS_VERSION_1_1 TLSVersion = 2 TLSVersion_TLS_VERSION_1_2 TLSVersion = 3 TLSVersion_TLS_VERSION_1_3 TLSVersion = 4 )
func (TLSVersion) Descriptor() protoreflect.EnumDescriptor
func (x TLSVersion) Enum() *TLSVersion
func (TLSVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use TLSVersion.Descriptor instead.
func (x TLSVersion) Number() protoreflect.EnumNumber
func (x TLSVersion) String() string
func (TLSVersion) Type() protoreflect.EnumType