type crypto/tls.Conn

86 uses

	crypto/tls (current package)
		conn.go#L27: type Conn struct {
		conn.go#L125: func (c *Conn) LocalAddr() net.Addr {
		conn.go#L130: func (c *Conn) RemoteAddr() net.Addr {
		conn.go#L137: func (c *Conn) SetDeadline(t time.Time) error {
		conn.go#L143: func (c *Conn) SetReadDeadline(t time.Time) error {
		conn.go#L150: func (c *Conn) SetWriteDeadline(t time.Time) error {
		conn.go#L157: func (c *Conn) NetConn() net.Conn {
		conn.go#L573: func (c *Conn) newRecordHeaderError(conn net.Conn, msg string) (err RecordHeaderError) {
		conn.go#L580: func (c *Conn) readRecord() error {
		conn.go#L584: func (c *Conn) readChangeCipherSpec() error {
		conn.go#L600: func (c *Conn) readRecordOrCCS(expectChangeCipherSpec bool) error {
		conn.go#L763: func (c *Conn) retryReadRecord(expectChangeCipherSpec bool) error {
		conn.go#L797: func (c *Conn) readFromUntil(r io.Reader, n int) error {
		conn.go#L811: func (c *Conn) sendAlertLocked(err alert) error {
		conn.go#L830: func (c *Conn) sendAlert(err alert) error {
		conn.go#L866: func (c *Conn) maxPayloadSizeForWrite(typ recordType) int {
		conn.go#L913: func (c *Conn) write(data []byte) (int, error) {
		conn.go#L924: func (c *Conn) flush() (int, error) {
		conn.go#L945: func (c *Conn) writeRecordLocked(typ recordType, data []byte) (int, error) {
		conn.go#L1005: func (c *Conn) writeRecord(typ recordType, data []byte) (int, error) {
		conn.go#L1014: func (c *Conn) readHandshake() (any, error) {
		conn.go#L1106: func (c *Conn) Write(b []byte) (int, error) {
		conn.go#L1163: func (c *Conn) handleRenegotiation() error {
		conn.go#L1209: func (c *Conn) handlePostHandshakeMessage() error {
		conn.go#L1236: func (c *Conn) handleKeyUpdate(keyUpdate *keyUpdateMsg) error {
		conn.go#L1270: func (c *Conn) Read(b []byte) (int, error) {
		conn.go#L1314: func (c *Conn) Close() error {
		conn.go#L1354: func (c *Conn) CloseWrite() error {
		conn.go#L1362: func (c *Conn) closeNotify() error {
		conn.go#L1385: func (c *Conn) Handshake() error {
		conn.go#L1399: func (c *Conn) HandshakeContext(ctx context.Context) error {
		conn.go#L1405: func (c *Conn) handshakeContext(ctx context.Context) (ret error) {
		conn.go#L1469: func (c *Conn) ConnectionState() ConnectionState {
		conn.go#L1475: func (c *Conn) connectionStateLocked() ConnectionState {
		conn.go#L1505: func (c *Conn) OCSPResponse() []byte {
		conn.go#L1515: func (c *Conn) VerifyHostname(host string) error {
		conn.go#L1530: func (c *Conn) handshakeComplete() bool {
		handshake_client.go#L27: 	c            *Conn
		handshake_client.go#L37: func (c *Conn) makeClientHello() (*clientHelloMsg, ecdheParameters, error) {
		handshake_client.go#L145: func (c *Conn) clientHandshake(ctx context.Context) (err error) {
		handshake_client.go#L243: func (c *Conn) loadSession(hello *clientHelloMsg) (cacheKey string,
		handshake_client.go#L359: func (c *Conn) pickTLSVersion(serverHello *serverHelloMsg) error {
		handshake_client.go#L846: func (c *Conn) verifyServerCertificate(certificates [][]byte) error {
		handshake_client.go#L968: func (c *Conn) getClientCertificate(cri *CertificateRequestInfo) (*Certificate, error) {
		handshake_client_tls13.go#L20: 	c           *Conn
		handshake_client_tls13.go#L634: func (c *Conn) handleNewSessionTicket(msg *newSessionTicketMsgTLS13) error {
		handshake_server.go#L26: 	c            *Conn
		handshake_server.go#L42: func (c *Conn) serverHandshake(ctx context.Context) error {
		handshake_server.go#L131: func (c *Conn) readClientHello(ctx context.Context) (*clientHelloMsg, error) {
		handshake_server.go#L797: func (c *Conn) processCertsFromClient(certificate Certificate) error {
		handshake_server.go#L857: func clientHelloInfo(ctx context.Context, c *Conn, clientHello *clientHelloMsg) *ClientHelloInfo {
		handshake_server_tls13.go#L26: 	c               *Conn
		ticket.go#L119: func (c *Conn) encryptTicket(state []byte) ([]byte, error) {
		ticket.go#L147: func (c *Conn) decryptTicket(encrypted []byte) (plaintext []byte, usedOldKey bool) {
		tls.go#L34: func Server(conn net.Conn, config *Config) *Conn {
		tls.go#L35: 	c := &Conn{
		tls.go#L47: func Client(conn net.Conn, config *Config) *Conn {
		tls.go#L48: 	c := &Conn{
		tls.go#L116: func DialWithDialer(dialer *net.Dialer, network, addr string, config *Config) (*Conn, error) {
		tls.go#L120: func dial(ctx context.Context, netDialer *net.Dialer, network, addr string, config *Config) (*Conn, error) {
		tls.go#L170: func Dial(network, addr string, config *Config) (*Conn, error) {

	golang.org/x/net/http2
		client_conn_pool.go#L161: func (p *clientConnPool) addConnIfNeeded(key string, t *Transport, c *tls.Conn) (used bool, err error) {
		client_conn_pool.go#L197: func (c *addConnCall) run(t *Transport, key string, tc *tls.Conn) {
		go115.go#L17: func (t *Transport) dialTLSWithContext(ctx context.Context, network, addr string, cfg *tls.Config) (*tls.Conn, error) {
		go115.go#L25: 	tlsCn := cn.(*tls.Conn) // DialContext comment promises this will always succeed
		go118.go#L15: func tlsUnderlyingConn(tc *tls.Conn) net.Conn {
		server.go#L303: 		s.TLSNextProto = map[string]func(*http.Server, *tls.Conn, http.Handler){}
		server.go#L305: 	protoHandler := func(hs *http.Server, c *tls.Conn, h http.Handler) {
		transport.go#L252: 	upgradeFn := func(authority string, c *tls.Conn) http.RoundTripper {
		transport.go#L267: 		t1.TLSNextProto = map[string]func(string, *tls.Conn) http.RoundTripper{
		transport.go#L1013: 	tc, ok := cc.tconn.(*tls.Conn)

	net/http
		h2_bundle.go#L881: func (p *http2clientConnPool) addConnIfNeeded(key string, t *http2Transport, c *tls.Conn) (used bool, err error) {
		h2_bundle.go#L917: func (c *http2addConnCall) run(t *http2Transport, key string, tc *tls.Conn) {
		h2_bundle.go#L3001: func (t *http2Transport) dialTLSWithContext(ctx context.Context, network, addr string, cfg *tls.Config) (*tls.Conn, error) {
		h2_bundle.go#L3009: 	tlsCn := cn.(*tls.Conn) // DialContext comment promises this will always succeed
		h2_bundle.go#L3990: 		s.TLSNextProto = map[string]func(*Server, *tls.Conn, Handler){}
		h2_bundle.go#L3992: 	protoHandler := func(hs *Server, c *tls.Conn, h Handler) {
		h2_bundle.go#L6924: 	upgradeFn := func(authority string, c *tls.Conn) RoundTripper {
		h2_bundle.go#L6939: 		t1.TLSNextProto = map[string]func(string, *tls.Conn) RoundTripper{
		server.go#L1841: 	if tlsConn, ok := c.rwc.(*tls.Conn); ok {
		server.go#L2630: 	TLSNextProto map[string]func(*Server, *tls.Conn, Handler)
		server.go#L3502: 	c   *tls.Conn
		transport.go#L239: 	TLSNextProto map[string]func(authority string, c *tls.Conn) RoundTripper
		transport.go#L336: 		npm := map[string]func(authority string, c *tls.Conn) RoundTripper{}
		transport.go#L1587: 		if tc, ok := pconn.conn.(*tls.Conn); ok {
		transport.go#L1738: 			alt := next(cm.targetAddr, pconn.conn.(*tls.Conn))