trustStoreCertificatesShouldProvideSslInfo() — spring-boot Function Reference
Architecture documentation for the trustStoreCertificatesShouldProvideSslInfo() function in SslInfoTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 531137db_4220_b1d6_9af0_8305b9ad8b21["trustStoreCertificatesShouldProvideSslInfo()"] 41cd76d7_48b9_fa25_7f50_c038acb01cb4["DefaultSslBundleRegistry()"] 531137db_4220_b1d6_9af0_8305b9ad8b21 -->|calls| 41cd76d7_48b9_fa25_7f50_c038acb01cb4 5da1fb80_a713_efc5_2f30_14955e4a7d76["forLocation()"] 531137db_4220_b1d6_9af0_8305b9ad8b21 -->|calls| 5da1fb80_a713_efc5_2f30_14955e4a7d76 ab324ff6_8808_1196_6192_d2674b03537f["withPassword()"] 531137db_4220_b1d6_9af0_8305b9ad8b21 -->|calls| ab324ff6_8808_1196_6192_d2674b03537f 4e6af648_6688_a51b_9689_8570f317cf4b["JksSslStoreBundle()"] 531137db_4220_b1d6_9af0_8305b9ad8b21 -->|calls| 4e6af648_6688_a51b_9689_8570f317cf4b 57be9bb5_de42_ee29_843b_d909abc58185["registerBundle()"] 531137db_4220_b1d6_9af0_8305b9ad8b21 -->|calls| 57be9bb5_de42_ee29_843b_d909abc58185 18e8e575_9b86_6695_b1a9_b26cb979aa93["isEmpty()"] 531137db_4220_b1d6_9af0_8305b9ad8b21 -->|calls| 18e8e575_9b86_6695_b1a9_b26cb979aa93 style 531137db_4220_b1d6_9af0_8305b9ad8b21 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/info/SslInfoTests.java lines 195–211
@Test
@WithPackageResources("test.p12")
void trustStoreCertificatesShouldProvideSslInfo() {
DefaultSslBundleRegistry sslBundleRegistry = new DefaultSslBundleRegistry();
JksSslStoreDetails trustStoreDetails = JksSslStoreDetails.forLocation("classpath:test.p12")
.withPassword("secret");
SslStoreBundle sslStoreBundle = new JksSslStoreBundle(null, trustStoreDetails);
sslBundleRegistry.registerBundle("test-trust", SslBundle.of(sslStoreBundle));
SslInfo sslInfo = new SslInfo(sslBundleRegistry, CLOCK);
assertThat(sslInfo.getBundles()).hasSize(1);
BundleInfo bundle = sslInfo.getBundles().get(0);
assertThat(bundle.getName()).isEqualTo("test-trust");
assertThat(bundle.getCertificateChains()).isEmpty();
assertThat(bundle.getTrustStoreCertificateChains()).hasSize(4);
assertThat(bundle.getTrustStoreCertificateChains().get(0).getAlias()).isEqualTo("spring-boot");
assertThat(bundle.getTrustStoreCertificateChains().get(1).getAlias()).isEqualTo("test-alias");
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does trustStoreCertificatesShouldProvideSslInfo() do?
trustStoreCertificatesShouldProvideSslInfo() is a function in the spring-boot codebase.
What does trustStoreCertificatesShouldProvideSslInfo() call?
trustStoreCertificatesShouldProvideSslInfo() calls 6 function(s): DefaultSslBundleRegistry, JksSslStoreBundle, forLocation, isEmpty, registerBundle, withPassword.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free