- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 120 for pinning (0.05 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
* * ## Warning: Certificate Pinning is Dangerous! * * Pinning certificates limits your server team's abilities to update their TLS certificates. By * pinning certificates, you take on additional operational complexity and limit your ability to * migrate between certificate authorities. Do not use certificate pinning without the blessing of * your server's TLS administrator! *
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/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
// rogue CA is trusted) but it should fail certificate pinning. val request = Request .Builder() .url(server.url("/")) .build() val call = client.newCall(request) assertFailsWith<SSLPeerUnverifiedException> { call.execute() }.also { expected -> // Certificate pinning fails!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) -
docs/features/https.md
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 server’s TLS administrator!** === ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient.Builder()
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_2x.md
<groupId>com.squareup.okio</groupId> <artifactId>okio</artifactId> <version>1.0.1</version> </dependency> ``` * **New APIs to permit easy certificate pinning.** Be warned, certificate pinning is dangerous and could prevent your application from trusting your server! * **Cache improvements.** This release fixes some severe cache problems
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/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
) server.enqueue(MockResponse()) assertFailsWith<SSLPeerUnverifiedException> { val response = execute(url) response.close() } } /** Can still coalesce when pinning is used if pins match. */ @Test fun coalescesWhenCertificatePinsMatch() { val pinner = CertificatePinner .Builder() .add("san.com", pin(certificate.certificate)) .build()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/internal/http/RetryAndFollowUpInterceptor.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:58:02 GMT 2025 - 12.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
// 3. This connection's server certificates must cover the new host. if (address.hostnameVerifier !== OkHostnameVerifier) return false if (!supportsUrl(address.url)) return false // 4. Certificate pinning must match the host. try { address.certificatePinner!!.check(address.url.host, handshake()!!.peerCertificates) } catch (_: SSLPeerUnverifiedException) { return false }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 14.6K bytes - Click Count (0) -
android/guava/src/com/google/common/net/HttpHeaders.java
* Sec-Token-Binding}</a> header field name. * * @since 25.1 */ public static final String SEC_TOKEN_BINDING = "Sec-Token-Binding"; /** * The HTTP <a href="https://datatracker.ietf.org/doc/html/draft-ietf-tokbind-ttrp">{@code * Sec-Provided-Token-Binding-ID}</a> header field name. * * @since 25.1 */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Mar 27 20:37:16 GMT 2025 - 35.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
private void redistributePendingOperations(ChannelInfo failedChannel) { // Get pending operations from failed channel List<CommonServerMessageBlock> pendingOps = failedChannel.getPendingOperations(); if (pendingOps.isEmpty()) { return; } log.info("Redistributing {} pending operations from failed channel", pendingOps.size());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 11.6K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
- **MS-SMB2 Section 3.3.5.15.12**: Channel Binding ## 3. Multi-Channel Architecture ### 3.1 Channel States ```java public enum ChannelState { DISCONNECTED(0), // Not connected CONNECTING(1), // Connection in progress AUTHENTICATING(2), // Authentication in progress ESTABLISHED(3), // Ready for use BINDING(4), // Channel binding in progressCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0)