Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for supportedTlsVersions (0.37 sec)

  1. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientHelper.java

                HttpClientConfigurer configurer = new HttpClientConfigurer(settings);
                configurer.configure(builder);
                this.supportedTlsVersions = configurer.supportedTlsVersions();
                this.client = builder.build();
            }
            return client;
        }
    
        @Override
        public synchronized void close() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/DeprecatedTLSVersionTest.groovy

            .withSslContextFactory(new DefaultSslContextFactory())
            .withRedirectVerifier({})
            .build()
    
        private final String supportedTlsVersionsString = String.join(", ", new HttpClientConfigurer(settings).supportedTlsVersions())
    
        @Rule
        SetSystemProperties properties = new SetSystemProperties(keyStore.getServerAndClientCertSettings())
    
        def "server that only supports deprecated TLS versions"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientConfigurer.java

                    }
                }
                return false;
            } catch (Exception e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        Collection<String> supportedTlsVersions() {
            return Arrays.asList(sslProtocols);
        }
    
        private final String[] sslProtocols;
        private final HttpSettings httpSettings;
    
        public HttpClientConfigurer(HttpSettings httpSettings) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 18.5K bytes
    - Viewed (0)
Back to top