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

createSslInfo() — spring-boot Function Reference

Architecture documentation for the createSslInfo() function in SslInfoTests.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 5 called by 4

Entity Profile

Dependency Diagram

graph TD
  9789c2e0_5221_552c_d4a1_5acdb674af9b["createSslInfo()"]
  1fd100db_a1b3_2f42_4da1_0554b134975c["validCertificatesShouldProvideSslInfo()"]
  1fd100db_a1b3_2f42_4da1_0554b134975c -->|calls| 9789c2e0_5221_552c_d4a1_5acdb674af9b
  635a1043_8d2e_66e7_156c_fe009dfaa9a1["notYetValidCertificateShouldProvideSslInfo()"]
  635a1043_8d2e_66e7_156c_fe009dfaa9a1 -->|calls| 9789c2e0_5221_552c_d4a1_5acdb674af9b
  0ab7dad1_efd0_e9cb_c3cb_bd38b5489abf["expiredCertificateShouldProvideSslInfo()"]
  0ab7dad1_efd0_e9cb_c3cb_bd38b5489abf -->|calls| 9789c2e0_5221_552c_d4a1_5acdb674af9b
  12812263_21eb_21b1_0efd_d5f8dcc7c3b4["multipleBundlesShouldProvideSslInfo()"]
  12812263_21eb_21b1_0efd_d5f8dcc7c3b4 -->|calls| 9789c2e0_5221_552c_d4a1_5acdb674af9b
  41cd76d7_48b9_fa25_7f50_c038acb01cb4["DefaultSslBundleRegistry()"]
  9789c2e0_5221_552c_d4a1_5acdb674af9b -->|calls| 41cd76d7_48b9_fa25_7f50_c038acb01cb4
  5da1fb80_a713_efc5_2f30_14955e4a7d76["forLocation()"]
  9789c2e0_5221_552c_d4a1_5acdb674af9b -->|calls| 5da1fb80_a713_efc5_2f30_14955e4a7d76
  ab324ff6_8808_1196_6192_d2674b03537f["withPassword()"]
  9789c2e0_5221_552c_d4a1_5acdb674af9b -->|calls| ab324ff6_8808_1196_6192_d2674b03537f
  4e6af648_6688_a51b_9689_8570f317cf4b["JksSslStoreBundle()"]
  9789c2e0_5221_552c_d4a1_5acdb674af9b -->|calls| 4e6af648_6688_a51b_9689_8570f317cf4b
  57be9bb5_de42_ee29_843b_d909abc58185["registerBundle()"]
  9789c2e0_5221_552c_d4a1_5acdb674af9b -->|calls| 57be9bb5_de42_ee29_843b_d909abc58185
  style 9789c2e0_5221_552c_d4a1_5acdb674af9b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/info/SslInfoTests.java lines 256–264

	private SslInfo createSslInfo(String... locations) {
		DefaultSslBundleRegistry sslBundleRegistry = new DefaultSslBundleRegistry();
		for (int i = 0; i < locations.length; i++) {
			JksSslStoreDetails keyStoreDetails = JksSslStoreDetails.forLocation(locations[i]).withPassword("secret");
			SslStoreBundle sslStoreBundle = new JksSslStoreBundle(keyStoreDetails, null);
			sslBundleRegistry.registerBundle("test-%d".formatted(i), SslBundle.of(sslStoreBundle));
		}
		return new SslInfo(sslBundleRegistry, CLOCK);
	}

Domain

Subdomains

Called By

  • expiredCertificateShouldProvideSslInfo()
  • multipleBundlesShouldProvideSslInfo()
  • notYetValidCertificateShouldProvideSslInfo()
  • validCertificatesShouldProvideSslInfo()

Frequently Asked Questions

What does createSslInfo() do?
createSslInfo() is a function in the spring-boot codebase.
What does createSslInfo() call?
createSslInfo() calls 5 function(s): DefaultSslBundleRegistry, JksSslStoreBundle, forLocation, registerBundle, withPassword.
What calls createSslInfo()?
createSslInfo() is called by 4 function(s): expiredCertificateShouldProvideSslInfo, multipleBundlesShouldProvideSslInfo, notYetValidCertificateShouldProvideSslInfo, validCertificatesShouldProvideSslInfo.

Analyze Your Own Codebase

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

Try Supermodel Free