- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DelegatingSSLSession (0.09 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt
import javax.net.ssl.SSLSession import javax.net.ssl.SSLSessionContext import javax.security.cert.X509Certificate /** An [SSLSession] that delegates all calls. */ abstract class DelegatingSSLSession( protected val delegate: SSLSession?, ) : SSLSession { override fun getId(): ByteArray = delegate!!.id override fun getSessionContext(): SSLSessionContext = delegate!!.sessionContext
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt
class FakeSSLSession( private val protocol: String, private val cipherSuite: String, private val peerCertificates: Array<Certificate>?, private val localCertificates: Array<Certificate>?, ) : DelegatingSSLSession(null) { override fun getProtocol() = protocol override fun getCipherSuite() = cipherSuite override fun getPeerCertificates() = peerCertificates
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0)