tls

package
v0.0.0-...-a9d0937 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_proto_configuration_tls_tls_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClientConfiguration

type ClientConfiguration struct {
	ServerCertificateAuthorities string       `` /* 147-byte string literal not displayed */
	CipherSuites                 []string     `protobuf:"bytes,4,rep,name=cipher_suites,json=cipherSuites,proto3" json:"cipher_suites,omitempty"`
	ServerName                   string       `protobuf:"bytes,5,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
	ClientKeyPair                *X509KeyPair `protobuf:"bytes,6,opt,name=client_key_pair,json=clientKeyPair,proto3" json:"client_key_pair,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientConfiguration) Descriptor deprecated

func (*ClientConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use ClientConfiguration.ProtoReflect.Descriptor instead.

func (*ClientConfiguration) GetCipherSuites

func (x *ClientConfiguration) GetCipherSuites() []string

func (*ClientConfiguration) GetClientKeyPair

func (x *ClientConfiguration) GetClientKeyPair() *X509KeyPair

func (*ClientConfiguration) GetServerCertificateAuthorities

func (x *ClientConfiguration) GetServerCertificateAuthorities() string

func (*ClientConfiguration) GetServerName

func (x *ClientConfiguration) GetServerName() string

func (*ClientConfiguration) ProtoMessage

func (*ClientConfiguration) ProtoMessage()

func (*ClientConfiguration) ProtoReflect

func (x *ClientConfiguration) ProtoReflect() protoreflect.Message

func (*ClientConfiguration) Reset

func (x *ClientConfiguration) Reset()

func (*ClientConfiguration) String

func (x *ClientConfiguration) String() string

type ServerConfiguration

type ServerConfiguration struct {
	CipherSuites  []string     `protobuf:"bytes,3,rep,name=cipher_suites,json=cipherSuites,proto3" json:"cipher_suites,omitempty"`
	ServerKeyPair *X509KeyPair `protobuf:"bytes,4,opt,name=server_key_pair,json=serverKeyPair,proto3" json:"server_key_pair,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerConfiguration) Descriptor deprecated

func (*ServerConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use ServerConfiguration.ProtoReflect.Descriptor instead.

func (*ServerConfiguration) GetCipherSuites

func (x *ServerConfiguration) GetCipherSuites() []string

func (*ServerConfiguration) GetServerKeyPair

func (x *ServerConfiguration) GetServerKeyPair() *X509KeyPair

func (*ServerConfiguration) ProtoMessage

func (*ServerConfiguration) ProtoMessage()

func (*ServerConfiguration) ProtoReflect

func (x *ServerConfiguration) ProtoReflect() protoreflect.Message

func (*ServerConfiguration) Reset

func (x *ServerConfiguration) Reset()

func (*ServerConfiguration) String

func (x *ServerConfiguration) String() string

type X509KeyPair

type X509KeyPair struct {

	// Types that are assignable to KeyPair:
	//
	//	*X509KeyPair_Inline_
	//	*X509KeyPair_Files_
	KeyPair isX509KeyPair_KeyPair `protobuf_oneof:"key_pair"`
	// contains filtered or unexported fields
}

func (*X509KeyPair) Descriptor deprecated

func (*X509KeyPair) Descriptor() ([]byte, []int)

Deprecated: Use X509KeyPair.ProtoReflect.Descriptor instead.

func (*X509KeyPair) GetFiles

func (x *X509KeyPair) GetFiles() *X509KeyPair_Files

func (*X509KeyPair) GetInline

func (x *X509KeyPair) GetInline() *X509KeyPair_Inline

func (*X509KeyPair) GetKeyPair

func (m *X509KeyPair) GetKeyPair() isX509KeyPair_KeyPair

func (*X509KeyPair) ProtoMessage

func (*X509KeyPair) ProtoMessage()

func (*X509KeyPair) ProtoReflect

func (x *X509KeyPair) ProtoReflect() protoreflect.Message

func (*X509KeyPair) Reset

func (x *X509KeyPair) Reset()

func (*X509KeyPair) String

func (x *X509KeyPair) String() string

type X509KeyPair_Files

type X509KeyPair_Files struct {
	CertificatePath string               `protobuf:"bytes,1,opt,name=certificate_path,json=certificatePath,proto3" json:"certificate_path,omitempty"`
	PrivateKeyPath  string               `protobuf:"bytes,2,opt,name=private_key_path,json=privateKeyPath,proto3" json:"private_key_path,omitempty"`
	RefreshInterval *durationpb.Duration `protobuf:"bytes,4,opt,name=refresh_interval,json=refreshInterval,proto3" json:"refresh_interval,omitempty"`
	// contains filtered or unexported fields
}

func (*X509KeyPair_Files) Descriptor deprecated

func (*X509KeyPair_Files) Descriptor() ([]byte, []int)

Deprecated: Use X509KeyPair_Files.ProtoReflect.Descriptor instead.

func (*X509KeyPair_Files) GetCertificatePath

func (x *X509KeyPair_Files) GetCertificatePath() string

func (*X509KeyPair_Files) GetPrivateKeyPath

func (x *X509KeyPair_Files) GetPrivateKeyPath() string

func (*X509KeyPair_Files) GetRefreshInterval

func (x *X509KeyPair_Files) GetRefreshInterval() *durationpb.Duration

func (*X509KeyPair_Files) ProtoMessage

func (*X509KeyPair_Files) ProtoMessage()

func (*X509KeyPair_Files) ProtoReflect

func (x *X509KeyPair_Files) ProtoReflect() protoreflect.Message

func (*X509KeyPair_Files) Reset

func (x *X509KeyPair_Files) Reset()

func (*X509KeyPair_Files) String

func (x *X509KeyPair_Files) String() string

type X509KeyPair_Files_

type X509KeyPair_Files_ struct {
	Files *X509KeyPair_Files `protobuf:"bytes,2,opt,name=files,proto3,oneof"`
}

type X509KeyPair_Inline

type X509KeyPair_Inline struct {
	Certificate string `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
	PrivateKey  string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// contains filtered or unexported fields
}

func (*X509KeyPair_Inline) Descriptor deprecated

func (*X509KeyPair_Inline) Descriptor() ([]byte, []int)

Deprecated: Use X509KeyPair_Inline.ProtoReflect.Descriptor instead.

func (*X509KeyPair_Inline) GetCertificate

func (x *X509KeyPair_Inline) GetCertificate() string

func (*X509KeyPair_Inline) GetPrivateKey

func (x *X509KeyPair_Inline) GetPrivateKey() string

func (*X509KeyPair_Inline) ProtoMessage

func (*X509KeyPair_Inline) ProtoMessage()

func (*X509KeyPair_Inline) ProtoReflect

func (x *X509KeyPair_Inline) ProtoReflect() protoreflect.Message

func (*X509KeyPair_Inline) Reset

func (x *X509KeyPair_Inline) Reset()

func (*X509KeyPair_Inline) String

func (x *X509KeyPair_Inline) String() string

type X509KeyPair_Inline_

type X509KeyPair_Inline_ struct {
	Inline *X509KeyPair_Inline `protobuf:"bytes,1,opt,name=inline,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL