Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 180 for tls (0.56 sec)

  1. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

          events += "plan $id TLS connecting..."
    
          taskFaker.sleep(tlsConnectDelayNanos)
    
          return when {
            tlsConnectThrowable != null -> {
              events += "plan $id TLS connect failed"
              ConnectResult(this, nextPlan = connectTlsNextPlan, throwable = tlsConnectThrowable)
            }
            canceled -> {
              events += "plan $id TLS connect canceled"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. internal/fips/api.go

    			tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
    			tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
    		}
    	}
    	return []uint16{
    		tls.TLS_CHACHA20_POLY1305_SHA256, // TLS 1.3
    		tls.TLS_AES_128_GCM_SHA256,
    		tls.TLS_AES_256_GCM_SHA384,
    		tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305, // TLS 1.2
    		tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,
    		tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
    		tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 30 19:37:07 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  3. internal/http/transports.go

    	LookupHost  LookupHost  // Custom lookupHost, is nil on containerized deployments.
    	DialTimeout time.Duration
    
    	// TLS Settings
    	RootCAs          *x509.CertPool
    	CipherSuites     []uint16
    	CurvePreferences []tls.CurveID
    
    	// HTTP2
    	EnableHTTP2 bool
    
    	// TCP Options
    	TCPOptions TCPOptions
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. okhttp-tls/build.gradle.kts

      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
      id("ru.vyarus.animalsniffer")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.tls",
      "Automatic-Module-Name: okhttp3.tls",
      "Bundle-SymbolicName: com.squareup.okhttp3.tls"
    )
    
    dependencies {
      api(libs.squareup.okio)
      implementation(projects.okhttp)
      compileOnly(libs.findbugs.jsr305)
      compileOnly(libs.animalsniffer.annotations)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 1K bytes
    - Viewed (0)
  5. README.md

    with HTTPS clients is an important defense against potential security problems. [We
    track][tls_history] the dynamic TLS ecosystem and adjust OkHttp to improve connectivity and
    security.
    
    OkHttp uses your platform's built-in TLS implementation. On Java platforms OkHttp also supports
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  6. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

        return suites.firstOrNull {
          it.name == javaName || it.name == "TLS_${javaName.drop(4)}"
        } ?: throw IllegalArgumentException("No such suite: $javaName")
      }
    }
    
    suspend fun fetchIanaSuites(okHttpClient: OkHttpClient): IanaSuites {
      val url = "https://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv"
    
      val call = okHttpClient.newCall(Request(url.toHttpUrl()))
    
      val suites =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

        socket.enabledProtocols = arrayOf("TLSv1")
        socket.supportedCipherSuites =
          arrayOf("TLS_A", "TLS_B", "TLS_C", "TLS_D", "TLS_E")
        socket.enabledCipherSuites = arrayOf("TLS_A", "TLS_B", "TLS_C")
        val connectionSpec =
          ConnectionSpec.Builder(true)
            .tlsVersions(TlsVersion.TLS_1_0)
            .cipherSuites("SSL_A", "SSL_C", "SSL_E")
            .build()
        applyConnectionSpec(connectionSpec, socket, false)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. cni/pkg/install/kubeconfig_test.go

    			name:            "k8s service port not set",
    			expectedFailure: true,
    			k8sServiceHost:  k8sServiceHost,
    		},
    		{
    			name:           "skip TLS verify",
    			k8sServiceHost: k8sServiceHost,
    			k8sServicePort: k8sServicePort,
    			skipTLSVerify:  true,
    		},
    		{
    			name:           "TLS verify",
    			k8sServiceHost: k8sServiceHost,
    			k8sServicePort: k8sServicePort,
    			kubeCAFilepath: kubeCAFilepath,
    		},
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 03:52:24 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

    import okhttp3.internal.platform.android.DeferredSocketAdapter
    import okhttp3.internal.platform.android.StandardAndroidSocketAdapter
    import okhttp3.internal.tls.BasicTrustRootIndex
    import okhttp3.internal.tls.CertificateChainCleaner
    import okhttp3.internal.tls.TrustRootIndex
    
    /** Android 5 to 9 (API 21 to 28). */
    @SuppressSignatureCheck
    class AndroidPlatform : Platform() {
      private val socketAdapters =
        listOfNotNull(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/OpenJSSETest.kt

    import okhttp3.internal.connectionAccessor
    import okhttp3.internal.exchangeAccessor
    import okhttp3.internal.platform.OpenJSSEPlatform
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.HeldCertificate
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top