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

storeContainingCertAndKey() — spring-boot Function Reference

Architecture documentation for the storeContainingCertAndKey() function in PropertiesSslBundleTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  33345aa6_701e_5593_4646_d197e59ede3e["storeContainingCertAndKey()"]
  1a246048_d430_a029_d4d0_133c34009988["getWithPemSslBundlePropertiesWhenVerifyKeyStoreAgainstSingleCertificateWithMatchCreatesBundle()"]
  1a246048_d430_a029_d4d0_133c34009988 -->|calls| 33345aa6_701e_5593_4646_d197e59ede3e
  a7b22950_69d1_3a1f_bba1_9734eac63e10["getWithPemSslBundlePropertiesWhenVerifyKeyStoreAgainstCertificateChainWithMatchCreatesBundle()"]
  a7b22950_69d1_3a1f_bba1_9734eac63e10 -->|calls| 33345aa6_701e_5593_4646_d197e59ede3e
  6c21308f_4443_7b6c_c177_e2bef89be9a9["getWithResourceLoader()"]
  6c21308f_4443_7b6c_c177_e2bef89be9a9 -->|calls| 33345aa6_701e_5593_4646_d197e59ede3e
  style 33345aa6_701e_5593_4646_d197e59ede3e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/ssl/PropertiesSslBundleTests.java lines 166–174

	private Consumer<KeyStore> storeContainingCertAndKey(String keyAlias) {
		return ThrowingConsumer.of((keyStore) -> {
			assertThat(keyStore).isNotNull();
			assertThat(keyStore.getType()).isEqualTo(KeyStore.getDefaultType());
			assertThat(keyStore.containsAlias(keyAlias)).isTrue();
			assertThat(keyStore.getCertificate(keyAlias)).isNotNull();
			assertThat(keyStore.getKey(keyAlias, EMPTY_KEY_PASSWORD)).isNotNull();
		});
	}

Domain

Subdomains

Called By

  • getWithPemSslBundlePropertiesWhenVerifyKeyStoreAgainstCertificateChainWithMatchCreatesBundle()
  • getWithPemSslBundlePropertiesWhenVerifyKeyStoreAgainstSingleCertificateWithMatchCreatesBundle()
  • getWithResourceLoader()

Frequently Asked Questions

What does storeContainingCertAndKey() do?
storeContainingCertAndKey() is a function in the spring-boot codebase.
What calls storeContainingCertAndKey()?
storeContainingCertAndKey() is called by 3 function(s): getWithPemSslBundlePropertiesWhenVerifyKeyStoreAgainstCertificateChainWithMatchCreatesBundle, getWithPemSslBundlePropertiesWhenVerifyKeyStoreAgainstSingleCertificateWithMatchCreatesBundle, getWithResourceLoader.

Analyze Your Own Codebase

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

Try Supermodel Free