Skip to content
asn1jsasn1jsasn1jsv4.1.0

ParseDiagnostic

A validation failure located within the original parser input.

optional byteOffset?: number

Exact offending byte relative to the root input, when known.


code: DerViolationCode


depth: number

Nesting depth, with the root element at depth zero.


message: string


offset: number

Start of the element’s TLV relative to the root input.