- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for localCertificates (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt
private val peerCertificates: Array<Certificate>?, private val localCertificates: Array<Certificate>?, ) : DelegatingSSLSession(null) { override fun getProtocol() = protocol override fun getCipherSuite() = cipherSuite override fun getPeerCertificates() = peerCertificates override fun getLocalCertificates() = localCertificates }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt
message = "moved to val", replaceWith = ReplaceWith(expression = "localCertificates"), level = DeprecationLevel.ERROR, ) fun localCertificates(): List<Certificate> = localCertificates /** Returns the local principle, or null if this peer is anonymous. */ @get:JvmName("localPrincipal") val localPrincipal: Principal? get() = (localCertificates.firstOrNull() as? X509Certificate)?.subjectX500Principal
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Apr 05 09:48:10 UTC 2025 - 6.6K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt
.isEqualTo(serverHandshake.localCertificates) val clientHandshake = clientHandshakeFuture.get() assertThat(listOf(serverCertificate.certificate, serverIntermediate.certificate)) .isEqualTo(clientHandshake.peerCertificates) assertThat(listOf(clientCertificate.certificate, clientIntermediate.certificate)) .isEqualTo(clientHandshake.localCertificates) } @Test fun keyManager() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt
assertThat(response.code).isEqualTo(200) assertThat(response.handshake!!.cipherSuite).isNotNull() assertThat(response.handshake!!.tlsVersion).isNotNull() assertThat(response.handshake!!.localCertificates).isEmpty() assertThat(response.handshake!!.localPrincipal).isNull() assertThat(response.handshake!!.peerCertificates).isEmpty() assertThat(response.handshake!!.peerPrincipal).isNull() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt
assertThat(handshake.peerPrincipal).isNotNull() assertThat(handshake.peerCertificates.size).isEqualTo(1) assertThat(handshake.localPrincipal).isNull() assertThat(handshake.localCertificates.size).isEqualTo(0) } /** * Asserts that the current response was redirected and returns the prior response. */ fun priorResponse(): RecordedResponse {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt
@Throws(SSLPeerUnverifiedException::class) override fun getPeerCertificates(): Array<Certificate>? = delegate!!.peerCertificates override fun getLocalCertificates(): Array<Certificate>? = delegate!!.localCertificates @Throws(SSLPeerUnverifiedException::class) override fun getPeerCertificateChain(): Array<X509Certificate> = delegate!!.peerCertificateChain @Throws(SSLPeerUnverifiedException::class)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.6K bytes - Viewed (0)