Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getCipherSuite (0.13 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt

    class FakeSSLSession(vararg val certificates: Certificate) : SSLSession {
      override fun getApplicationBufferSize(): Int {
        throw UnsupportedOperationException()
      }
    
      override fun getCipherSuite(): String {
        throw UnsupportedOperationException()
      }
    
      override fun getCreationTime(): Long {
        throw UnsupportedOperationException()
      }
    
      override fun getId(): ByteArray {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt

      override fun getPeerPrincipal(): Principal {
        return delegate!!.peerPrincipal
      }
    
      override fun getLocalPrincipal(): Principal {
        return delegate!!.localPrincipal
      }
    
      override fun getCipherSuite(): String {
        return delegate!!.cipherSuite
      }
    
      override fun getProtocol(): String {
        return delegate!!.protocol
      }
    
      override fun getPeerHost(): String {
        return delegate!!.peerHost
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top