github.com/refraction-networking/utls.UConn.HandshakeState (field)
82 uses
github.com/refraction-networking/utls (current package)
handshake_client_tls13.go#L441: hs.hello.original = hs.uconn.HandshakeState.Hello.Raw
handshake_client_tls13.go#L462: hs.hello.original = hs.uconn.HandshakeState.Hello.Raw
u_conn.go#L39: HandshakeState PubClientHandshakeState
u_conn.go#L70: uconn := UConn{Conn: &tlsConn, ClientHelloID: clientHelloID, HandshakeState: handshakeState}
u_conn.go#L71: uconn.HandshakeState.uconn = &uconn
u_conn.go#L121: uconn.HandshakeState.Hello = hello.getPublicPtr()
u_conn.go#L122: uconn.HandshakeState.State13.KeyShareKeys = keySharePrivate.ToPublic()
u_conn.go#L123: uconn.HandshakeState.C = uconn.Conn
u_conn.go#L176: hello := uconn.HandshakeState.Hello.getPrivatePtr()
u_conn.go#L195: helloLen := len(uconn.HandshakeState.Hello.Raw)
u_conn.go#L200: uAssert(helloLen == len(uconn.HandshakeState.Hello.Raw), "tls: uApplyPatch Failed: the patch should never change the length of the marshaled clientHello")
u_conn.go#L244: uconn.HandshakeState.Hello.TicketSupported = true
u_conn.go#L251: uconn.HandshakeState.Hello.TicketSupported = true
u_conn.go#L261: uconn.HandshakeState.Hello.Random = make([]byte, 32)
u_conn.go#L262: copy(uconn.HandshakeState.Hello.Random, r)
u_conn.go#L543: serializedOuter := uconn.HandshakeState.Hello.Raw
u_conn.go#L575: inner.keyShares = KeyShares(uconn.HandshakeState.Hello.KeyShares).ToPrivate()
u_conn.go#L576: inner.supportedSignatureAlgorithms = uconn.HandshakeState.Hello.SupportedSignatureAlgorithms
u_conn.go#L577: inner.sessionId = uconn.HandshakeState.Hello.SessionId
u_conn.go#L578: inner.supportedCurves = uconn.HandshakeState.Hello.SupportedCurves
u_conn.go#L599: hello := uconn.HandshakeState.Hello
u_conn.go#L748: uconn.HandshakeState.Hello.SupportedVersions = makeSupportedVersions(minTLSVers, maxTLSVers)
u_handshake_client.go#L385: hello := c.HandshakeState.Hello.getPrivatePtr()
u_handshake_client.go#L387: defer func() { c.HandshakeState.Hello = hello.getPublicPtr() }()
u_handshake_client.go#L439: session = c.HandshakeState.Session
u_handshake_client.go#L441: if c.HandshakeState.State13.EarlySecret != nil && session != nil {
u_handshake_client.go#L443: earlySecret = tls13.NewEarlySecretFromSecret(cipherSuite.hash.New, c.HandshakeState.State13.EarlySecret)
u_handshake_client.go#L446: binderKey = c.HandshakeState.State13.BinderKey
u_handshake_client.go#L536: c.HandshakeState.ServerHello = serverHello.getPublicPtr()
u_handshake_client.go#L538: hs13 := c.HandshakeState.toPrivate13()
u_handshake_client.go#L542: if c.HandshakeState.State13.EarlySecret != nil && session.cipherSuite != 0 {
u_handshake_client.go#L543: hs13.earlySecret = tls13.NewEarlySecretFromSecret(cipherSuiteTLS13ByID(session.cipherSuite).hash.New, c.HandshakeState.State13.EarlySecret)
u_handshake_client.go#L545: if c.HandshakeState.MasterSecret != nil && session.cipherSuite != 0 {
u_handshake_client.go#L546: hs13.masterSecret = tls13.NewMasterSecretFromSecret(cipherSuiteTLS13ByID(session.cipherSuite).hash.New, c.HandshakeState.MasterSecret)
u_handshake_client.go#L557: c.HandshakeState = *handshakeState
u_handshake_client.go#L562: hs12 := c.HandshakeState.toPrivate12()
u_handshake_client.go#L569: c.HandshakeState = *handshakeState
u_parrots.go#L2779: uconn.HandshakeState.Hello = privateHello.getPublicPtr()
u_parrots.go#L2781: uconn.HandshakeState.State13.KeyShareKeys = clientKeySharePrivate.ToPublic()
u_parrots.go#L2783: uconn.HandshakeState.State13.KeyShareKeys = &KeySharePrivateKeys{}
u_parrots.go#L2786: hello := uconn.HandshakeState.Hello
u_parrots.go#L2839: uconn.HandshakeState.Hello.SessionId = sessionID[:]
u_parrots.go#L2906: uconn.HandshakeState.State13.KeyShareKeys.Mlkem = mlkemKey
u_parrots.go#L2907: uconn.HandshakeState.State13.KeyShareKeys.MlkemEcdhe = ecdheKey
u_parrots.go#L2918: uconn.HandshakeState.State13.KeyShareKeys.Ecdhe = ecdheKey
u_pre_shared_key.go#L158: uc.HandshakeState.Hello.TicketSupported = true // This doesn't matter though, as utls doesn't care about this field. We write this for consistency.
u_pre_shared_key.go#L348: uc.HandshakeState.Hello.PskIdentities = e.Identities
u_pre_shared_key.go#L349: uc.HandshakeState.Hello.PskBinders = e.Binders
u_session_controller.go#L191: s.uconnRef.HandshakeState.Session = s.sessionTicketExt.GetSession()
u_session_controller.go#L192: s.uconnRef.HandshakeState.Hello.SessionTicket = s.sessionTicketExt.GetTicket()
u_session_controller.go#L201: s.uconnRef.HandshakeState.State13.EarlySecret = pskCommon.EarlySecret
u_session_controller.go#L202: s.uconnRef.HandshakeState.Session = pskCommon.Session
u_session_controller.go#L203: s.uconnRef.HandshakeState.Hello.PskIdentities = pskCommon.Identities
u_session_controller.go#L204: s.uconnRef.HandshakeState.Hello.PskBinders = pskCommon.Binders
u_session_controller.go#L206: uAssert(s.uconnRef.HandshakeState.Session == pskCommon.Session && sliceEq(s.uconnRef.HandshakeState.State13.EarlySecret, pskCommon.EarlySecret) &&
u_session_controller.go#L207: allTrue(s.uconnRef.HandshakeState.Hello.PskIdentities, func(i int, psk *PskIdentity) bool {
u_session_controller.go#L211: s.uconnRef.HandshakeState.State13.BinderKey = pskCommon.BinderKey
u_session_controller.go#L228: s.pskExtension.PatchBuiltHello(s.uconnRef.HandshakeState.Hello)
u_session_controller.go#L302: s.uconnRef.HandshakeState.Session = nil
u_session_controller.go#L303: s.uconnRef.HandshakeState.Hello.SessionTicket = nil
u_session_controller.go#L310: s.uconnRef.HandshakeState.State13.BinderKey = nil
u_session_controller.go#L311: s.uconnRef.HandshakeState.State13.EarlySecret = nil
u_session_controller.go#L312: s.uconnRef.HandshakeState.Session = nil
u_session_controller.go#L313: s.uconnRef.HandshakeState.Hello.PskIdentities = nil
u_session_ticket.go#L30: uc.HandshakeState.Hello.TicketSupported = true // This doesn't really matter, this field is only used to add session ticket ext in go tls.
u_tls_extensions.go#L206: uc.HandshakeState.Hello.ServerName = hostName
u_tls_extensions.go#L258: uc.HandshakeState.Hello.OcspStapling = true
u_tls_extensions.go#L334: uc.HandshakeState.Hello.SupportedCurves = e.Curves
u_tls_extensions.go#L395: uc.HandshakeState.Hello.SupportedPoints = e.SupportedPoints
u_tls_extensions.go#L471: uc.HandshakeState.Hello.SupportedSignatureAlgorithms = e.SupportedSignatureAlgorithms
u_tls_extensions.go#L480: uc.HandshakeState.Hello.OcspStapling = true
u_tls_extensions.go#L604: uc.HandshakeState.Hello.SupportedSignatureAlgorithms = e.SupportedSignatureAlgorithms
u_tls_extensions.go#L615: uc.HandshakeState.Hello.AlpnProtocols = e.AlpnProtocols
u_tls_extensions.go#L841: uc.HandshakeState.Hello.Scts = true
u_tls_extensions.go#L928: uc.HandshakeState.Hello.Ems = true
u_tls_extensions.go#L1298: uc.HandshakeState.Hello.KeyShares = e.KeyShares
u_tls_extensions.go#L1423: uc.HandshakeState.Hello.PskModes = e.Modes
u_tls_extensions.go#L1451: uc.HandshakeState.Hello.SupportedVersions = e.Versions
u_tls_extensions.go#L1598: uc.HandshakeState.Hello.NextProtoNeg = true
u_tls_extensions.go#L1692: uc.HandshakeState.Hello.SecureRenegotiationSupported = true
github.com/gotd/td/mtproxy/faketls
client_hello.go#L51: hello := conn.HandshakeState.Hello.Raw
 |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |