- Sort Score
- Result 10 results
- Languages All
Results 11 - 12 of 12 for KeyPair (0.03 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
} fun build(): HandshakeCertificates { val immutableInsecureHosts = insecureHosts.toImmutableList() val heldCertificate = heldCertificate if (heldCertificate != null && heldCertificate.keyPair.private.format == null) { throw KeyStoreException("unable to support unencodable private key") } val keyManager = newKeyManager(null, heldCertificate, *(intermediates ?: emptyArray()))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 8.4K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
val privateKey = keyFactory.generatePrivate( PKCS8EncodedKeySpec(privateKeyBytes.toByteArray()), ) val heldCertificate = HeldCertificate .Builder() .keyPair(publicKey, privateKey) .commonName("cash.app") .validityInterval(0L, 1000L) .rsa2048() .build() assertThat( """ |-----BEGIN CERTIFICATE-----
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 22.6K bytes - Viewed (0)