Versions in this module Expand all Collapse all v4 v4.40.11 Jun 23, 2021 Changes in this version + var Certificate_Usage_name = map[int32]string + var Certificate_Usage_value = map[string]int32 + var File_transport_internet_tls_config_proto protoreflect.FileDescriptor + func CalculatePEMCertChainSHA256Hash(certContent []byte) string + func Client(c net.Conn, config *tls.Config) net.Conn + func GenerateCertChainHash(rawCerts [][]byte) []byte + func Server(c net.Conn, config *tls.Config) net.Conn + type Certificate struct + Certificate []byte + Key []byte + Usage Certificate_Usage + func ParseCertificate(c *cert.Certificate) *Certificate + func (*Certificate) Descriptor() ([]byte, []int) + func (*Certificate) ProtoMessage() + func (x *Certificate) GetCertificate() []byte + func (x *Certificate) GetKey() []byte + func (x *Certificate) GetUsage() Certificate_Usage + func (x *Certificate) ProtoReflect() protoreflect.Message + func (x *Certificate) Reset() + func (x *Certificate) String() string + type Certificate_Usage int32 + const Certificate_AUTHORITY_ISSUE + const Certificate_AUTHORITY_VERIFY + const Certificate_ENCIPHERMENT + func (Certificate_Usage) Descriptor() protoreflect.EnumDescriptor + func (Certificate_Usage) EnumDescriptor() ([]byte, []int) + func (Certificate_Usage) Type() protoreflect.EnumType + func (x Certificate_Usage) Enum() *Certificate_Usage + func (x Certificate_Usage) Number() protoreflect.EnumNumber + func (x Certificate_Usage) String() string + type Config struct + AllowInsecure bool + Certificate []*Certificate + DisableSystemRoot bool + EnableSessionResumption bool + NextProtocol []string + PinnedPeerCertificateChainSha256 [][]byte + ServerName string + func ConfigFromStreamSettings(settings *internet.MemoryStreamConfig) *Config + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (c *Config) BuildCertificates() []tls.Certificate + func (c *Config) GetTLSConfig(opts ...Option) *tls.Config + func (c *Config) IsExperiment8357() bool + func (x *Config) GetAllowInsecure() bool + func (x *Config) GetCertificate() []*Certificate + func (x *Config) GetDisableSystemRoot() bool + func (x *Config) GetEnableSessionResumption() bool + func (x *Config) GetNextProtocol() []string + func (x *Config) GetPinnedPeerCertificateChainSha256() [][]byte + func (x *Config) GetServerName() string + func (x *Config) ProtoReflect() protoreflect.Message + func (x *Config) Reset() + func (x *Config) String() string + type Conn struct + func (c *Conn) HandshakeAddress() net.Address + func (c *Conn) WriteMultiBuffer(mb buf.MultiBuffer) error + type Option func(*tls.Config) + func WithDestination(dest net.Destination) Option + func WithNextProto(protocol ...string) Option Other modules containing this package github.com/kevinMKG/vtsttt