Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 95 for cipher_suites (0.23 sec)

  1. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

      return Client(
        userAgent = "OkHttp",
        version = OkHttp.VERSION,
        enabled =
          ConnectionSpec.MODERN_TLS.cipherSuites!!.map {
            ianaSuites.fromJavaName(it.javaName)
          },
        supported =
          ConnectionSpec.COMPATIBLE_TLS.cipherSuites!!.map {
            ianaSuites.fromJavaName(it.javaName)
          },
      )
    }
    
    fun historicOkHttp(version: String): Client {
      val enabled =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Handshake.kt

        @JvmName("get")
        fun SSLSession.handshake(): Handshake {
          val cipherSuite =
            when (val cipherSuiteString = checkNotNull(cipherSuite) { "cipherSuite == null" }) {
              "TLS_NULL_WITH_NULL_NULL", "SSL_NULL_WITH_NULL_NULL" -> {
                throw IOException("cipherSuite == $cipherSuiteString")
              }
              else -> CipherSuite.forJavaName(cipherSuiteString)
            }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. src/crypto/tls/boring_test.go

    			switch sigType {
    			case signaturePKCS1v15, signatureRSAPSS:
    				serverConfig.CipherSuites = []uint16{TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256}
    				serverConfig.Certificates[0].Certificate = [][]byte{testRSA2048Certificate}
    				serverConfig.Certificates[0].PrivateKey = testRSA2048PrivateKey
    			case signatureEd25519:
    				serverConfig.CipherSuites = []uint16{TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/crypto/tls/prf.go

    	keyMaterial = keyMaterial[ivLen:]
    	serverIV = keyMaterial[:ivLen]
    	return
    }
    
    func newFinishedHash(version uint16, cipherSuite *cipherSuite) finishedHash {
    	var buffer []byte
    	if version >= VersionTLS12 {
    		buffer = []byte{}
    	}
    
    	prf, hash := prfAndHashForVersion(version, cipherSuite)
    	if hash != 0 {
    		return finishedHash{hash.New(), hash.New(), nil, nil, buffer, version, prf}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 16:29:49 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  10. 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)
Back to top