- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 249 for pinner (0.04 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) -
api/go1.21.txt
pkg runtime, method (*PanicNilError) Error() string #25448 pkg runtime, method (*PanicNilError) RuntimeError() #25448 pkg runtime, method (*Pinner) Pin(interface{}) #46787 pkg runtime, method (*Pinner) Unpin() #46787 pkg runtime, type PanicNilError struct #25448 pkg runtime, type Pinner struct #46787 pkg slices, func BinarySearch[$0 interface{ ~[]$1 }, $1 cmp.Ordered]($0, $1) (int, bool) #60091
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Aug 07 09:39:17 GMT 2023 - 25.6K bytes - Click Count (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 } }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) -
docs/features/https.md
pied-on-300-000-iranians-using-fake-google-certificate.html). It also assumes your HTTPS servers’ certificates are signed by a certificate authority. Use [CertificatePinner](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-certificate-pinner/) to restrict which certificates and certificate authorities are trusted. Certificate pinning increases security, but limits your server team’s abilities to update their TLS certificates. **Do not use certificate pinning without the blessing of your...
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Dec 24 00:16:30 GMT 2022 - 10.5K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
* New: Support SHA-256 pins in certificate pinner. ## Version 3.1.2 _2016-02-10_ * Fix: Don’t crash when finding the trust manager on Robolectric. We attempted to detect the host platform and got confused because Robolectric looks like Android but isn’t! * Fix: Change `CertificatePinner` to skip sanitizing the certificate chain when no certificates were pinned. This avoids an SSL failure in insecureCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
OkHttp 2.x Change Log ===================== ## Version 2.7.5 _2016-02-25_ * Fix: Change the certificate pinner to always build full chains. This prevents a potential crash when using certificate pinning with the Google Play Services security provider. ## Version 2.7.4 _2016-02-07_ * Fix: Don't crash when finding the trust manager if the Play Services (GMS) security provider is installed.Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (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.
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)