Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for iPAddress (0.03 sec)

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

          else -> verifyHostname(host, certificate)
        }
    
      /** Returns true if [certificate] matches [ipAddress]. */
      private fun verifyIpAddress(
        ipAddress: String,
        certificate: X509Certificate,
      ): Boolean {
        val canonicalIpAddress = ipAddress.toCanonicalHost()
    
        return getSubjectAltNames(certificate, ALT_IPA_NAME).any {
          canonicalIpAddress == it.toCanonicalHost()
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt

        return configureServerSocket(serverSocket)
      }
    
      @Throws(IOException::class)
      override fun createServerSocket(
        port: Int,
        backlog: Int,
        ifAddress: InetAddress,
      ): ServerSocket {
        val serverSocket = delegate.createServerSocket(port, backlog, ifAddress)
        return configureServerSocket(serverSocket)
      }
    
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top