Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for newProvider (0.22 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,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 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)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. 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
    --------
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  4. cmd/utils.go

    func MockOpenIDTestUserInteraction(ctx context.Context, pro OpenIDClientAppParams, username, password string) (string, error) {
    	ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
    	defer cancel()
    
    	provider, err := oidc.NewProvider(ctx, pro.ProviderURL)
    	if err != nil {
    		return "", fmt.Errorf("unable to create provider: %v", err)
    	}
    
    	// Configure an OpenID Connect aware OAuth2 client.
    	oauth2Config := oauth2.Config{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
Back to top