Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for EncryptedClientHelloConfigList (0.44 sec)

  1. doc/next/6-stdlib/99-minor/crypto/tls/63369.md

    The TLS client now supports the Encrypted Client Hello [draft specification](https://www.ietf.org/archive/id/draft-ietf-tls-esni-18.html).
    This feature can be enabled by setting the [Config.EncryptedClientHelloConfigList]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 296 bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_client.go

    		}
    		echConfigs, err := parseECHConfigList(c.config.EncryptedClientHelloConfigList)
    		if err != nil {
    			return nil, nil, nil, err
    		}
    		echConfig := pickECHConfig(echConfigs)
    		if echConfig == nil {
    			return nil, nil, nil, errors.New("tls: EncryptedClientHelloConfigList contains no valid configs")
    		}
    		ech = &echContext{config: echConfig}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  3. src/crypto/tls/bogo_shim_test.go

    	}
    
    	if *echConfigListB64 != "" {
    		echConfigList, err := base64.StdEncoding.DecodeString(*echConfigListB64)
    		if err != nil {
    			log.Fatalf("parse ech-config-list err: %s", err)
    		}
    		cfg.EncryptedClientHelloConfigList = echConfigList
    		cfg.MinVersion = VersionTLS13
    	}
    
    	if len(*curves) != 0 {
    		for _, curveStr := range *curves {
    			id, err := strconv.Atoi(curveStr)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. src/crypto/tls/common.go

    	// If the list contains no valid ECH configs, the handshake will fail
    	// and return an error.
    	//
    	// If EncryptedClientHelloConfigList is set, MinVersion, if set, must
    	// be VersionTLS13.
    	//
    	// When EncryptedClientHelloConfigList is set, the handshake will only
    	// succeed if ECH is sucessfully negotiated. If the server rejects ECH,
    	// an ECHRejectionError error will be returned, which may contain a new
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  5. api/go1.23.txt

    pkg crypto/tls, method (*ECHRejectionError) Error() string #63369
    pkg crypto/tls, method (*QUICConn) StoreSession(*SessionState) error #63691
    pkg crypto/tls, type Config struct, EncryptedClientHelloConfigList []uint8 #63369
    pkg crypto/tls, type Config struct, EncryptedClientHelloRejectionVerify func(ConnectionState) error #63369
    pkg crypto/tls, type ConnectionState struct, ECHAccepted bool #63369
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_client_test.go

    		},
    	}
    	serverConfig.MinVersion = VersionTLS13
    	clientConfig.RootCAs = x509.NewCertPool()
    	clientConfig.RootCAs.AddCert(cert)
    	clientConfig.MinVersion = VersionTLS13
    	clientConfig.EncryptedClientHelloConfigList, _ = hex.DecodeString("0041fe0d003d0100200020204bed0a11fc0dde595a9b78d966b0011128eb83f65d3c91c1cc5ac786cd246f000400010001ff0e6578616d706c652e676f6c616e670000")
    	clientConfig.ServerName = "example.golang"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  7. src/crypto/tls/tls_test.go

    			f.Set(reflect.ValueOf([]uint16{1, 2}))
    		case "CurvePreferences":
    			f.Set(reflect.ValueOf([]CurveID{CurveP256}))
    		case "Renegotiation":
    			f.Set(reflect.ValueOf(RenegotiateOnceAsClient))
    		case "EncryptedClientHelloConfigList":
    			f.Set(reflect.ValueOf([]byte{'x'}))
    		case "mutex", "autoSessionTicketKeys", "sessionTicketKeys":
    			continue // these are unexported fields that are handled separately
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
Back to top