Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for nmap (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/Headers.kt

        @JvmStatic
        @JvmName("of")
        fun Map<String, String>.toHeaders(): Headers = commonToHeaders()
    
        @JvmName("-deprecated_of")
        @Deprecated(
          message = "function moved to extension",
          replaceWith = ReplaceWith(expression = "headers.toHeaders()"),
          level = DeprecationLevel.ERROR,
        )
        fun of(headers: Map<String, String>): Headers {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

            .addPlatformTrustedCertificates()
            .build()
        val acceptedIssuers = handshakeCertificates.trustManager.acceptedIssuers
        val names =
          acceptedIssuers
            .map { it.subjectDN.name }
            .toSet()
    
        // It's safe to assume all platforms will have a major Internet certificate issuer.
        assertThat(names).matchesPredicate { strings ->
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        val (ipv4_1, ipv4_2) = dns.allocate(2)
        val (ipv6_1, ipv6_2) = dns.allocateIpv6(2)
        dns[uriHost] = listOf(ipv4_1, ipv4_2, ipv6_1, ipv6_2)
    
        val selection = routeSelector.next()
        assertThat(selection.routes.map { it.socketAddress.address }).containsExactly(
          ipv4_1,
          ipv4_2,
          ipv6_1,
          ipv6_2,
        )
      }
    
      @Test fun addressesSortedWhenFastFallbackIsOn() {
        val address =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  4. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        val ephemeral_keys_supported: Boolean,
        val rating: String,
        val tls_version: String,
        val able_to_detect_n_minus_one_splitting: Boolean,
        val insecure_cipher_suites: Map<String, List<String>>,
        val given_cipher_suites: List<String>?,
      )
    
      @Test
      @Disabled
      fun testSSLFeatures() {
        assumeNetwork()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  5. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

            TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256.javaName,
          )
        }
      }
    
      private fun expectedConnectionCipherSuites(client: OkHttpClient): Set<String> {
        return client.connectionSpecs.first().cipherSuites!!.map { it.javaName }.intersect(defaultEnabledCipherSuites.toSet())
      }
    
      private fun makeClient(
        connectionSpec: ConnectionSpec? = null,
        tlsVersion: TlsVersion? = null,
        cipherSuites: List<CipherSuite>? = null,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

      fun check(
        hostname: String,
        peerCertificates: List<Certificate>,
      ) {
        return check(hostname) {
          (certificateChainCleaner?.clean(peerCertificates, hostname) ?: peerCertificates)
            .map { it as X509Certificate }
        }
      }
    
      internal fun check(
        hostname: String,
        cleanedPeerCertificatesFn: () -> List<X509Certificate>,
      ) {
        val pins = findMatchingPins(hostname)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

            }
          this.handshake = handshake
    
          // Check that the certificate pinner is satisfied by the certificates presented.
          certificatePinner.check(address.url.host) {
            handshake.peerCertificates.map { it as X509Certificate }
          }
    
          // Success! Save the handshake and the ALPN protocol.
          val maybeProtocol =
            if (connectionSpec.supportsTlsExtensions) {
    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)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

                    maxIntermediateCas = maxIntermediateCas.toLong(),
                  ),
              )
          }
    
          if (altNames.isNotEmpty()) {
            val extensionValue =
              altNames.map {
                when {
                  it.canParseAsIpAddress() -> {
                    generalNameIpAddress to InetAddress.getByName(it).address.toByteString()
                  }
                  else -> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  9. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

      return Client(
        userAgent = "OkHttp",
        version = OkHttp.VERSION,
        enabled =
          ConnectionSpec.MODERN_TLS.cipherSuites!!.map {
            ianaSuites.fromJavaName(it.javaName)
          },
        supported =
          ConnectionSpec.COMPATIBLE_TLS.cipherSuites!!.map {
            ianaSuites.fromJavaName(it.javaName)
          },
      )
    }
    
    fun historicOkHttp(version: String): Client {
      val enabled =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  10. kotlin-js-store/yarn.lock

      integrity sha512-oqXpzDIByKONVY8g1NUPOTQhe0UTU5bWUl32GSkqK2LjJj0HmwTMVKxcUip0RgAYhY1mqgOxjbQM48a0mmeNfA==
      dependencies:
        abab "^2.0.6"
        iconv-lite "^0.6.3"
        source-map-js "^1.0.2"
    
    source-map-support@0.5.21, source-map-support@~0.5.20:
      version "0.5.21"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
Back to top