readDerSequenceOrThrow
readDerSequenceOrThrow
Reads a DER-encoded SEQUENCE from bytes and returns its direct children.
ts
function readDerSequenceOrThrow(
bytes: Uint8Array,
options?: ReadSequenceChildrenOptions,
): DerElement[]Parameters
bytes:Uint8Arrayoptions?:ReadSequenceChildrenOptions
Throws
- if the root element is not a SEQUENCE, or if child boundaries are inconsistent.