- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 109 for pinner (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
} /** * Attack the CA intermediates check by presenting unrelated chains to the handshake vs. * certificate pinner. * * This chain is valid but not pinned: * * ``` * attackerCa * -> phonyVictim * ``` * * * This chain is pinned but not valid: * * ``` * attackerCa * -> pinnedRoot (trusted by CertificatePinner)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 24.3K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
/** Can still coalesce when pinning is used if pins match. */ @Test fun coalescesWhenCertificatePinsMatch() { val pinner = CertificatePinner .Builder() .add("san.com", pin(certificate.certificate)) .build() client = client.newBuilder().certificatePinner(pinner).build() server.enqueue(MockResponse()) server.enqueue(MockResponse())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt
* explicitly requested), this also includes that proxy information. For secure connections the * address also includes the SSL socket factory, hostname verifier, and certificate pinner. * * HTTP requests that share the same [Address] may also share the same [Connection]. */ class Address( uriHost: String, uriPort: Int,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
) { /** * Confirms that at least one of the certificates pinned for `hostname` is in `peerCertificates`. * Does nothing if there are no certificates pinned for `hostname`. OkHttp calls this after a * successful TLS handshake, but before the connection is used. * * @throws SSLPeerUnverifiedException if `peerCertificates` don't match the certificates pinned * for `hostname`. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
unverifiedHandshake.peerCertificates, address.url.host, ) } this.handshake = handshake // Check that the certificate pinner is satisfied by the certificates presented. certificatePinner.check(address.url.host) { handshake.peerCertificates.map { it as X509Certificate } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
if (hostnameVerifier != this.hostnameVerifier) { this.routeDatabase = null } this.hostnameVerifier = hostnameVerifier } /** * Sets the certificate pinner that constrains which certificates are trusted. By default HTTPS * connections rely on only the [SSL socket factory][sslSocketFactory] to establish trust.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 51.7K bytes - Viewed (0) -
docs/en/docs/img/sponsors/railway-banner.png
railway-banner.png...
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Jul 31 17:47:31 UTC 2025 - 11.3K bytes - Viewed (0) -
docs/en/docs/img/sponsors/mobbai-banner.png
mobbai-banner.png...
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Wed Jul 23 13:02:20 UTC 2025 - 3.6K bytes - Viewed (0) -
docs/en/docs/img/sponsors/subtotal-banner.svg
subtotal-banner.svg...
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri May 09 16:36:42 UTC 2025 - 24.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
fun noRequestBody() { call.messageDone( exchange = this, requestDone = true, e = null, ) } /** A request body that fires events when it completes. */ private inner class RequestBodySink( delegate: Sink, /** The exact number of bytes to be written, or -1L if that is unknown. */ private val contentLength: Long, ) : ForwardingSink(delegate) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.7K bytes - Viewed (0)