Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SessionTicketsDisabled (0.38 sec)

  1. src/crypto/tls/handshake_server_test.go

    				return errors.New("resumed with SessionTicketsDisabled")
    			}
    			return nil
    		},
    	}
    
    	config.SessionTicketsDisabled = false
    	runServerTestTLS12(t, testIssue)
    	config.SessionTicketsDisabled = true
    	runServerTestTLS12(t, testResume)
    
    	config.SessionTicketsDisabled = false
    	runServerTestTLS13(t, testIssue)
    	config.SessionTicketsDisabled = true
    	runServerTestTLS13(t, testResume)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. src/crypto/tls/common.go

    	//
    	// Deprecated: PreferServerCipherSuites is ignored.
    	PreferServerCipherSuites bool
    
    	// SessionTicketsDisabled may be set to true to disable session ticket and
    	// PSK (resumption) support. Note that on clients, session ticket support is
    	// also disabled if ClientSessionCache is nil.
    	SessionTicketsDisabled bool
    
    	// SessionTicketKey is used by TLS servers to provide session resumption.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_client_tls13.go

    	}
    
    	if _, err := hs.c.writeHandshakeRecord(finished, hs.transcript); err != nil {
    		return err
    	}
    
    	c.out.setTrafficSecret(hs.suite, QUICEncryptionLevelApplication, hs.trafficSecret)
    
    	if !c.config.SessionTicketsDisabled && c.config.ClientSessionCache != nil {
    		c.resumptionSecret = hs.suite.deriveSecret(hs.masterSecret,
    			resumptionLabel, hs.transcript)
    	}
    
    	if c.quic != nil {
    		if c.hand.Len() != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_server.go

    	}
    	return true
    }
    
    // checkForResumption reports whether we should perform resumption on this connection.
    func (hs *serverHandshakeState) checkForResumption() error {
    	c := hs.c
    
    	if c.config.SessionTicketsDisabled {
    		return nil
    	}
    
    	var sessionState *SessionState
    	if c.config.UnwrapSession != nil {
    		ss, err := c.config.UnwrapSession(hs.clientHello.sessionTicket, c.connectionStateLocked())
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_server_tls13.go

    		}
    	}
    
    	c.serverName = hs.clientHello.serverName
    	return nil
    }
    
    func (hs *serverHandshakeStateTLS13) checkForResumption() error {
    	c := hs.c
    
    	if c.config.SessionTicketsDisabled {
    		return nil
    	}
    
    	modeOK := false
    	for _, mode := range hs.clientHello.pskModes {
    		if mode == pskModeDHE {
    			modeOK = true
    			break
    		}
    	}
    	if !modeOK {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_client.go

    		session:     session,
    	}
    	return hs.handshake()
    }
    
    func (c *Conn) loadSession(hello *clientHelloMsg) (
    	session *SessionState, earlySecret, binderKey []byte, err error) {
    	if c.config.SessionTicketsDisabled || c.config.ClientSessionCache == nil {
    		return nil, nil, nil, nil
    	}
    
    	echInner := bytes.Equal(hello.encryptedClientHello, []byte{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)
  7. src/crypto/tls/tls_test.go

    			f.Set(reflect.ValueOf([]string{"a", "b"}))
    		case "ServerName":
    			f.Set(reflect.ValueOf("b"))
    		case "ClientAuth":
    			f.Set(reflect.ValueOf(VerifyClientCertIfGiven))
    		case "InsecureSkipVerify", "SessionTicketsDisabled", "DynamicRecordSizingDisabled", "PreferServerCipherSuites":
    			f.Set(reflect.ValueOf(true))
    		case "MinVersion", "MaxVersion":
    			f.Set(reflect.ValueOf(uint16(VersionTLS12)))
    		case "SessionTicketKey":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Config.Rand", Field, 0},
    		{"Config.Renegotiation", Field, 7},
    		{"Config.RootCAs", Field, 0},
    		{"Config.ServerName", Field, 0},
    		{"Config.SessionTicketKey", Field, 1},
    		{"Config.SessionTicketsDisabled", Field, 1},
    		{"Config.Time", Field, 0},
    		{"Config.UnwrapSession", Field, 21},
    		{"Config.VerifyConnection", Field, 15},
    		{"Config.VerifyPeerCertificate", Field, 8},
    		{"Config.WrapSession", Field, 21},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg crypto/tls, const VerifyClientCertIfGiven = 3
    pkg crypto/tls, type Config struct, PreferServerCipherSuites bool
    pkg crypto/tls, type Config struct, SessionTicketKey [32]uint8
    pkg crypto/tls, type Config struct, SessionTicketsDisabled bool
    pkg crypto/tls, type ConnectionState struct, DidResume bool
    pkg crypto/x509, const CANotAuthorizedForThisName = 2
    pkg crypto/x509, const DSA = 2
    pkg crypto/x509, const DSAWithSHA1 = 7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top