Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 76 for CipherSuites (0.16 sec)

  1. okhttp/src/test/java/okhttp3/TestTls13Request.kt

     * as part of MODERN_TLS or folded into the default OkHttp client once published and
     * available in JDK11 or Conscrypt.
     */
    private val TLS_13 =
      ConnectionSpec.Builder(true)
        .cipherSuites(*TLS13_CIPHER_SUITES.toTypedArray())
        .tlsVersions(TlsVersion.TLS_1_3)
        .build()
    
    private val TLS_12 =
      ConnectionSpec.Builder(ConnectionSpec.RESTRICTED_TLS)
        .tlsVersions(TlsVersion.TLS_1_2)
        .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/grid.go

    		Hosts:        hosts,
    		AddAuth:      newCachedAuthToken(),
    		AuthRequest:  storageServerRequestValidate,
    		BlockConnect: globalGridStart,
    		TLSConfig: &tls.Config{
    			RootCAs:          globalRootCAs,
    			CipherSuites:     fips.TLSCiphers(),
    			CurvePreferences: fips.TLSCurveIDs(),
    		},
    		// Record incoming and outgoing bytes.
    		Incoming: globalConnStats.incInternodeInputBytes,
    		Outgoing: globalConnStats.incInternodeOutputBytes,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. 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)
  4. src/crypto/tls/handshake_messages_test.go

    	m.vers = uint16(rand.Intn(65536))
    	m.random = randomBytes(32, rand)
    	m.sessionId = randomBytes(rand.Intn(32), rand)
    	m.cipherSuites = make([]uint16, rand.Intn(63)+1)
    	for i := 0; i < len(m.cipherSuites); i++ {
    		cs := uint16(rand.Int31())
    		if cs == scsvRenegotiation {
    			cs += 1
    		}
    		m.cipherSuites[i] = cs
    	}
    	m.compressionMethods = randomBytes(rand.Intn(63)+1, rand)
    	if rand.Intn(10) > 5 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. cmd/utils.go

    		tlsConfig.ClientAuth = tls.RequestClientCert
    	}
    
    	if secureCiphers := env.Get(api.EnvAPISecureCiphers, config.EnableOn) == config.EnableOn; secureCiphers {
    		tlsConfig.CipherSuites = fips.TLSCiphers()
    	} else {
    		tlsConfig.CipherSuites = fips.TLSCiphersBackwardCompatible()
    	}
    	tlsConfig.CurvePreferences = fips.TLSCurveIDs()
    	return tlsConfig
    }
    
    /////////// Types and functions for OpenID IAM testing
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_test.go

    type zeroSource struct{}
    
    func (zeroSource) Read(b []byte) (n int, err error) {
    	clear(b)
    	return len(b), nil
    }
    
    func allCipherSuites() []uint16 {
    	ids := make([]uint16, len(cipherSuites))
    	for i, suite := range cipherSuites {
    		ids[i] = suite.id
    	}
    
    	return ids
    }
    
    var testConfig *Config
    
    func TestMain(m *testing.M) {
    	flag.Usage = func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_tls.go

    		return
    	}
    	if len(tlsDefaults.EcdhCurves) > 0 {
    		tlsContext.CommonTlsContext.TlsParams.EcdhCurves = tlsDefaults.EcdhCurves
    	}
    	if len(tlsDefaults.CipherSuites) > 0 {
    		tlsContext.CommonTlsContext.TlsParams.CipherSuites = tlsDefaults.CipherSuites
    	}
    }
    
    // Set auto_sni if EnableAutoSni feature flag is enabled and if sni field is not explicitly set in DR.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

      @Test @Disabled
      fun connectionSpec() {
        val connectionSpec: ConnectionSpec = ConnectionSpec.RESTRICTED_TLS
        val tlsVersions: List<TlsVersion>? = connectionSpec.tlsVersions()
        val cipherSuites: List<CipherSuite>? = connectionSpec.cipherSuites()
        val supportsTlsExtensions: Boolean = connectionSpec.supportsTlsExtensions()
      }
    
      @Test @Disabled
      fun cookie() {
        val cookie: Cookie = Cookie.Builder().build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. 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)
  10. cmd/bucket-metadata.go

    	crypto.S3.CreateMetadata(metadata, key.KeyID, key.Ciphertext, sealedKey)
    	_, err = sio.Encrypt(outbuf, bytes.NewBuffer(input), sio.Config{Key: objectKey[:], MinVersion: sio.Version20, CipherSuites: fips.DARECiphers()})
    	if err != nil {
    		return output, metabytes, err
    	}
    	metabytes, err = json.Marshal(metadata)
    	if err != nil {
    		return
    	}
    	return outbuf.Bytes(), metabytes, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top