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

DerElement() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ae66ddbf_4988_500a_c287_00c4d08f1f69["DerElement()"]
  5400b146_9639_7c2b_1f4c_7ea4047bfee9["of()"]
  5400b146_9639_7c2b_1f4c_7ea4047bfee9 -->|calls| ae66ddbf_4988_500a_c287_00c4d08f1f69
  2e3ced0b_3752_aa7b_06d1_440a91a98a19["decodeTagType()"]
  ae66ddbf_4988_500a_c287_00c4d08f1f69 -->|calls| 2e3ced0b_3752_aa7b_06d1_440a91a98a19
  aafc56c9_646a_b25a_037b_c6d24eceb3f4["decodeLength()"]
  ae66ddbf_4988_500a_c287_00c4d08f1f69 -->|calls| aafc56c9_646a_b25a_037b_c6d24eceb3f4
  style ae66ddbf_4988_500a_c287_00c4d08f1f69 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/PemPrivateKeyParser.java lines 357–366

		private DerElement(ByteBuffer bytes) {
			byte b = bytes.get();
			this.valueType = ((b & 0x20) == 0) ? ValueType.PRIMITIVE : ValueType.ENCODED;
			this.tagType = decodeTagType(b, bytes);
			int length = decodeLength(bytes);
			bytes.limit(bytes.position() + length);
			this.contents = bytes.slice();
			bytes.limit(bytes.capacity());
			bytes.position(bytes.position() + length);
		}

Subdomains

Calls

  • decodeLength()
  • decodeTagType()

Called By

Frequently Asked Questions

What does DerElement() do?
DerElement() is a function in the spring-boot codebase.
What does DerElement() call?
DerElement() calls 2 function(s): decodeLength, decodeTagType.
What calls DerElement()?
DerElement() is called by 1 function(s): of.

Analyze Your Own Codebase

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

Try Supermodel Free