- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for setEnabledCipherSuites (0.14 sec)
-
okhttp/src/test/java/okhttp3/FallbackTestClientSocketFactory.kt
private class TlsFallbackScsvDisabledSSLSocket( socket: SSLSocket, ) : DelegatingSSLSocket(socket) { override fun setEnabledCipherSuites(suites: Array<String>) { val enabledCipherSuites = mutableListOf<String>() for (suite in suites) { if (suite != TLS_FALLBACK_SCSV) { enabledCipherSuites.add(suite) } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
SSLSocketFactory customSslSocketFactory = new DelegatingSSLSocketFactory(sslSocketFactory) { @Override protected SSLSocket configureSocket(SSLSocket socket) throws IOException { socket.setEnabledCipherSuites(javaNames(spec.cipherSuites())); return socket; } }; client = new OkHttpClient.Builder() .connectionSpecs(Collections.singletonList(spec))
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-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt
return delegate!!.supportedCipherSuites } override fun getEnabledCipherSuites(): Array<String> { return delegate!!.enabledCipherSuites } override fun setEnabledCipherSuites(suites: Array<String>) { delegate!!.enabledCipherSuites = suites } override fun getSupportedProtocols(): Array<String> { return delegate!!.supportedProtocols }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CipherSuiteTest.kt
this.supportedCipherSuites = supportedCipherSuites } override fun getEnabledCipherSuites(): Array<String> { return enabledCipherSuites } override fun setEnabledCipherSuites(suites: Array<String>) { this.enabledCipherSuites = suites } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.2K bytes - Viewed (0)