- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getAcceptedIssuers (0.14 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt
return method.invoke(delegate, chain, authType, host) as List<Certificate> } catch (e: InvocationTargetException) { throw e.targetException } } override fun getAcceptedIssuers(): Array<X509Certificate> = delegate.acceptedIssuers override fun checkClientTrusted( chain: Array<out X509Certificate>, authType: String?, ) = throw CertificateException("Unsupported operation")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt
*/ @IgnoreJRERequirement internal class InsecureExtendedTrustManager( private val delegate: X509ExtendedTrustManager, private val insecureHosts: List<String>, ) : X509ExtendedTrustManager() { override fun getAcceptedIssuers(): Array<X509Certificate> = delegate.acceptedIssuers override fun checkServerTrusted( chain: Array<out X509Certificate>, authType: String, socket: Socket, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
authType: String, ) {} override fun checkServerTrusted( chain: Array<X509Certificate>, authType: String, ) {} override fun getAcceptedIssuers(): Array<X509Certificate> = arrayOf() } private fun createInsecureSslSocketFactory(trustManager: TrustManager): SSLSocketFactory = Platform.get().newSSLContext().apply {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.7K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
authType: String?, ) {} override fun checkServerTrusted( chain: Array<out X509Certificate>?, authType: String?, ) {} override fun getAcceptedIssuers(): Array<X509Certificate> = arrayOf() } val sslContext = Platform.get().newSSLContext().apply { init(null, arrayOf(trustManager), null) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 27K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt
) { } override fun checkServerTrusted( x509Certificates: Array<X509Certificate>, s: String, ) { } override fun getAcceptedIssuers(): Array<X509Certificate> { return arrayOf() } } client = client.newBuilder() .sslSocketFactory(client.sslSocketFactory, trustManager) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 18.7K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
override fun checkServerTrusted( chain: Array<X509Certificate>, authType: String, ) = throw AssertionError() override fun getAcceptedIssuers(): Array<X509Certificate> = throw AssertionError() } private val logger = Logger.getLogger(MockWebServer::class.java.name) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 37.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
} } private class RecordingTrustManager(private val delegate: X509TrustManager) : X509TrustManager { val calls: MutableList<String> = ArrayList() override fun getAcceptedIssuers(): Array<X509Certificate> = delegate.acceptedIssuers override fun checkClientTrusted( chain: Array<X509Certificate>, authType: String, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0)