ParseDiagnostic
A validation failure located within the original parser input.
Properties
Section titled “Properties”byteOffset?
Section titled “byteOffset?”
optionalbyteOffset?: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
Section titled “message”message:
string
offset
Section titled “offset”offset:
number
Start of the element’s TLV relative to the root input.