- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 30 for heldCertificate (0.41 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
@Test fun heldCertificate() { val heldCertificate: HeldCertificate = HeldCertificate.Builder().build() val certificate: X509Certificate = heldCertificate.certificate val keyPair: KeyPair = heldCertificate.keyPair val certificatePem: String = heldCertificate.certificatePem() val privateKeyPkcs8Pem: String = heldCertificate.privateKeyPkcs8Pem() val privateKeyPkcs1Pem: String = heldCertificate.privateKeyPkcs1Pem() }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) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
platform.assumeNotConscrypt() val clientCa = HeldCertificate .Builder() .certificateAuthority(0) .build() val serverCa = HeldCertificate .Builder() .certificateAuthority(0) .build() val serverCertificate = HeldCertificate .Builder() .signedBy(serverCa)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 03 13:16:34 GMT 2025 - 22.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
private lateinit var rootCa: HeldCertificate private lateinit var certificate: HeldCertificate private val dns = FakeDns() private lateinit var url: HttpUrl private lateinit var serverIps: List<InetAddress> @BeforeEach fun setUp() { platform.assumeHttp2Support() platform.assumeNotBouncyCastle() rootCa = HeldCertificate .Builder() .serialNumber(1L)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jun 19 11:44:16 GMT 2025 - 19.1K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
assertThat(encoded).isEqualTo(privateKeyInfoByteString) } @Test fun `RSA issuer and signature`() { val root = HeldCertificate .Builder() .certificateAuthority(0) .rsa2048() .build() val certificate = HeldCertificate .Builder() .signedBy(root) .rsa2048() .build()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 43.9K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
platform.assumeNotConscrypt() val clientCa = HeldCertificate .Builder() .certificateAuthority(0) .build() val serverCa = HeldCertificate .Builder() .certificateAuthority(0) .build() val serverCertificate = HeldCertificate .Builder() .signedBy(serverCa)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Aug 03 22:38:00 GMT 2025 - 28K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt
} @Test fun generatedCertificate() { val heldCertificate = HeldCertificate .Builder() .commonName("Foo Corp") .addSubjectAlternativeName("foo.com") .build() val session = session(heldCertificate.certificatePem()) assertThat(verifier.verify("foo.com", session)).isTrue()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 40.4K bytes - Click Count (0) -
docs/changelogs/changelog_4x.md
## Version 4.2.0 _2019-09-10_ * New: API to decode a certificate and private key to create a `HeldCertificate`. This accepts a string containing both a certificate and PKCS #8-encoded private key. ```kotlin val heldCertificate = HeldCertificate.decode(""" |-----BEGIN CERTIFICATE----- |MIIBYTCCAQegAwIBAgIBKjAKBggqhkjOPQQDAjApMRQwEgYDVQQLEwtlbmdpbmVlCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Click Count (0) -
docs/changelogs/upgrading_to_okhttp_4.md
* **FormBody**: size * **Handshake**: cipherSuite, localCertificates, localPrincipal, peerCertificates, peerPrincipal, tlsVersion * **HandshakeCertificates**: keyManager, trustManager * **Headers**: size * **HeldCertificate**: certificate, keyPair * **HttpLoggingInterceptor**: level * **HttpUrl**: encodedFragment, encodedPassword, encodedPath, encodedPathSegments, encodedQuery,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:58:16 GMT 2022 - 10.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
val heldCertificate = HeldCertificate .Builder() .commonName("example.com") .addSubjectAlternativeName(localIpAddress!!) .build() val handshakeCertificates = HandshakeCertificates .Builder() .heldCertificate(heldCertificate) .addTrustedCertificate(heldCertificate.certificate) .build()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
* Fix: Don't leak socket connections when web socket upgrades fail. ## Version 3.11.0 _2018-07-12_ * **OkHttp's new okhttp-tls submodule tames HTTPS and TLS.** `HeldCertificate` is a TLS certificate and its private key. Generate a certificate with its builder then use it to sign another certificate or perform a TLS handshake. The
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0)