type crypto/tls.Conn
92 uses
crypto/tls (current package)
conn.go#L27: type Conn struct {
conn.go#L129: func (c *Conn) LocalAddr() net.Addr {
conn.go#L134: func (c *Conn) RemoteAddr() net.Addr {
conn.go#L141: func (c *Conn) SetDeadline(t time.Time) error {
conn.go#L147: func (c *Conn) SetReadDeadline(t time.Time) error {
conn.go#L154: func (c *Conn) SetWriteDeadline(t time.Time) error {
conn.go#L161: func (c *Conn) NetConn() net.Conn {
conn.go#L579: func (c *Conn) newRecordHeaderError(conn net.Conn, msg string) (err RecordHeaderError) {
conn.go#L586: func (c *Conn) readRecord() error {
conn.go#L590: func (c *Conn) readChangeCipherSpec() error {
conn.go#L608: func (c *Conn) readRecordOrCCS(expectChangeCipherSpec bool) error {
conn.go#L784: func (c *Conn) retryReadRecord(expectChangeCipherSpec bool) error {
conn.go#L818: func (c *Conn) readFromUntil(r io.Reader, n int) error {
conn.go#L832: func (c *Conn) sendAlertLocked(err alert) error {
conn.go#L855: func (c *Conn) sendAlert(err alert) error {
conn.go#L891: func (c *Conn) maxPayloadSizeForWrite(typ recordType) int {
conn.go#L938: func (c *Conn) write(data []byte) (int, error) {
conn.go#L949: func (c *Conn) flush() (int, error) {
conn.go#L970: func (c *Conn) writeRecordLocked(typ recordType, data []byte) (int, error) {
conn.go#L1044: func (c *Conn) writeHandshakeRecord(msg handshakeMessage, transcript transcriptHash) (int, error) {
conn.go#L1061: func (c *Conn) writeChangeCipherRecord() error {
conn.go#L1069: func (c *Conn) readHandshakeBytes(n int) error {
conn.go#L1084: func (c *Conn) readHandshake(transcript transcriptHash) (any, error) {
conn.go#L1101: func (c *Conn) unmarshalHandshakeMessage(data []byte, transcript transcriptHash) (handshakeMessage, error) {
conn.go#L1180: func (c *Conn) Write(b []byte) (int, error) {
conn.go#L1237: func (c *Conn) handleRenegotiation() error {
conn.go#L1283: func (c *Conn) handlePostHandshakeMessage() error {
conn.go#L1312: func (c *Conn) handleKeyUpdate(keyUpdate *keyUpdateMsg) error {
conn.go#L1355: func (c *Conn) Read(b []byte) (int, error) {
conn.go#L1399: func (c *Conn) Close() error {
conn.go#L1439: func (c *Conn) CloseWrite() error {
conn.go#L1447: func (c *Conn) closeNotify() error {
conn.go#L1475: func (c *Conn) Handshake() error {
conn.go#L1489: func (c *Conn) HandshakeContext(ctx context.Context) error {
conn.go#L1495: func (c *Conn) handshakeContext(ctx context.Context) (ret error) {
conn.go#L1596: func (c *Conn) ConnectionState() ConnectionState {
conn.go#L1602: func (c *Conn) connectionStateLocked() ConnectionState {
conn.go#L1632: func (c *Conn) OCSPResponse() []byte {
conn.go#L1642: func (c *Conn) VerifyHostname(host string) error {
handshake_client.go#L29: c *Conn
handshake_client.go#L42: func (c *Conn) makeClientHello() (*clientHelloMsg, *ecdh.PrivateKey, error) {
handshake_client.go#L173: func (c *Conn) clientHandshake(ctx context.Context) (err error) {
handshake_client.go#L281: func (c *Conn) loadSession(hello *clientHelloMsg) (
handshake_client.go#L417: func (c *Conn) pickTLSVersion(serverHello *serverHelloMsg) error {
handshake_client.go#L961: func (c *Conn) verifyServerCertificate(certificates [][]byte) error {
handshake_client.go#L1094: func (c *Conn) getClientCertificate(cri *CertificateRequestInfo) (*Certificate, error) {
handshake_client.go#L1112: func (c *Conn) clientSessionCacheKey() string {
handshake_client_tls13.go#L20: c *Conn
handshake_client_tls13.go#L722: func (c *Conn) handleNewSessionTicket(msg *newSessionTicketMsgTLS13) error {
handshake_server.go#L25: c *Conn
handshake_server.go#L41: func (c *Conn) serverHandshake(ctx context.Context) error {
handshake_server.go#L132: func (c *Conn) readClientHello(ctx context.Context) (*clientHelloMsg, error) {
handshake_server.go#L858: func (c *Conn) processCertsFromClient(certificate Certificate) error {
handshake_server.go#L936: func clientHelloInfo(ctx context.Context, c *Conn, clientHello *clientHelloMsg) *ClientHelloInfo {
handshake_server_tls13.go#L26: c *Conn
handshake_server_tls13.go#L821: func (c *Conn) sendSessionTicket(earlyData bool) error {
quic.go#L44: conn *Conn
quic.go#L154: func newQUICConn(conn *Conn) *QUICConn {
quic.go#L317: func (c *Conn) quicReadHandshakeBytes(n int) error {
quic.go#L326: func (c *Conn) quicSetReadSecret(level QUICEncryptionLevel, suite uint16, secret []byte) {
quic.go#L335: func (c *Conn) quicSetWriteSecret(level QUICEncryptionLevel, suite uint16, secret []byte) {
quic.go#L344: func (c *Conn) quicWriteCryptoData(level QUICEncryptionLevel, data []byte) {
quic.go#L359: func (c *Conn) quicSetTransportParameters(params []byte) {
quic.go#L366: func (c *Conn) quicGetTransportParameters() ([]byte, error) {
quic.go#L380: func (c *Conn) quicHandshakeComplete() {
quic.go#L386: func (c *Conn) quicRejectedEarlyData() {
quic.go#L397: func (c *Conn) quicWaitForSignal() error {
ticket.go#L292: func (c *Conn) sessionState() (*SessionState, error) {
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) {
net/http
h2_bundle.go#L882: func (p *http2clientConnPool) addConnIfNeeded(key string, t *http2Transport, c *tls.Conn) (used bool, err error) {
h2_bundle.go#L918: func (c *http2addConnCall) run(t *http2Transport, key string, tc *tls.Conn) {
h2_bundle.go#L3080: func (t *http2Transport) dialTLSWithContext(ctx context.Context, network, addr string, cfg *tls.Config) (*tls.Conn, error) {
h2_bundle.go#L3088: tlsCn := cn.(*tls.Conn) // DialContext comment promises this will always succeed
h2_bundle.go#L3092: func http2tlsUnderlyingConn(tc *tls.Conn) net.Conn {
h2_bundle.go#L4115: s.TLSNextProto = map[string]func(*Server, *tls.Conn, Handler){}
h2_bundle.go#L4117: protoHandler := func(hs *Server, c *tls.Conn, h Handler) {
h2_bundle.go#L7336: upgradeFn := func(authority string, c *tls.Conn) RoundTripper {
h2_bundle.go#L7351: t1.TLSNextProto = map[string]func(string, *tls.Conn) RoundTripper{
h2_bundle.go#L8102: tc, ok := cc.tconn.(*tls.Conn)
server.go#L1884: if tlsConn, ok := c.rwc.(*tls.Conn); ok {
server.go#L2686: TLSNextProto map[string]func(*Server, *tls.Conn, Handler)
server.go#L3525: c *tls.Conn
transport.go#L244: TLSNextProto map[string]func(authority string, c *tls.Conn) RoundTripper
transport.go#L342: npm := map[string]func(authority string, c *tls.Conn) RoundTripper{}
transport.go#L1605: if tc, ok := pconn.conn.(*tls.Conn); ok {
transport.go#L1764: alt := next(cm.targetAddr, pconn.conn.(*tls.Conn))
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |