Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for cipher_suites (0.63 sec)

  1. src/crypto/tls/tls_test.go

    }
    
    func TestCipherSuites(t *testing.T) {
    	var lastID uint16
    	for _, c := range CipherSuites() {
    		if lastID > c.ID {
    			t.Errorf("CipherSuites are not ordered by ID: got %#04x after %#04x", c.ID, lastID)
    		} else {
    			lastID = c.ID
    		}
    
    		if c.Insecure {
    			t.Errorf("%#04x: Insecure CipherSuite returned by CipherSuites()", c.ID)
    		}
    	}
    	lastID = 0
    	for _, c := range InsecureCipherSuites() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_server_test.go

    			}
    			if len(chi.CipherSuites) != 2+len(defaultCipherSuitesTLS13) {
    				t.Error("the advertised TLS 1.2 suites should be filtered by Config.CipherSuites")
    			}
    			return nil, nil
    		},
    	}
    	clientConfig := &Config{
    		CipherSuites:       []uint16{TLS_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256},
    		InsecureSkipVerify: true,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. okhttp/api/okhttp.api

    }
    
    public final class okhttp3/CipherSuite {
    	public static final field Companion Lokhttp3/CipherSuite$Companion;
    	public static final field TLS_AES_128_CCM_8_SHA256 Lokhttp3/CipherSuite;
    	public static final field TLS_AES_128_CCM_SHA256 Lokhttp3/CipherSuite;
    	public static final field TLS_AES_128_GCM_SHA256 Lokhttp3/CipherSuite;
    	public static final field TLS_AES_256_GCM_SHA384 Lokhttp3/CipherSuite;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  4. src/crypto/tls/common.go

    		t = time.Now
    	}
    	return t()
    }
    
    func (c *Config) cipherSuites() []uint16 {
    	if c.CipherSuites == nil {
    		if needFIPS() {
    			return defaultCipherSuitesFIPS
    		}
    		return defaultCipherSuites()
    	}
    	if needFIPS() {
    		cipherSuites := slices.Clone(c.CipherSuites)
    		return slices.DeleteFunc(cipherSuites, func(id uint16) bool {
    			return !slices.Contains(defaultCipherSuitesFIPS, id)
    		})
    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. src/crypto/tls/handshake_messages.go

    		!readUint8LengthPrefixed(&s, &m.sessionId) {
    		return false
    	}
    
    	var cipherSuites cryptobyte.String
    	if !s.ReadUint16LengthPrefixed(&cipherSuites) {
    		return false
    	}
    	m.cipherSuites = []uint16{}
    	m.secureRenegotiationSupported = false
    	for !cipherSuites.Empty() {
    		var suite uint16
    		if !cipherSuites.ReadUint16(&suite) {
    			return false
    		}
    		if suite == scsvRenegotiation {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_client_test.go

    		GetConfigForClient: func(chi *ClientHelloInfo) (*Config, error) {
    			if len(chi.CipherSuites) != len(defaultCipherSuitesTLS13NoAES) {
    				t.Errorf("only TLS 1.3 suites should be advertised, got=%x", chi.CipherSuites)
    			} else {
    				for i := range defaultCipherSuitesTLS13NoAES {
    					if want, got := defaultCipherSuitesTLS13NoAES[i], chi.CipherSuites[i]; want != got {
    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/conn.go

    		return c.in.setErrorLocked(errors.New("tls: received unexpected key update message"))
    	}
    
    	cipherSuite := cipherSuiteTLS13ByID(c.cipherSuite)
    	if cipherSuite == nil {
    		return c.in.setErrorLocked(c.sendAlert(alertInternalError))
    	}
    
    	newSecret := cipherSuite.nextTrafficSecret(c.in.trafficSecret)
    	c.in.setTrafficSecret(cipherSuite, QUICEncryptionLevelInitial, newSecret)
    
    	if keyUpdate.updateRequested {
    		c.out.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener.go

    	if tlsDefaults == nil {
    		return
    	}
    
    	if len(tlsDefaults.EcdhCurves) > 0 {
    		tlsParamsOrNew(ctx).EcdhCurves = tlsDefaults.EcdhCurves
    	}
    	if len(tlsDefaults.CipherSuites) > 0 {
    		tlsParamsOrNew(ctx).CipherSuites = tlsDefaults.CipherSuites
    	}
    	if tlsDefaults.MinProtocolVersion != meshconfig.MeshConfig_TLSConfig_TLS_AUTO {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. src/net/http/client_test.go

    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		w.Write([]byte("Hello"))
    	})).ts
    
    	c := ts.Client()
    	tr := c.Transport.(*Transport)
    	tr.TLSClientConfig.CipherSuites = []uint16{tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256}
    	tr.TLSClientConfig.MaxVersion = tls.VersionTLS12 // to get to pick the cipher suite
    	tr.Dial = func(netw, addr string) (net.Conn, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  10. pilot/pkg/security/authn/policy_applier_test.go

    			TlsParams: &tls.TlsParameters{
    				TlsMinimumProtocolVersion: tls.TlsParameters_TLSv1_2,
    				TlsMaximumProtocolVersion: tls.TlsParameters_TLSv1_3,
    				CipherSuites: []string{
    					"ECDHE-ECDSA-AES256-GCM-SHA384",
    					"ECDHE-RSA-AES256-GCM-SHA384",
    					"ECDHE-ECDSA-AES128-GCM-SHA256",
    					"ECDHE-RSA-AES128-GCM-SHA256",
    					"AES256-GCM-SHA384",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 60.2K bytes
    - Viewed (0)
Back to top