Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NewProvider (0.1 sec)

  1. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

      val okHttp_3_11 = historicOkHttp("3.11")
      val okHttp_3_9 = historicOkHttp("3.9")
    
      val currentVm = currentVm(ianaSuitesNew)
    
      val conscrypt =
        if (includeConscrypt) {
          Security.addProvider(Conscrypt.newProvider())
          conscrypt(ianaSuitesNew)
        } else {
          Client("Conscrypt", "Disabled", null, listOf())
        }
    
      val clients =
        listOf(
          okhttp,
          chrome80,
          firefox73,
          android9,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

     *
     * Requires org.conscrypt:conscrypt-openjdk-uber >= 2.1.0 on the classpath.
     */
    class ConscryptPlatform private constructor() : Platform() {
      private val provider: Provider = Conscrypt.newProvider()
    
      // See release notes https://groups.google.com/forum/#!forum/conscrypt
      // for version differences
      override fun newSSLContext(): SSLContext =
        // supports TLSv1.3 by default (version api is >= 1.4.0)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/tracing.go

    	}
    
    	resourceOpts := []resource.Option{
    		resource.WithAttributes(
    			semconv.ServiceNameKey.String(apiserverService),
    			semconv.ServiceInstanceIDKey.String(c.APIServerID),
    		),
    	}
    	tp, err := tracing.NewProvider(context.Background(), traceConfig, opts, resourceOpts)
    	if err != nil {
    		return err
    	}
    	c.TracerProvider = tp
    	if c.LoopbackClientConfig != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 21:39:39 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. security/pkg/server/ca/authenticate/oidc.go

    	// is only created once in the constructor.
    	var verifier *oidc.IDTokenVerifier
    	if len(jwksURL) == 0 {
    		// OIDC discovery is used if jwksURL is not set.
    		provider, err := oidc.NewProvider(context.Background(), issuer)
    		// OIDC discovery may fail, e.g. http request for the OIDC server may fail.
    		if err != nil {
    			return nil, fmt.Errorf("failed at creating an OIDC provider for %v: %v", issuer, err)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. README.md

    [Conscrypt][conscrypt], which integrates [BoringSSL](https://github.com/google/boringssl) with Java. OkHttp will use Conscrypt if it is
    the first security provider:
    
    ```java
    Security.insertProviderAt(Conscrypt.newProvider(), 1);
    ```
    
    The OkHttp `3.12.x` branch supports Android 2.3+ (API level 9+) and Java 7+. These platforms lack
    support for TLS 1.2 and should not be used.
    
    
    Releases
    --------
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top