- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for x509TrustManager (0.1 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
sslSocketFactory: SSLSocketFactory?, x509TrustManager: X509TrustManager?, ): Interceptor.Chain { check(exchange == null) { "sslSocketFactory can't be adjusted in a network interceptor" } if (sslSocketFactory != null && x509TrustManager != null) { val newCertificateChainCleaner = CertificateChainCleaner.get(x509TrustManager) return copy( sslSocketFactory = sslSocketFactory,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 12.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt
} object X509TrustManagerOverride : Override<X509TrustManager?> { override val paramName: String = "sslSocketFactory" override fun Interceptor.Chain.value(): X509TrustManager? = x509TrustManagerOrNull override fun Interceptor.Chain.withOverride(value: X509TrustManager?): Interceptor.Chain = withSslSocketFactory(Platform.get().newSslSocketFactory(value!!), value)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 28.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
*/ fun withSslSocketFactory( sslSocketFactory: SSLSocketFactory?, x509TrustManager: X509TrustManager?, ): Chain /** * Returns the [X509TrustManager] for the OkHttpClient, or an override from the Call.Chain. */ val x509TrustManagerOrNull: X509TrustManager? /** * Returns the [HostnameVerifier] for the OkHttpClient, or an override from the Call.Chain.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 8.9K bytes - Click Count (0) -
docs/features/https.md
} private fun trustManagerForCertificates(inputStream: InputStream): X509TrustManager { ... // Full source omitted. See sample. } ``` === ":material-language-java: Java" ```java private final OkHttpClient client; public CustomTrust() { X509TrustManager trustManager; SSLSocketFactory sslSocketFactory; try {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 10.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
TODO() } override fun withSslSocketFactory( sslSocketFactory: SSLSocketFactory?, x509TrustManager: X509TrustManager?, ): Interceptor.Chain { TODO() } override fun withHostnameVerifier(hostnameVerifier: HostnameVerifier): Interceptor.Chain { TODO() }
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-tls/README.md
With a server that holds a certificate and a client that trusts it we have enough for an HTTPS handshake. The best part of this example is that we don't need to make our test code insecure with a a fake `HostnameVerifier` or `X509TrustManager`. Certificate Authorities ----------------------- The above example uses a self-signed certificate. This is convenient for testing but not
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 9.1K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
public final fun sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory; public final fun webSocketCloseTimeout ()I public final fun writeTimeoutMillis ()I public final fun x509TrustManager ()Ljavax/net/ssl/X509TrustManager; } public final class okhttp3/OkHttpClient$Builder { public final fun -addInterceptor (Lkotlin/jvm/functions/Function1;)Lokhttp3/OkHttpClient$Builder;
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/android/okhttp.api
public final fun sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory; public final fun webSocketCloseTimeout ()I public final fun writeTimeoutMillis ()I public final fun x509TrustManager ()Ljavax/net/ssl/X509TrustManager; } public final class okhttp3/OkHttpClient$Builder { public final fun -addInterceptor (Lkotlin/jvm/functions/Function1;)Lokhttp3/OkHttpClient$Builder;
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)