type crypto/tls.Config

103 uses

	crypto/tls (current package)
		common.go#L501: 	config *Config
		common.go#L578: type Config struct {
		common.go#L658: 	GetConfigForClient func(*ClientHelloInfo) (*Config, error)
		common.go#L984: func (c *Config) ticketKeyFromBytes(b [32]byte) (key ticketKey) {
		common.go#L1009: func (c *Config) Clone() *Config {
		common.go#L1015: 	return &Config{
		common.go#L1059: func (c *Config) initLegacySessionTicketKeyRLocked() {
		common.go#L1095: func (c *Config) ticketKeys(configForClient *Config) []ticketKey {
		common.go#L1164: func (c *Config) SetSessionTicketKeys(keys [][32]byte) {
		common.go#L1179: func (c *Config) rand() io.Reader {
		common.go#L1187: func (c *Config) time() time.Time {
		common.go#L1195: func (c *Config) cipherSuites(aesGCMPreferred bool) []uint16 {
		common.go#L1215: func (c *Config) supportedCipherSuites() []uint16 {
		common.go#L1233: func (c *Config) supportedVersions(isClient, isQUIC bool) []uint16 {
		common.go#L1259: func (c *Config) maxSupportedVersion(isClient, isQUIC bool) uint16 {
		common.go#L1281: func (c *Config) curvePreferences(version uint16) []CurveID {
		common.go#L1287: func (c *Config) supportsCurve(version uint16, x CurveID) bool {
		common.go#L1312: func (c *Config) mutualVersion(isClient, isQUIC bool, peerVersions []uint16) (uint16, bool) {
		common.go#L1335: func (c *Config) getCertificate(clientHello *ClientHelloInfo) (*Certificate, error) {
		common.go#L1397: 		config = &Config{}
		common.go#L1585: func (c *Config) BuildNameToCertificate() {
		common.go#L1612: func (c *Config) writeKeyLog(label string, clientRandom, secret []byte) error {
		common.go#L1761: var emptyConfig Config
		common.go#L1763: func defaultConfig() *Config {
		conn.go#L43: 	config         *Config // configuration passed to constructor
		handshake_server.go#L166: 	var configForClient *Config
		handshake_server.go#L367: func supportsECDHE(c *Config, version uint16, supportedCurves []CurveID, supportedPoints []uint8) (bool, error) {
		key_agreement.go#L28: 	generateServerKeyExchange(*Config, *Certificate, *clientHelloMsg, *serverHelloMsg) (*serverKeyExchangeMsg, error)
		key_agreement.go#L29: 	processClientKeyExchange(*Config, *Certificate, *clientKeyExchangeMsg, uint16) ([]byte, error)
		key_agreement.go#L35: 	processServerKeyExchange(*Config, *clientHelloMsg, *serverHelloMsg, *x509.Certificate, *serverKeyExchangeMsg) error
		key_agreement.go#L36: 	generateClientKeyExchange(*Config, *clientHelloMsg, *x509.Certificate) ([]byte, *clientKeyExchangeMsg, error)
		key_agreement.go#L46: func (ka rsaKeyAgreement) generateServerKeyExchange(config *Config, cert *Certificate, clientHello *clientHelloMsg, hello *serverHelloMsg) (*serverKeyExchangeMsg, error) {
		key_agreement.go#L50: func (ka rsaKeyAgreement) processClientKeyExchange(config *Config, cert *Certificate, ckx *clientKeyExchangeMsg, version uint16) ([]byte, error) {
		key_agreement.go#L78: func (ka rsaKeyAgreement) processServerKeyExchange(config *Config, clientHello *clientHelloMsg, serverHello *serverHelloMsg, cert *x509.Certificate, skx *serverKeyExchangeMsg) error {
		key_agreement.go#L82: func (ka rsaKeyAgreement) generateClientKeyExchange(config *Config, clientHello *clientHelloMsg, cert *x509.Certificate) ([]byte, *clientKeyExchangeMsg, error) {
		key_agreement.go#L158: func (ka *ecdheKeyAgreement) generateServerKeyExchange(config *Config, cert *Certificate, clientHello *clientHelloMsg, hello *serverHelloMsg) (*serverKeyExchangeMsg, error) {
		key_agreement.go#L254: func (ka *ecdheKeyAgreement) processClientKeyExchange(config *Config, cert *Certificate, ckx *clientKeyExchangeMsg, version uint16) ([]byte, error) {
		key_agreement.go#L271: func (ka *ecdheKeyAgreement) processServerKeyExchange(config *Config, clientHello *clientHelloMsg, serverHello *serverHelloMsg, cert *x509.Certificate, skx *serverKeyExchangeMsg) error {
		key_agreement.go#L375: func (ka *ecdheKeyAgreement) generateClientKeyExchange(config *Config, clientHello *clientHelloMsg, cert *x509.Certificate) ([]byte, *clientKeyExchangeMsg, error) {
		quic.go#L52: 	TLSConfig *Config
		ticket.go#L316: func (c *Config) EncryptTicket(cs ConnectionState, ss *SessionState) ([]byte, error) {
		ticket.go#L325: func (c *Config) encryptTicket(state []byte, ticketKeys []ticketKey) ([]byte, error) {
		ticket.go#L357: func (c *Config) DecryptTicket(identity []byte, cs ConnectionState) (*SessionState, error) {
		ticket.go#L370: func (c *Config) decryptTicket(encrypted []byte, ticketKeys []ticketKey) []byte {
		tls.go#L46: func Server(conn net.Conn, config *Config) *Conn {
		tls.go#L59: func Client(conn net.Conn, config *Config) *Conn {
		tls.go#L72: 	config *Config
		tls.go#L89: func NewListener(inner net.Listener, config *Config) net.Listener {
		tls.go#L100: func Listen(network, laddr string, config *Config) (net.Listener, error) {
		tls.go#L131: func DialWithDialer(dialer *net.Dialer, network, addr string, config *Config) (*Conn, error) {
		tls.go#L135: func dial(ctx context.Context, netDialer *net.Dialer, network, addr string, config *Config) (*Conn, error) {
		tls.go#L185: func Dial(network, addr string, config *Config) (*Conn, error) {
		tls.go#L201: 	Config *Config

	github.com/jackc/pgx/v5/pgconn
		config.go#L40: 	TLSConfig      *tls.Config // nil disables TLS
		config.go#L185: 	TLSConfig *tls.Config // nil disables TLS
		config.go#L193: 	tlsConfig        *tls.Config // nil disables TLS
		config.go#L458: 		var tlsConfigs []*tls.Config
		config.go#L776: func configTLS(settings map[string]string, thisHost string, parseConfigOptions ParseConfigOptions) ([]*tls.Config, error) {
		config.go#L794: 	tlsConfig := &tls.Config{}
		config.go#L835: 		return []*tls.Config{nil}, nil
		config.go#L957: 		return []*tls.Config{nil, tlsConfig}, nil
		config.go#L959: 		return []*tls.Config{tlsConfig, nil}, nil
		config.go#L961: 		return []*tls.Config{tlsConfig}, nil
		pgconn.go#L79: 	tlsConfig         *tls.Config       // tls.Config that conn was negotiated with; nil if conn is not TLS
		pgconn.go#L543: func startTLS(conn net.Conn, tlsConfig *tls.Config) (net.Conn, error) {
		pgconn.go#L2175: 	TLSConfig         *tls.Config       // tls.Config that Conn was negotiated with; nil if Conn is not TLS

	golang.org/x/net/http2
		server_wrap.go#L54: 		s.TLSConfig = new(tls.Config)
		transport_common.go#L58: 	DialTLSContext func(ctx context.Context, network, addr string, cfg *tls.Config) (net.Conn, error)
		transport_common.go#L66: 	DialTLS func(network, addr string, cfg *tls.Config) (net.Conn, error)
		transport_common.go#L72: 	TLSClientConfig *tls.Config
		transport_common.go#L447: func (t *Transport) dialTLS(ctx context.Context, network, addr string, tlsCfg *tls.Config) (net.Conn, error) {
		transport_common.go#L470: func (t *Transport) dialTLSWithContext(ctx context.Context, network, addr string, cfg *tls.Config) (*tls.Conn, error) {
		transport_wrap.go#L38: 		t1.TLSClientConfig = &tls.Config{}
		transport_wrap.go#L342: 		tlsConf = &tls.Config{}

	google.golang.org/grpc/credentials
		tls.go#L101: 	config *tls.Config
		tls.go#L222: func NewTLS(c *tls.Config) TransportCredentials {
		tls.go#L226: 		config.GetConfigForClient = func(hello *tls.ClientHelloInfo) (*tls.Config, error) {
		tls.go#L237: func applyDefaults(c *tls.Config) *tls.Config {
		tls.go#L270: 	return NewTLS(&tls.Config{ServerName: serverNameOverride, RootCAs: cp})
		tls.go#L292: 	return NewTLS(&tls.Config{ServerName: serverNameOverride, RootCAs: cp}), nil
		tls.go#L297: 	return NewTLS(&tls.Config{Certificates: []tls.Certificate{*cert}})
		tls.go#L307: 	return NewTLS(&tls.Config{Certificates: []tls.Certificate{cert}}), nil

	google.golang.org/grpc/internal/credentials
		util.go#L46: func CloneTLSConfig(cfg *tls.Config) *tls.Config {
		util.go#L48: 		return &tls.Config{}

	net/http
		http2.go#L64: 		s.TLSConfig = &tls.Config{}
		http2.go#L286: 		t.TLSClientConfig = &tls.Config{}
		server.go#L3080: 	TLSConfig *tls.Config
		server.go#L3608: func (s *Server) setupTLSConfig(certFile, keyFile string, nextProtos []string) (*tls.Config, error) {
		server.go#L3858: 	tlsConfig   *tls.Config
		server.go#L3878: func (h *http3ServerHandler) TLSConfig() *tls.Config {
		transport.go#L186: 	TLSClientConfig *tls.Config
		transport.go#L3444: func cloneTLSConfig(cfg *tls.Config) *tls.Config {
		transport.go#L3446: 		return &tls.Config{}

	net/http/internal/http2
		server.go#L151: func (s *Server) Configure(conf ServerConfig, tcfg *tls.Config) error {
		transport.go#L561: func (t *Transport) newTLSConfig(host string) *tls.Config {
		transport.go#L562: 	cfg := new(tls.Config)
		transport.go#L572: func (t *Transport) dialTLS(ctx context.Context, network, addr string, tlsCfg *tls.Config) (net.Conn, error) {
		transport.go#L3257: func (t *Transport) dialTLSWithContext(ctx context.Context, network, addr string, cfg *tls.Config) (*tls.Conn, error) {