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

getEcParameters() — spring-boot Function Reference

Architecture documentation for the getEcParameters() function in PemPrivateKeyParser.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  2e5b1d95_473d_6851_9484_e54f96c7133f["getEcParameters()"]
  3ec5bf80_7c44_d0c9_be14_961b40d5ef6a["createKeySpecForSec1Ec()"]
  3ec5bf80_7c44_d0c9_be14_961b40d5ef6a -->|calls| 2e5b1d95_473d_6851_9484_e54f96c7133f
  769485d7_3d05_2a17_e40f_ab5969f3158b["isType()"]
  2e5b1d95_473d_6851_9484_e54f96c7133f -->|calls| 769485d7_3d05_2a17_e40f_ab5969f3158b
  8e95391a_e33e_a2ec_4af6_7d51fccc5224["getContents()"]
  2e5b1d95_473d_6851_9484_e54f96c7133f -->|calls| 8e95391a_e33e_a2ec_4af6_7d51fccc5224
  49107b8c_e444_7ae5_a698_ba5067480277["of()"]
  2e5b1d95_473d_6851_9484_e54f96c7133f -->|calls| 49107b8c_e444_7ae5_a698_ba5067480277
  style 2e5b1d95_473d_6851_9484_e54f96c7133f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/ssl/pem/PemPrivateKeyParser.java lines 139–148

	private static EncodedOid getEcParameters(@Nullable DerElement parameters) {
		if (parameters == null) {
			return ELLIPTIC_CURVE_384_BIT;
		}
		Assert.state(parameters.isType(ValueType.ENCODED), "Key spec should contain encoded parameters");
		DerElement contents = DerElement.of(parameters.getContents());
		Assert.state(contents != null && contents.isType(ValueType.PRIMITIVE, TagType.OBJECT_IDENTIFIER),
				"Key spec parameters should contain object identifier");
		return EncodedOid.of(contents);
	}

Domain

Subdomains

Frequently Asked Questions

What does getEcParameters() do?
getEcParameters() is a function in the spring-boot codebase.
What does getEcParameters() call?
getEcParameters() calls 3 function(s): getContents, isType, of.
What calls getEcParameters()?
getEcParameters() is called by 1 function(s): createKeySpecForSec1Ec.

Analyze Your Own Codebase

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

Try Supermodel Free