Enum value maps for Ciphersuite.
var ( Ciphersuite_name = map[int32]string{ 0: "AES_128_GCM_SHA256", 1: "AES_256_GCM_SHA384", 2: "CHACHA20_POLY1305_SHA256", } Ciphersuite_value = map[string]int32{ "AES_128_GCM_SHA256": 0, "AES_256_GCM_SHA384": 1, "CHACHA20_POLY1305_SHA256": 2, } )
Enum value maps for TLSVersion.
var ( TLSVersion_name = map[int32]string{ 0: "TLS1_2", 1: "TLS1_3", } TLSVersion_value = map[string]int32{ "TLS1_2": 0, "TLS1_3": 1, } )
var File_internal_proto_common_common_proto protoreflect.FileDescriptor
The ciphersuites supported by S2A. The name determines the confidentiality, and authentication ciphers as well as the hash algorithm used for PRF in TLS 1.2 or HKDF in TLS 1.3. Thus, the components of the name are:
type Ciphersuite int32
const ( Ciphersuite_AES_128_GCM_SHA256 Ciphersuite = 0 Ciphersuite_AES_256_GCM_SHA384 Ciphersuite = 1 Ciphersuite_CHACHA20_POLY1305_SHA256 Ciphersuite = 2 )
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
type Identity struct { // Types that are assignable to IdentityOneof: // // *Identity_SpiffeId // *Identity_Hostname // *Identity_Uid // *Identity_MdbUsername // *Identity_GaiaId IdentityOneof isIdentity_IdentityOneof `protobuf_oneof:"identity_oneof"` // Additional identity-specific attributes. Attributes map[string]string `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
func (*Identity) Descriptor() ([]byte, []int)
Deprecated: Use Identity.ProtoReflect.Descriptor instead.
func (x *Identity) GetAttributes() map[string]string
func (x *Identity) GetGaiaId() string
func (x *Identity) GetHostname() string
func (m *Identity) GetIdentityOneof() isIdentity_IdentityOneof
func (x *Identity) GetMdbUsername() string
func (x *Identity) GetSpiffeId() string
func (x *Identity) GetUid() string
func (*Identity) ProtoMessage()
func (x *Identity) ProtoReflect() protoreflect.Message
func (x *Identity) Reset()
func (x *Identity) String() string
type Identity_GaiaId struct { // The Gaia ID of a connection endpoint. GaiaId string `protobuf:"bytes,6,opt,name=gaia_id,json=gaiaId,proto3,oneof"` }
type Identity_Hostname struct { // The hostname of a connection endpoint. Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3,oneof"` }
type Identity_MdbUsername struct { // The MDB username of a connection endpoint. MdbUsername string `protobuf:"bytes,5,opt,name=mdb_username,json=mdbUsername,proto3,oneof"` }
type Identity_SpiffeId struct { // The SPIFFE ID of a connection endpoint. SpiffeId string `protobuf:"bytes,1,opt,name=spiffe_id,json=spiffeId,proto3,oneof"` }
type Identity_Uid struct { // The UID of a connection endpoint. Uid string `protobuf:"bytes,4,opt,name=uid,proto3,oneof"` }
The TLS versions supported by S2A's handshaker module.
type TLSVersion int32
const ( TLSVersion_TLS1_2 TLSVersion = 0 TLSVersion_TLS1_3 TLSVersion = 1 )
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