Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for CipherSuites (0.36 sec)

  1. internal/crypto/key.go

    		unsealConfig = sio.Config{MinVersion: sio.Version20, Key: mac.Sum(nil), CipherSuites: fips.DARECiphers()}
    	case InsecureSealAlgorithm:
    		sha := sha256.New()
    		sha.Write(extKey)
    		sha.Write(sealedKey.IV[:])
    		unsealConfig = sio.Config{MinVersion: sio.Version10, Key: sha.Sum(nil), CipherSuites: fips.DARECiphers()}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 19 20:28:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. src/crypto/tls/ech.go

    			return nil, errMalformedECHConfig
    		}
    		var cipherSuites cryptobyte.String
    		if !s.ReadUint16LengthPrefixed(&cipherSuites) {
    			return nil, errMalformedECHConfig
    		}
    		for !cipherSuites.Empty() {
    			var c echCipher
    			if !cipherSuites.ReadUint16(&c.KDFID) {
    				return nil, errMalformedECHConfig
    			}
    			if !cipherSuites.ReadUint16(&c.AEADID) {
    				return nil, errMalformedECHConfig
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

        socket.enabledCipherSuites = arrayOf("SSL_A", "SSL_B", "SSL_C")
        val connectionSpec =
          ConnectionSpec.Builder(true)
            .tlsVersions(TlsVersion.TLS_1_0)
            .cipherSuites("TLS_A", "TLS_C", "TLS_E")
            .build()
        applyConnectionSpec(connectionSpec, socket, false)
        assertArrayEquals(arrayOf("TLS_A", "TLS_C"), socket.enabledCipherSuites)
      }
    
      @Test
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/server/options/serving.go

    			return err
    		}
    	} else if s.ServerCert.GeneratedCert != nil {
    		c.Cert = s.ServerCert.GeneratedCert
    	}
    
    	if len(s.CipherSuites) != 0 {
    		cipherSuites, err := cliflag.TLSCipherSuites(s.CipherSuites)
    		if err != nil {
    			return err
    		}
    		c.CipherSuites = cipherSuites
    	}
    
    	var err error
    	c.MinTLSVersion, err = cliflag.TLSVersion(s.MinTLSVersion)
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 13:08:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/99-minor/crypto/tls/66214.md

    3DES cipher suites were removed from the default list used when
    [Config.CipherSuites] is nil. The default can be reverted adding `tls3des=1` to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 178 bytes
    - Viewed (0)
  7. internal/http/transports.go

    	if dialContext == nil {
    		dialContext = DialContextWithLookupHost(s.LookupHost, NewInternodeDialContext(s.DialTimeout, s.TCPOptions))
    	}
    
    	tlsClientConfig := tls.Config{
    		RootCAs:            s.RootCAs,
    		CipherSuites:       s.CipherSuites,
    		CurvePreferences:   s.CurvePreferences,
    		ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    	}
    
    	// For more details about various values used here refer
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/secure_serving.go

    	}
    	if s.MinTLSVersion > 0 {
    		tlsConfig.MinVersion = s.MinTLSVersion
    	}
    	if len(s.CipherSuites) > 0 {
    		tlsConfig.CipherSuites = s.CipherSuites
    		insecureCiphers := flag.InsecureTLSCiphers()
    		for i := 0; i < len(s.CipherSuites); i++ {
    			for cipherName, cipherID := range insecureCiphers {
    				if s.CipherSuites[i] == cipherID {
    					klog.Warningf("Use of insecure cipher '%s' detected.", cipherName)
    				}
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  9. src/crypto/tls/cipher_suites.go

    // ciphersuites and the id requested by the peer.
    func mutualCipherSuite(have []uint16, want uint16) *cipherSuite {
    	for _, id := range have {
    		if id == want {
    			return cipherSuiteByID(id)
    		}
    	}
    	return nil
    }
    
    func cipherSuiteByID(id uint16) *cipherSuite {
    	for _, cipherSuite := range cipherSuites {
    		if cipherSuite.id == id {
    			return cipherSuite
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. pilot/pkg/security/authn/utils/utils_test.go

    			expectedMTLSCipherSuites: SupportedCiphers,
    		},
    		{
    			name: "Configure 1 MTLS cipher suite",
    			mesh: meshconfig.MeshConfig{
    				MeshMTLS: &meshconfig.MeshConfig_TLSConfig{
    					CipherSuites: []string{"ECDHE-RSA-AES256-GCM-SHA384"},
    				},
    			},
    			expectedMTLSCipherSuites: []string{"ECDHE-RSA-AES256-GCM-SHA384"},
    		},
    	}
    	for i := range tests {
    		tt := &tests[i]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 10 20:24:43 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top