Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for KSession (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

      private const val ALT_DNS_NAME = 2
      private const val ALT_IPA_NAME = 7
    
      override fun verify(
        host: String,
        session: SSLSession,
      ): Boolean {
        return if (!host.isAscii()) {
          false
        } else {
          try {
            verify(host, session.peerCertificates[0] as X509Certificate)
          } catch (_: SSLException) {
            false
          }
        }
      }
    
      fun verify(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          }
    
          // Force handshake. This can throw!
          sslSocket.startHandshake()
          // block for session establishment
          val sslSocketSession = sslSocket.session
          val unverifiedHandshake = sslSocketSession.handshake()
    
          // Verify that the socket's certificates are acceptable for the target host.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top