- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 144 for pinner (0.07 seconds)
-
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)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 24.3K bytes - Click Count (2) -
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())
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jun 19 11:44:16 GMT 2025 - 19.1K bytes - Click Count (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,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.3K bytes - Click Count (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`. */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 14.1K bytes - Click Count (1) -
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 } }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 19.3K bytes - Click Count (2) -
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.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 51.4K bytes - Click Count (0) -
docs/en/docs/img/sponsors/railway-banner.png
railway-banner.png...
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Jul 31 17:47:31 GMT 2025 - 11.3K bytes - Click Count (0) -
docs/en/docs/img/sponsors/serpapi-banner.png
serpapi-banner.png...
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Oct 29 13:43:11 GMT 2025 - 6.3K bytes - Click Count (0) -
docs/en/docs/img/sponsors/greptile-banner.png
greptile-banner.png...
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Dec 01 20:06:57 GMT 2025 - 7.1K bytes - Click Count (0) -
docs/en/docs/img/sponsors/mobbai-banner.png
mobbai-banner.png...
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Jul 23 13:02:20 GMT 2025 - 3.6K bytes - Click Count (0)