Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 291 for Hostnames (0.07 sec)

  1. src/test/java/jcifs/tests/TimeoutTest.java

                }
    
    
                @Override
                public Address getByName ( String hostname, boolean possibleNTDomainOrWorkgroup ) throws UnknownHostException {
                    return wrap(hostname, super.getByName(hostname, possibleNTDomainOrWorkgroup));
                }
    
    
                private Address wrap ( String hostname, Address byName ) {
                    NetbiosAddress nbt = byName.unwrap(NetbiosAddress.class);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

            .build()
        val certificate =
          HeldCertificate.Builder()
            .signedBy(intermediateCa)
            .serialNumber(3L)
            .commonName(server.hostName)
            .build()
        val certificatePinner =
          CertificatePinner.Builder()
            .add(server.hostName, pin(rootCa.certificate))
            .build()
        val handshakeCertificates =
          HandshakeCertificates.Builder()
            .addTrustedCertificate(rootCa.certificate)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Dns.kt

        val SYSTEM: Dns = DnsSystem()
    
        private class DnsSystem : Dns {
          override fun lookup(hostname: String): List<InetAddress> {
            try {
              return InetAddress.getAllByName(hostname).toList()
            } catch (e: NullPointerException) {
              throw UnknownHostException("Broken system behaviour for dns lookup of $hostname").apply {
                initCause(e)
              }
            }
          }
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt

      internal val resolver = DnsResolver.getInstance()
      private val executor = Executors.newSingleThreadExecutor()
    
      override fun query(
        hostname: String,
        callback: AsyncDns.Callback,
      ) {
        try {
          resolver.query(
            network,
            hostname,
            dnsClass.type,
            DnsResolver.FLAG_EMPTY,
            executor,
            null,
            object : DnsResolver.Callback<List<InetAddress>> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 10:07:48 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

      @SuppressSignatureCheck
      override fun clean(
        chain: List<Certificate>,
        hostname: String,
      ): List<Certificate> {
        val certificates = (chain as List<X509Certificate>).toTypedArray()
        try {
          return x509TrustManagerExtensions.checkServerTrusted(certificates, "RSA", hostname)
        } catch (ce: CertificateException) {
          throw SSLPeerUnverifiedException(ce.message).apply { initCause(ce) }
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

      }
    
      @Test @Ignore
      fun mockWebServer() {
        val mockWebServer: MockWebServer = MockWebServer()
        var port: Int = mockWebServer.port
        var hostName: String = mockWebServer.hostName
        hostName = mockWebServer.hostName
        val toProxyAddress: Proxy = mockWebServer.toProxyAddress()
        mockWebServer.serverSocketFactory = ServerSocketFactory.getDefault()
        val url: HttpUrl = mockWebServer.url("")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbTransportPool.java

         * @param port
         * @param localAddr
         * @param localPort
         * @param hostName
         * @param exclusive
         *            whether to acquire an unshared connection
         * @return a transport connection to the target
         */
        SmbTransport getSmbTransport ( CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName,
                boolean exclusive );
    
    
        /**
         * @param tc
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

      val hostname = "local.host"
      private val handshakeCertificates =
        run {
          // Generate a self-signed cert for the server to serve and the client to trust.
          val heldCertificate =
            HeldCertificate.Builder()
              .commonName(hostname)
              .addSubjectAlternativeName(hostname)
              .build()
          HandshakeCertificates.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/InsecureForHostTest.kt

        server.enqueue(MockResponse())
    
        val clientCertificates =
          HandshakeCertificates.Builder()
            .addPlatformTrustedCertificates()
            .addInsecureHost(server.hostName)
            .build()
    
        val client =
          clientTestRule.newClientBuilder()
            .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager)
            .build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

      // hostname of this endpoint. This field may be used by consumers of
      // endpoints to distinguish endpoints from each other (e.g. in DNS names).
      // Multiple endpoints which use the same hostname should be considered
      // fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS
      // Label (RFC 1123) validation.
      // +optional
      optional string hostname = 3;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top