type crypto/tls.Conn

100 uses

	crypto/tls (current package)
		conn.go#L27: type Conn struct {
		conn.go#L131: func (c *Conn) LocalAddr() net.Addr {
		conn.go#L136: func (c *Conn) RemoteAddr() net.Addr {
		conn.go#L143: func (c *Conn) SetDeadline(t time.Time) error {
		conn.go#L149: func (c *Conn) SetReadDeadline(t time.Time) error {
		conn.go#L156: func (c *Conn) SetWriteDeadline(t time.Time) error {
		conn.go#L163: func (c *Conn) NetConn() net.Conn {
		conn.go#L580: func (c *Conn) newRecordHeaderError(conn net.Conn, msg string) (err RecordHeaderError) {
		conn.go#L587: func (c *Conn) readRecord() error {
		conn.go#L591: func (c *Conn) readChangeCipherSpec() error {
		conn.go#L609: func (c *Conn) readRecordOrCCS(expectChangeCipherSpec bool) error {
		conn.go#L794: func (c *Conn) retryReadRecord(expectChangeCipherSpec bool) error {
		conn.go#L805: func (c *Conn) readFromUntil(r io.Reader, n int) error {
		conn.go#L841: func (c *Conn) sendAlertLocked(err alert) error {
		conn.go#L864: func (c *Conn) sendAlert(err alert) error {
		conn.go#L900: func (c *Conn) maxPayloadSizeForWrite(typ recordType) int {
		conn.go#L947: func (c *Conn) write(data []byte) (int, error) {
		conn.go#L958: func (c *Conn) flush() (int, error) {
		conn.go#L979: func (c *Conn) writeRecordLocked(typ recordType, data []byte) (int, error) {
		conn.go#L1053: func (c *Conn) writeHandshakeRecord(msg handshakeMessage, transcript transcriptHash) (int, error) {
		conn.go#L1070: func (c *Conn) writeChangeCipherRecord() error {
		conn.go#L1078: func (c *Conn) readHandshakeBytes(n int) error {
		conn.go#L1093: func (c *Conn) readHandshake(transcript transcriptHash) (any, error) {
		conn.go#L1122: func (c *Conn) unmarshalHandshakeMessage(data []byte, transcript transcriptHash) (handshakeMessage, error) {
		conn.go#L1201: func (c *Conn) Write(b []byte) (int, error) {
		conn.go#L1258: func (c *Conn) handleRenegotiation() error {
		conn.go#L1304: func (c *Conn) handlePostHandshakeMessage() error {
		conn.go#L1333: func (c *Conn) handleKeyUpdate(keyUpdate *keyUpdateMsg) error {
		conn.go#L1378: func (c *Conn) Read(b []byte) (int, error) {
		conn.go#L1422: func (c *Conn) Close() error {
		conn.go#L1462: func (c *Conn) CloseWrite() error {
		conn.go#L1470: func (c *Conn) closeNotify() error {
		conn.go#L1498: func (c *Conn) Handshake() error {
		conn.go#L1512: func (c *Conn) HandshakeContext(ctx context.Context) error {
		conn.go#L1518: func (c *Conn) handshakeContext(ctx context.Context) (ret error) {
		conn.go#L1613: func (c *Conn) ConnectionState() ConnectionState {
		conn.go#L1619: func (c *Conn) connectionStateLocked() ConnectionState {
		conn.go#L1656: func (c *Conn) OCSPResponse() []byte {
		conn.go#L1666: func (c *Conn) VerifyHostname(host string) error {
		conn.go#L1684: func (c *Conn) setReadTrafficSecret(suite *cipherSuiteTLS13, level QUICEncryptionLevel, secret []byte, locked bool) error {
		conn.go#L1703: func (c *Conn) setWriteTrafficSecret(suite *cipherSuiteTLS13, level QUICEncryptionLevel, secret []byte) {
		ech.go#L567: func (c *Conn) processECHClientHello(outer *clientHelloMsg, echKeys []EncryptedClientHelloKey) (*clientHelloMsg, *echServerContext, error) {
		handshake_client.go#L33: 	c            *Conn
		handshake_client.go#L44: func (c *Conn) makeClientHello() (*clientHelloMsg, *keySharePrivateKeys, *echClientContext, error) {
		handshake_client.go#L222: func (c *Conn) clientHandshake(ctx context.Context) (err error) {
		handshake_client.go#L357: func (c *Conn) loadSession(hello *clientHelloMsg) (
		handshake_client.go#L512: func (c *Conn) pickTLSVersion(serverHello *serverHelloMsg) error {
		handshake_client.go#L1105: func (c *Conn) verifyServerCertificate(certificates [][]byte) error {
		handshake_client.go#L1274: func (c *Conn) getClientCertificate(cri *CertificateRequestInfo) (*Certificate, error) {
		handshake_client.go#L1292: func (c *Conn) clientSessionCacheKey() string {
		handshake_client_tls13.go#L23: 	c            *Conn
		handshake_client_tls13.go#L837: func (c *Conn) handleNewSessionTicket(msg *newSessionTicketMsgTLS13) error {
		handshake_server.go#L27: 	c            *Conn
		handshake_server.go#L43: func (c *Conn) serverHandshake(ctx context.Context) error {
		handshake_server.go#L135: func (c *Conn) readClientHello(ctx context.Context) (*clientHelloMsg, *echServerContext, error) {
		handshake_server.go#L943: func (c *Conn) processCertsFromClient(certificate Certificate) error {
		handshake_server.go#L1029: func clientHelloInfo(ctx context.Context, c *Conn, clientHello *clientHelloMsg) *ClientHelloInfo {
		handshake_server_tls13.go#L46: 	c               *Conn
		handshake_server_tls13.go#L974: func (c *Conn) sendSessionTicket(earlyData bool, extra [][]byte) error {
		quic.go#L45: 	conn *Conn
		quic.go#L198: func newQUICConn(conn *Conn, config *QUICConfig) *QUICConn {
		quic.go#L396: func (c *Conn) quicReadHandshakeBytes(n int) error {
		quic.go#L405: func (c *Conn) quicSetReadSecret(level QUICEncryptionLevel, suite uint16, secret []byte) error {
		quic.go#L423: func (c *Conn) quicSetWriteSecret(level QUICEncryptionLevel, suite uint16, secret []byte) {
		quic.go#L432: func (c *Conn) quicWriteCryptoData(level QUICEncryptionLevel, data []byte) {
		quic.go#L447: func (c *Conn) quicResumeSession(session *SessionState) error {
		quic.go#L461: func (c *Conn) quicStoreSession(session *SessionState) {
		quic.go#L468: func (c *Conn) quicSetTransportParameters(params []byte) {
		quic.go#L475: func (c *Conn) quicGetTransportParameters() ([]byte, error) {
		quic.go#L489: func (c *Conn) quicHandshakeComplete() {
		quic.go#L495: func (c *Conn) quicRejectedEarlyData() {
		quic.go#L506: func (c *Conn) quicWaitForSignal() error {
		ticket.go#L298: func (c *Conn) sessionState() *SessionState {
		tls.go#L46: func Server(conn net.Conn, config *Config) *Conn {
		tls.go#L47: 	c := &Conn{
		tls.go#L59: func Client(conn net.Conn, config *Config) *Conn {
		tls.go#L60: 	c := &Conn{
		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) {

	github.com/jackc/pgx/v5/pgconn
		auth_scram.go#L56: 	if tlsConn, ok := c.conn.(*tls.Conn); ok && c.config.ChannelBinding != "disable" {
		auth_scram.go#L378: func getTLSCertificateHash(conn *tls.Conn) ([]byte, error) {

	golang.org/x/net/http2
		transport_common.go#L470: func (t *Transport) dialTLSWithContext(ctx context.Context, network, addr string, cfg *tls.Config) (*tls.Conn, error) {
		transport_common.go#L478: 	tlsCn := cn.(*tls.Conn) // DialContext comment promises this will always succeed
		unencrypted.go#L24: func unencryptedNetConnFromTLSConn(tc *tls.Conn) (net.Conn, error) {

	net/http
		http2.go#L74: 		s.TLSNextProto = make(map[string]func(*Server, *tls.Conn, Handler))
		http2.go#L78: 	s.TLSNextProto["h2"] = func(hs *Server, c *tls.Conn, h Handler) {
		http2.go#L296: 		t.TLSNextProto = make(map[string]func(authority string, c *tls.Conn) RoundTripper)
		http2.go#L300: 	t.TLSNextProto["h2"] = func(authority string, c *tls.Conn) RoundTripper {
		server.go#L2027: 		tlsConn, tlsConnOK := c.rwc.(*tls.Conn)
		server.go#L2238: func unencryptedTLSConn(c net.Conn) *tls.Conn {
		server.go#L2247: 	var nextFunc func(*Server, *tls.Conn, Handler)
		server.go#L3143: 	TLSNextProto map[string]func(*Server, *tls.Conn, Handler)
		server.go#L4205: 	c   *tls.Conn
		transport.go#L259: 	TLSNextProto map[string]func(authority string, c *tls.Conn) RoundTripper
		transport.go#L383: 			npm = make(map[string]func(authority string, c *tls.Conn) RoundTripper)
		transport.go#L2109: 		tlsConn, tlsConnOK := pconn.conn.(*tls.Conn)

	net/http/internal/http2
		transport.go#L930: 	tc, ok := cc.tconn.(*tls.Conn)
		transport.go#L3257: func (t *Transport) dialTLSWithContext(ctx context.Context, network, addr string, cfg *tls.Config) (*tls.Conn, error) {
		transport.go#L3265: 	tlsCn := cn.(*tls.Conn) // DialContext comment promises this will always succeed