- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for EarlyData (0.13 sec)
-
src/crypto/tls/ticket.go
case 0: ss.extMasterSecret = false case 1: ss.extMasterSecret = true default: return nil, errors.New("tls: invalid session encoding") } switch earlyData { case 0: ss.EarlyData = false case 1: ss.EarlyData = true default: return nil, errors.New("tls: invalid session encoding") } for _, cert := range cert.Certificate { c, err := globalCertCache.newCert(cert)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 12.6K bytes - Viewed (0) -
src/crypto/tls/handshake_server_tls13.go
c.sendAlert(alertDecryptError) return errors.New("tls: invalid PSK binder") } if c.quic != nil && hs.clientHello.earlyData && i == 0 && sessionState.EarlyData && sessionState.cipherSuite == hs.suite.id && sessionState.alpnProtocol == c.clientProtocol { hs.earlyData = true transcript := hs.suite.hash.New() if err := transcriptMsg(hs.clientHello, transcript); err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 30.5K bytes - Viewed (0) -
src/crypto/tls/bogo_config.json
"SendHelloRetryRequest-2-TLS13": "TODO: first pass, this should be fixed", "EarlyData-SkipEndOfEarlyData-TLS13": "TODO: first pass, this should be fixed", "EarlyData-Server-BadFinished-TLS13": "TODO: first pass, this should be fixed", "EarlyData-UnexpectedHandshake-Server-TLS13": "TODO: first pass, this should be fixed", "EarlyData-CipherMismatch-Client-TLS13": "TODO: first pass, this should be fixed",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 15:52:42 UTC 2024 - 19.3K bytes - Viewed (0) -
src/crypto/tls/handshake_messages_test.go
m.pskBinders = append(m.pskBinders, randomBytes(rand.Intn(50)+32, rand)) } if rand.Intn(10) > 5 { m.quicTransportParameters = randomBytes(rand.Intn(500), rand) } if rand.Intn(10) > 5 { m.earlyData = true } return reflect.ValueOf(m) } func (*serverHelloMsg) Generate(rand *rand.Rand, size int) reflect.Value { m := &serverHelloMsg{} m.vers = uint16(rand.Intn(65536))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 15.7K bytes - Viewed (0) -
src/crypto/tls/handshake_client_tls13.go
} } if !hs.hello.earlyData && encryptedExtensions.earlyData { c.sendAlert(alertUnsupportedExtension) return errors.New("tls: server sent an unexpected early_data extension") } if hs.hello.earlyData && !encryptedExtensions.earlyData { c.quicRejectedEarlyData() } if encryptedExtensions.earlyData { if hs.session.cipherSuite != c.cipherSuite {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 27.9K bytes - Viewed (0) -
src/crypto/tls/quic.go
} } if q.conn.handshakeErr != nil { return quicError(q.conn.handshakeErr) } return nil } type QUICSessionTicketOptions struct { // EarlyData specifies whether the ticket may be used for 0-RTT. EarlyData bool Extra [][]byte } // SendSessionTicket sends a session ticket to the client. // It produces connection events, which may be read with [QUICConn.NextEvent].
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 15.1K bytes - Viewed (0) -
src/crypto/tls/quic_test.go
cli := newTestQUICClient(t, clientConfig) cli.conn.SetTransportParameters(nil) srv := newTestQUICServer(t, serverConfig) srv.conn.SetTransportParameters(nil) srv.ticketOpts.EarlyData = true if err := runTestQUICConnection(context.Background(), cli, srv, nil); err != nil { t.Fatalf("error during first connection handshake: %v", err) } if cli.conn.ConnectionState().DidResume {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 19.3K bytes - Viewed (0) -
src/crypto/tls/handshake_messages.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0) -
src/crypto/tls/handshake_client.go
// For 0-RTT, the cipher suite has to match exactly, and we need to be // offering the same ALPN. if session.EarlyData && mutualCipherSuiteTLS13(hello.cipherSuites, session.cipherSuite) != nil { for _, alpn := range hello.alpnProtocols { if alpn == session.alpnProtocol { hello.earlyData = true break } } } } // Set the pre_shared_key extension. See RFC 8446, Section 4.2.11.1.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 38.6K bytes - Viewed (0) -
api/go1.21.txt
pkg crypto/tls, method (*QUICConn) SendSessionTicket(QUICSessionTicketOptions) error #60107 pkg crypto/tls, type QUICSessionTicketOptions struct #60107 pkg crypto/tls, type QUICSessionTicketOptions struct, EarlyData bool #60107 pkg crypto/tls, method (*QUICConn) SetTransportParameters([]uint8) #44886 pkg crypto/tls, method (*QUICConn) Start(context.Context) error #44886 pkg crypto/tls, method (QUICEncryptionLevel) String() string #44886
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 09:39:17 UTC 2023 - 25.6K bytes - Viewed (0)