- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 40 for conscrypt (0.48 sec)
-
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
import java.net.UnknownHostException import java.security.Security import okhttp3.Cache import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.dnsoverhttps.DohProviders.providers import org.conscrypt.OpenSSLProvider private fun runBatch( dnsProviders: List<DnsOverHttps>, names: List<String>, ) { var time = System.currentTimeMillis() for (dns in dnsProviders) { println("Testing ${dns.url}")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SessionReuseTest.kt
sslContext.clientSessionContext.ids.toList().map { it.toByteString().hex() } if (platform.isConscrypt()) { if (tlsVersion == TlsVersion.TLS_1_3) { assertThat(sessionIds[0]).isEmpty() assertThat(sessionIds[1]).isEmpty() // https://github.com/google/conscrypt/issues/985 // assertThat(directSessionIds).containsExactlyInAnyOrder(sessionIds[0], sessionIds[1]) } else {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CipherSuite.kt
* Conscrypt. * * [iana_tls_parameters]: https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml * [sslengine]: https://developer.android.com/reference/javax/net/ssl/SSLEngine.html * [oracle_providers]: https://docs.oracle.com/javase/10/security/oracle-providers.htm * [conscrypt_providers]: https://github.com/google/conscrypt/blob/master/common/src/main/java/org/conscrypt/NativeCrypto.java
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 39.9K bytes - Viewed (0) -
.github/workflows/build.yml
run: ./gradlew test -Dtest.java.version=8 -Dokhttp.platform=openjsse testconscrypt: runs-on: ubuntu-latest if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'conscrypt') steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - name: Configure JDK uses: actions/setup-java@v4 with:
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 01:51:50 UTC 2024 - 17.2K bytes - Viewed (0) -
CHANGELOG.md
* Fix: Don't silently ignore calls to `EventSource.cancel()` made from `EventSourceListener.onOpen()`. * Fix: Enforce the max intermediates constraint when using pinned certificates with Conscrypt. This impacts Conscrypt when the server's presented certificates form both a trusted-but-unpinned chain and an untrusted-but-pinned chain. * Upgrade: [Kotlin 1.6.10][kotlin_1_6_10]. ## Version 5.0.0-alpha.3
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Apr 18 01:31:39 UTC 2024 - 21.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
internal fun Socket.closeQuietly() { try { close() } catch (e: AssertionError) { throw e } catch (rethrown: RuntimeException) { if (rethrown.message == "bio == null") { // Conscrypt in Android 10 and 11 may throw closing an SSLSocket. This is safe to ignore. // https://issuetracker.google.com/issues/177450597 return } throw rethrown } catch (_: Exception) { } }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 10.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
assertFailsWith<IOException> { getResponse(newRequest("/foo")) }.also { expected -> when (expected) { is SSLHandshakeException -> { // Allow conscrypt to fail in different ways if (!platform.isConscrypt()) { assertThat(expected.cause!!).isInstanceOf<CertificateException>() } } is TlsFatalAlert -> {} else -> throw expected }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
|lu/GJQZoU9lDrCPeUcQ28tzOWw== |-----END PRIVATE KEY----- | """.trimMargin(), ) fail<Any>() } catch (expected: IllegalArgumentException) { if (!platform.isConscrypt()) { assertThat(expected.message).isEqualTo("failed to decode certificate") } } try { decode( """ |-----BEGIN CERTIFICATE-----
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 22.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt
assertThat(event.route.socketAddress).isEqualTo(expectedAddress) // Read error: ssl=0x7fd1d8d0fee8: Failure in SSL library, usually a protocol error if (!platform.isConscrypt()) { assertThat(event.exception).hasMessage("Unexpected handshake message: client_hello") } } @Test @Throws(IOException::class) fun multipleConnectsForSingleCall() { enableTls()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt
-----END CERTIFICATE----- """.trimIndent(), ) val peerCertificate = session.peerCertificates[0] as X509Certificate if (isAndroid || platform.isConscrypt()) { assertThat(certificateSANs(peerCertificate)).containsExactly("bar.com") } else { assertThat(certificateSANs(peerCertificate)).containsExactly("bar.com", "������.co.jp") }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 40.3K bytes - Viewed (0)