Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for cipherSuites (0.33 sec)

  1. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

       */
      @get:JvmName("cipherSuites")
      val cipherSuites: List<CipherSuite>?
        get() {
          return cipherSuitesAsString?.map { CipherSuite.forJavaName(it) }
        }
    
      @JvmName("-deprecated_cipherSuites")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "cipherSuites"),
        level = DeprecationLevel.ERROR,
      )
      fun cipherSuites(): List<CipherSuite>? = cipherSuites
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

    import mockwebserver3.MockWebServer
    import okhttp3.CipherSuite.Companion.TLS_AES_128_GCM_SHA256
    import okhttp3.CipherSuite.Companion.TLS_AES_256_GCM_SHA384
    import okhttp3.CipherSuite.Companion.TLS_CHACHA20_POLY1305_SHA256
    import okhttp3.CipherSuite.Companion.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
    import okhttp3.CipherSuite.Companion.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
    import okhttp3.CipherSuite.Companion.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. 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()}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

            assertThat(sslSocket.enabledCipherSuites)
              .containsExactly(
                CipherSuite.TLS_AES_128_GCM_SHA256.javaName,
                CipherSuite.TLS_AES_256_GCM_SHA384.javaName,
                CipherSuite.TLS_CHACHA20_POLY1305_SHA256.javaName,
                CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.javaName,
                CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName,
              )
          } else {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  5. 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
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 00:50:37 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

        // not customize the cipher suites list.
        List<CipherSuite> customCipherSuites = asList(
            CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
            CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
            CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
            CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384);
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Mar 14 21:57:42 GMT 2019
    - 6.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

        assertThat(CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5)
          .isEqualTo(forJavaName("SSL_RSA_EXPORT_WITH_RC4_40_MD5"))
        assertThat(CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256)
          .isNotEqualTo(CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5)
      }
    
      @Test
      fun forJavaName_acceptsArbitraryStrings() {
        // Shouldn't throw.
        forJavaName("example CipherSuite name that is not in the whitelist")
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. internal/crypto/sse.go

    // body of a single-part PUT request.
    func EncryptSinglePart(r io.Reader, key ObjectKey) io.Reader {
    	r, err := sio.EncryptReader(r, sio.Config{MinVersion: sio.Version20, Key: key[:], CipherSuites: fips.DARECiphers()})
    	if err != nil {
    		logger.CriticalIf(context.Background(), errors.New("Unable to encrypt io.Reader using object key"))
    	}
    	return r
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  9. 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,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. 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 =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top