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

read() — spring-boot Function Reference

Architecture documentation for the read() function in PemPrivateKeyParserTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  eb01c517_73fd_7f95_d224_c369f0e71e59["read()"]
  82cb3b6c_73d8_6c1a_c545_97b3d1c03c8a["shouldParseTraditionalPkcs8()"]
  82cb3b6c_73d8_6c1a_c545_97b3d1c03c8a -->|calls| eb01c517_73fd_7f95_d224_c369f0e71e59
  cde7f6b7_0cdd_65d9_8c21_acc1522d4818["shouldParseTraditionalPkcs1()"]
  cde7f6b7_0cdd_65d9_8c21_acc1522d4818 -->|calls| eb01c517_73fd_7f95_d224_c369f0e71e59
  b83d6a07_b5f9_1adc_adcb_36c1faf39648["shouldNotParseUnsupportedTraditionalPkcs1()"]
  b83d6a07_b5f9_1adc_adcb_36c1faf39648 -->|calls| eb01c517_73fd_7f95_d224_c369f0e71e59
  0f0419cc_4fac_81ef_2183_3234c38ee9ac["shouldParseEcPkcs8()"]
  0f0419cc_4fac_81ef_2183_3234c38ee9ac -->|calls| eb01c517_73fd_7f95_d224_c369f0e71e59
  10c480f1_ddca_95f4_bbb5_af04c48c8d90["shouldNotParseUnsupportedEcPkcs8()"]
  10c480f1_ddca_95f4_bbb5_af04c48c8d90 -->|calls| eb01c517_73fd_7f95_d224_c369f0e71e59
  bdb87fdd_4544_443c_adf7_47d045507951["shouldParseEdDsaPkcs8()"]
  bdb87fdd_4544_443c_adf7_47d045507951 -->|calls| eb01c517_73fd_7f95_d224_c369f0e71e59
  27e9c554_047f_6c94_547a_48c9e3b9f5fd["shouldParseXdhPkcs8()"]
  27e9c554_047f_6c94_547a_48c9e3b9f5fd -->|calls| eb01c517_73fd_7f95_d224_c369f0e71e59
  b715a1f7_2ea8_2e2c_137f_0a263ffdb309["shouldParseEcSec1()"]
  b715a1f7_2ea8_2e2c_137f_0a263ffdb309 -->|calls| eb01c517_73fd_7f95_d224_c369f0e71e59
  27b11563_ee56_ac8c_cc40_1ef116c20f9d["shouldNotParseUnsupportedEcSec1()"]
  27b11563_ee56_ac8c_cc40_1ef116c20f9d -->|calls| eb01c517_73fd_7f95_d224_c369f0e71e59
  b51c1754_1f30_5076_fd1d_e472c156a79e["parseWithNonKeyTextWillThrowException()"]
  b51c1754_1f30_5076_fd1d_e472c156a79e -->|calls| eb01c517_73fd_7f95_d224_c369f0e71e59
  fd256b60_5f10_6e2b_69d0_53f89ec2b5dc["shouldParseEncryptedPkcs8()"]
  fd256b60_5f10_6e2b_69d0_53f89ec2b5dc -->|calls| eb01c517_73fd_7f95_d224_c369f0e71e59
  d038bfae_b0d0_b735_d3cc_6e73f5d924bf["shouldNotParseEncryptedPkcs8NotUsingAes()"]
  d038bfae_b0d0_b735_d3cc_6e73f5d924bf -->|calls| eb01c517_73fd_7f95_d224_c369f0e71e59
  4bed85ad_b185_8a15_15fe_62986331567b["shouldNotParseEncryptedPkcs8NotUsingPbkdf2()"]
  4bed85ad_b185_8a15_15fe_62986331567b -->|calls| eb01c517_73fd_7f95_d224_c369f0e71e59
  99795ae2_064b_1a85_1822_02cb7cf1965a["shouldNotParseEncryptedSec1()"]
  99795ae2_064b_1a85_1822_02cb7cf1965a -->|calls| eb01c517_73fd_7f95_d224_c369f0e71e59
  style eb01c517_73fd_7f95_d224_c369f0e71e59 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/ssl/pem/PemPrivateKeyParserTests.java lines 244–247

	private String read(String path) throws IOException {
		return new ClassPathResource("org/springframework/boot/ssl/pem/" + path)
			.getContentAsString(StandardCharsets.UTF_8);
	}

Domain

Subdomains

Called By

  • parseWithNonKeyTextWillThrowException()
  • shouldNotParseEncryptedPkcs1()
  • shouldNotParseEncryptedPkcs8NotUsingAes()
  • shouldNotParseEncryptedPkcs8NotUsingPbkdf2()
  • shouldNotParseEncryptedSec1()
  • shouldNotParseUnsupportedEcPkcs8()
  • shouldNotParseUnsupportedEcSec1()
  • shouldNotParseUnsupportedTraditionalPkcs1()
  • shouldParseEcPkcs8()
  • shouldParseEcSec1()
  • shouldParseEdDsaPkcs8()
  • shouldParseEncryptedPkcs8()
  • shouldParseTraditionalPkcs1()
  • shouldParseTraditionalPkcs8()
  • shouldParseXdhPkcs8()

Frequently Asked Questions

What does read() do?
read() is a function in the spring-boot codebase.
What calls read()?
read() is called by 15 function(s): parseWithNonKeyTextWillThrowException, shouldNotParseEncryptedPkcs1, shouldNotParseEncryptedPkcs8NotUsingAes, shouldNotParseEncryptedPkcs8NotUsingPbkdf2, shouldNotParseEncryptedSec1, shouldNotParseUnsupportedEcPkcs8, shouldNotParseUnsupportedEcSec1, shouldNotParseUnsupportedTraditionalPkcs1, and 7 more.

Analyze Your Own Codebase

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

Try Supermodel Free