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

extractCertificates() — spring-boot Function Reference

Architecture documentation for the extractCertificates() function in SslInfo.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  9b664410_7ace_8b46_9161_76b8daeabb46["extractCertificates()"]
  940fe55c_b0df_308e_09ca_ba0f8b2a6815["CertificateChainInfo()"]
  940fe55c_b0df_308e_09ca_ba0f8b2a6815 -->|calls| 9b664410_7ace_8b46_9161_76b8daeabb46
  4826e177_cd3e_ea93_4f92_e0265043a83a["readCertificateChain()"]
  9b664410_7ace_8b46_9161_76b8daeabb46 -->|calls| 4826e177_cd3e_ea93_4f92_e0265043a83a
  319e1605_4d83_9562_d22d_120c32ae5e0d["readCertificate()"]
  9b664410_7ace_8b46_9161_76b8daeabb46 -->|calls| 319e1605_4d83_9562_d22d_120c32ae5e0d
  style 9b664410_7ace_8b46_9161_76b8daeabb46 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/info/SslInfo.java lines 158–173

		private List<CertificateInfo> extractCertificates(KeyStore keyStore, String alias) {
			try {
				List<CertificateInfo> certificates = readCertificateChain(keyStore, alias);
				if (certificates != null) {
					return certificates;
				}
				List<CertificateInfo> certificate = readCertificate(keyStore, alias);
				if (certificate != null) {
					return certificate;
				}
				return Collections.emptyList();
			}
			catch (KeyStoreException ex) {
				return Collections.emptyList();
			}
		}

Domain

Subdomains

Calls

  • readCertificate()
  • readCertificateChain()

Called By

  • CertificateChainInfo()

Frequently Asked Questions

What does extractCertificates() do?
extractCertificates() is a function in the spring-boot codebase.
What does extractCertificates() call?
extractCertificates() calls 2 function(s): readCertificate, readCertificateChain.
What calls extractCertificates()?
extractCertificates() is called by 1 function(s): CertificateChainInfo.

Analyze Your Own Codebase

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

Try Supermodel Free