getJksSslBundle() — spring-boot Function Reference
Architecture documentation for the getJksSslBundle() function in DockerComposeConnectionDetailsFactory.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 0283c010_c4fc_51c9_be91_20181bfc371d["getJksSslBundle()"] e8e634da_8e37_2b21_8261_7ab54cef658f["getSslBundle()"] e8e634da_8e37_2b21_8261_7ab54cef658f -->|calls| 0283c010_c4fc_51c9_be91_20181bfc371d 48fbf5ed_c32d_a2ea_d5e1_22cbf68c7f6b["getJksSslStoreDetails()"] 0283c010_c4fc_51c9_be91_20181bfc371d -->|calls| 48fbf5ed_c32d_a2ea_d5e1_22cbf68c7f6b 0a841a8a_20f1_c517_4b01_0f36d68146a5["of()"] 0283c010_c4fc_51c9_be91_20181bfc371d -->|calls| 0a841a8a_20f1_c517_4b01_0f36d68146a5 6999b737_339b_e651_88a1_d0879bcbbd8e["createSslOptions()"] 0283c010_c4fc_51c9_be91_20181bfc371d -->|calls| 6999b737_339b_e651_88a1_d0879bcbbd8e cb61bae9_bc75_cee0_b15a_c6c046a4fe3e["getWorkingDirectory()"] 0283c010_c4fc_51c9_be91_20181bfc371d -->|calls| cb61bae9_bc75_cee0_b15a_c6c046a4fe3e 4e6af648_6688_a51b_9689_8570f317cf4b["JksSslStoreBundle()"] 0283c010_c4fc_51c9_be91_20181bfc371d -->|calls| 4e6af648_6688_a51b_9689_8570f317cf4b 0a058cea_60e9_c362_f59a_c89b2b4bb7aa["getResourceLoader()"] 0283c010_c4fc_51c9_be91_20181bfc371d -->|calls| 0a058cea_60e9_c362_f59a_c89b2b4bb7aa 09e40f5a_e5db_998f_4ef6_311ec10bcd8f["get()"] 0283c010_c4fc_51c9_be91_20181bfc371d -->|calls| 09e40f5a_e5db_998f_4ef6_311ec10bcd8f style 0283c010_c4fc_51c9_be91_20181bfc371d 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 160–176
private @Nullable SslBundle getJksSslBundle(RunningService service) {
JksSslStoreDetails keyStoreDetails = getJksSslStoreDetails(service, "keystore");
JksSslStoreDetails trustStoreDetails = getJksSslStoreDetails(service, "truststore");
if (keyStoreDetails == null && trustStoreDetails == null) {
return null;
}
SslBundleKey key = SslBundleKey.of(service.labels().get("org.springframework.boot.sslbundle.jks.key.alias"),
service.labels().get("org.springframework.boot.sslbundle.jks.key.password"));
SslOptions options = createSslOptions(
service.labels().get("org.springframework.boot.sslbundle.jks.options.ciphers"),
service.labels().get("org.springframework.boot.sslbundle.jks.options.enabled-protocols"));
String protocol = service.labels().get("org.springframework.boot.sslbundle.jks.protocol");
Path workingDirectory = getWorkingDirectory(service);
return SslBundle.of(
new JksSslStoreBundle(keyStoreDetails, trustStoreDetails, getResourceLoader(workingDirectory)), key,
options, protocol);
}
Domain
Subdomains
Calls
- JksSslStoreBundle()
- createSslOptions()
- get()
- getJksSslStoreDetails()
- getResourceLoader()
- getWorkingDirectory()
- of()
Called By
- getSslBundle()
Source
Frequently Asked Questions
What does getJksSslBundle() do?
getJksSslBundle() is a function in the spring-boot codebase.
What does getJksSslBundle() call?
getJksSslBundle() calls 7 function(s): JksSslStoreBundle, createSslOptions, get, getJksSslStoreDetails, getResourceLoader, getWorkingDirectory, of.
What calls getJksSslBundle()?
getJksSslBundle() is called by 1 function(s): getSslBundle.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free