- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for CipherSuite (0.06 seconds)
-
okhttp/api/android/okhttp.api
} public final class okhttp3/CipherSuite { public static final field Companion Lokhttp3/CipherSuite$Companion; public static final field TLS_AES_128_CCM_8_SHA256 Lokhttp3/CipherSuite; public static final field TLS_AES_128_CCM_SHA256 Lokhttp3/CipherSuite; public static final field TLS_AES_128_GCM_SHA256 Lokhttp3/CipherSuite; public static final field TLS_AES_256_GCM_SHA384 Lokhttp3/CipherSuite;Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
} public final class okhttp3/CipherSuite { public static final field Companion Lokhttp3/CipherSuite$Companion; public static final field TLS_AES_128_CCM_8_SHA256 Lokhttp3/CipherSuite; public static final field TLS_AES_128_CCM_SHA256 Lokhttp3/CipherSuite; public static final field TLS_AES_128_GCM_SHA256 Lokhttp3/CipherSuite; public static final field TLS_AES_256_GCM_SHA384 Lokhttp3/CipherSuite;Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt
) } /** * Tests that interned CipherSuite instances remain the case across garbage collections, even if * the String used to construct them is no longer strongly referenced outside of the CipherSuite. */ @Test fun instancesAreInterned_survivesGarbageCollection() { // We're not holding onto a reference to this String instance outside of the CipherSuite...
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 8.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt
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) } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6.6K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/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 {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt
package okhttp3.internal // Exposes Kotlin-internal APIs to Java test code and code in other modules. import java.nio.charset.Charset import javax.net.ssl.SSLSocket import okhttp3.Cache import okhttp3.CipherSuite import okhttp3.ConnectionPool import okhttp3.ConnectionSpec import okhttp3.Cookie import okhttp3.Headers import okhttp3.HttpUrl import okhttp3.MediaType import okhttp3.MediaType.Companion.toMediaTypeOrNull
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 3.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt
override fun getPeerPrincipal(): Principal = delegate!!.peerPrincipal override fun getLocalPrincipal(): Principal = delegate!!.localPrincipal override fun getCipherSuite(): String = delegate!!.cipherSuite override fun getProtocol(): String = delegate!!.protocol override fun getPeerHost(): String = delegate!!.peerHost override fun getPeerPort(): Int = delegate!!.peerPort
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 2.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
if (blank.isNotEmpty()) { throw IOException("expected \"\" but was \"$blank\"") } val cipherSuiteString = source.readUtf8LineStrict() val cipherSuite = CipherSuite.forJavaName(cipherSuiteString) val peerCertificates = readCertificateList(source) val localCertificates = readCertificateList(source) val tlsVersion =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 26.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
val source = response1.body.source() assertThat(source.readUtf8()).isEqualTo("ABC") // OpenJDK 6 fails on this line, complaining that the connection isn't open yet val cipherSuite = response1.handshake!!.cipherSuite val localCerts = response1.handshake!!.localCertificates val serverCerts = response1.handshake!!.peerCertificates val peerPrincipal = response1.handshake!!.peerPrincipal
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 121K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
) server.enqueue(MockResponse()) val cipherSuite = CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256 val clientCertificates = HandshakeCertificates .Builder() .build() client = client .newBuilder() .sslSocketFactory( socketFactoryWithCipherSuite(clientCertificates.sslSocketFactory(), cipherSuite), clientCertificates.trustManager,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0)