- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for cipherSuites (0.17 sec)
-
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 {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.7K bytes - Viewed (0) -
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
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 11.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Mar 14 21:57:42 UTC 2019 - 6.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt
apply { require(tls) { "no cipher suites for cleartext connections" } val strings = cipherSuites.map { it.javaName }.toTypedArray() return cipherSuites(*strings) } fun cipherSuites(vararg cipherSuites: String) = apply { require(tls) { "no cipher suites for cleartext connections" }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 13.4K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 19 20:28:10 UTC 2024 - 6.4K bytes - Viewed (0) -
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") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.2K bytes - Viewed (0) -
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: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Apr 02 01:44:15 UTC 2024 - 2.5K bytes - Viewed (0) -
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: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6K bytes - Viewed (0) -
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 }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 30 15:26:43 UTC 2022 - 4.4K bytes - Viewed (0)