Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 106 for cipher_suites (0.23 sec)

  1. src/crypto/tls/handshake_client.go

    		// Reset the list of ciphers when the client only supports TLS 1.3.
    		if len(hello.supportedVersions) == 1 {
    			hello.cipherSuites = nil
    		}
    		if hasAESGCMHardwareSupport {
    			hello.cipherSuites = append(hello.cipherSuites, defaultCipherSuitesTLS13...)
    		} else {
    			hello.cipherSuites = append(hello.cipherSuites, defaultCipherSuitesTLS13NoAES...)
    		}
    
    		curveID := config.curvePreferences(maxVersion)[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/TestTls13Request.kt

    import okhttp3.internal.platform.Platform
    import org.conscrypt.Conscrypt
    
    // TLS 1.3
    private val TLS13_CIPHER_SUITES =
      listOf(
        CipherSuite.TLS_AES_128_GCM_SHA256,
        CipherSuite.TLS_AES_256_GCM_SHA384,
        CipherSuite.TLS_CHACHA20_POLY1305_SHA256,
        CipherSuite.TLS_AES_128_CCM_SHA256,
        CipherSuite.TLS_AES_128_CCM_8_SHA256,
      )
    
    /**
     * A TLS 1.3 only Connection Spec. This will be eventually be exposed
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/options.go

    }
    
    func (p *PilotArgs) Complete() error {
    	cipherSuits, err := TLSCipherSuites(p.ServerOptions.TLSOptions.TLSCipherSuites)
    	if err != nil {
    		return err
    	}
    	p.ServerOptions.TLSOptions.CipherSuits = cipherSuits
    	return nil
    }
    
    func allCiphers() map[string]uint16 {
    	acceptedCiphers := make(map[string]uint16, len(tls.CipherSuites())+len(tls.InsecureCipherSuites()))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_server.go

    	// Check that the client is still offering the ciphersuite in the session.
    	for _, id := range hs.clientHello.cipherSuites {
    		if id == sessionState.cipherSuite {
    			cipherSuiteOk = true
    			break
    		}
    	}
    	if !cipherSuiteOk {
    		return nil
    	}
    
    	// Check that we also support the ciphersuite from the session.
    	suite := selectCipherSuite([]uint16{sessionState.cipherSuite},
    		c.config.cipherSuites(), hs.cipherSuiteOk)
    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/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)
  6. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val realm: String? = challenge.realm()
        val charset: Charset = challenge.charset()
      }
    
      @Test @Disabled
      fun cipherSuite() {
        val cipherSuite: CipherSuite = CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
        val javaName: String = cipherSuite.javaName()
      }
    
      @Test @Disabled
      fun connectionSpec() {
        val connectionSpec: ConnectionSpec = ConnectionSpec.RESTRICTED_TLS
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. 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)
  8. pilot/pkg/bootstrap/webhook.go

    		return
    	}
    
    	tlsConfig := &tls.Config{
    		GetCertificate: s.getIstiodCertificate,
    		MinVersion:     tls.VersionTLS12,
    		CipherSuites:   args.ServerOptions.TLSOptions.CipherSuits,
    	}
    	// Compliance for control plane validation and injection webhook server.
    	sec_model.EnforceGoCompliance(tlsConfig)
    
    	istiolog.Info("initializing secure webhook server for istiod webhooks")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 17:37:53 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_server_tls13.go

    		return true
    	}
    	for i := range ch.supportedVersions {
    		if ch.supportedVersions[i] != ch1.supportedVersions[i] {
    			return true
    		}
    	}
    	for i := range ch.cipherSuites {
    		if ch.cipherSuites[i] != ch1.cipherSuites[i] {
    			return true
    		}
    	}
    	for i := range ch.supportedCurves {
    		if ch.supportedCurves[i] != ch1.supportedCurves[i] {
    			return true
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val utf8: Challenge = challenge.withCharset(Charsets.UTF_8)
      }
    
      @Test
      fun cipherSuite() {
        var cipherSuite: CipherSuite = CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
        cipherSuite = CipherSuite.forJavaName("")
        val javaName: String = cipherSuite.javaName
      }
    
      @Test
      fun connection() {
        val connection =
          object : Connection {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top