Home / Function/ getTlsSocketStrategy() — spring-boot Function Reference

getTlsSocketStrategy() — spring-boot Function Reference

Architecture documentation for the getTlsSocketStrategy() function in RemoteHttpClientTransport.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  b09d348c_c0fa_aa08_2f38_cccd4e5372b7["getTlsSocketStrategy()"]
  b7da7e35_3e2b_f243_05f4_01d0d01e3dda["create()"]
  b7da7e35_3e2b_f243_05f4_01d0d01e3dda -->|calls| b09d348c_c0fa_aa08_2f38_cccd4e5372b7
  e5c190de_7cf8_aff8_058d_516e055bf392["getCertificatePath()"]
  b09d348c_c0fa_aa08_2f38_cccd4e5372b7 -->|calls| e5c190de_7cf8_aff8_058d_516e055bf392
  558e2ad1_2b13_cad1_5b7d_2c012bc620c9["forDirectory()"]
  b09d348c_c0fa_aa08_2f38_cccd4e5372b7 -->|calls| 558e2ad1_2b13_cad1_5b7d_2c012bc620c9
  style b09d348c_c0fa_aa08_2f38_cccd4e5372b7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/RemoteHttpClientTransport.java lines 88–94

	private static TlsSocketStrategy getTlsSocketStrategy(DockerHost host, SslContextFactory sslContextFactory) {
		String directory = host.getCertificatePath();
		Assert.state(StringUtils.hasText(directory),
				"Docker host TLS verification requires trust material location to be specified with certificate path");
		SSLContext sslContext = sslContextFactory.forDirectory(directory);
		return new DefaultClientTlsStrategy(sslContext);
	}

Subdomains

Calls

Called By

Frequently Asked Questions

What does getTlsSocketStrategy() do?
getTlsSocketStrategy() is a function in the spring-boot codebase.
What does getTlsSocketStrategy() call?
getTlsSocketStrategy() calls 2 function(s): forDirectory, getCertificatePath.
What calls getTlsSocketStrategy()?
getTlsSocketStrategy() is called by 1 function(s): create.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free