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

parse() — spring-boot Function Reference

Architecture documentation for the parse() function in PemCertificateParser.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  00915f87_7e46_4b73_13ac_6cf7c0b4dc33["parse()"]
  52d29198_e2bc_56e8_4d08_7840d8530868["getCertificateFactory()"]
  00915f87_7e46_4b73_13ac_6cf7c0b4dc33 -->|calls| 52d29198_e2bc_56e8_4d08_7840d8530868
  53791da8_48e6_2943_ac92_851da56cfe9d["readCertificates()"]
  00915f87_7e46_4b73_13ac_6cf7c0b4dc33 -->|calls| 53791da8_48e6_2943_ac92_851da56cfe9d
  style 00915f87_7e46_4b73_13ac_6cf7c0b4dc33 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ssl/PemCertificateParser.java lines 60–70

	@Contract("!null -> !null")
	static @Nullable List<X509Certificate> parse(@Nullable String text) {
		if (text == null) {
			return null;
		}
		CertificateFactory factory = getCertificateFactory();
		List<X509Certificate> certs = new ArrayList<>();
		readCertificates(text, factory, certs::add);
		Assert.state(!CollectionUtils.isEmpty(certs), "Missing certificates or unrecognized format");
		return List.copyOf(certs);
	}

Subdomains

Calls

Frequently Asked Questions

What does parse() do?
parse() is a function in the spring-boot codebase.
What does parse() call?
parse() calls 2 function(s): getCertificateFactory, readCertificates.

Analyze Your Own Codebase

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

Try Supermodel Free