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

getPemSslStoreDetails() — spring-boot Function Reference

Architecture documentation for the getPemSslStoreDetails() function in DockerComposeConnectionDetailsFactory.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  f6248b50_84d2_c2ac_5ed2_15e6cd9d84b0["getPemSslStoreDetails()"]
  a59f1b18_ec67_6629_09af_f76e6d6179b7["getPemSslBundle()"]
  a59f1b18_ec67_6629_09af_f76e6d6179b7 -->|calls| f6248b50_84d2_c2ac_5ed2_15e6cd9d84b0
  673b8aaf_c922_a73f_650c_513c7427c913["PemSslStoreDetails()"]
  f6248b50_84d2_c2ac_5ed2_15e6cd9d84b0 -->|calls| 673b8aaf_c922_a73f_650c_513c7427c913
  09e40f5a_e5db_998f_4ef6_311ec10bcd8f["get()"]
  f6248b50_84d2_c2ac_5ed2_15e6cd9d84b0 -->|calls| 09e40f5a_e5db_998f_4ef6_311ec10bcd8f
  style f6248b50_84d2_c2ac_5ed2_15e6cd9d84b0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-docker-compose/src/main/java/org/springframework/boot/docker/compose/service/connection/DockerComposeConnectionDetailsFactory.java lines 236–248

		private @Nullable PemSslStoreDetails getPemSslStoreDetails(RunningService service, String storeType) {
			String type = service.labels().get("org.springframework.boot.sslbundle.pem.%s.type".formatted(storeType));
			String certificate = service.labels()
				.get("org.springframework.boot.sslbundle.pem.%s.certificate".formatted(storeType));
			String privateKey = service.labels()
				.get("org.springframework.boot.sslbundle.pem.%s.private-key".formatted(storeType));
			String privateKeyPassword = service.labels()
				.get("org.springframework.boot.sslbundle.pem.%s.private-key-password".formatted(storeType));
			if (certificate == null && privateKey == null) {
				return null;
			}
			return new PemSslStoreDetails(type, certificate, privateKey, privateKeyPassword);
		}

Domain

Subdomains

Called By

Frequently Asked Questions

What does getPemSslStoreDetails() do?
getPemSslStoreDetails() is a function in the spring-boot codebase.
What does getPemSslStoreDetails() call?
getPemSslStoreDetails() calls 2 function(s): PemSslStoreDetails, get.
What calls getPemSslStoreDetails()?
getPemSslStoreDetails() is called by 1 function(s): getPemSslBundle.

Analyze Your Own Codebase

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

Try Supermodel Free