decodeDerBooleanOrThrow
decodeDerBooleanOrThrow
Decodes a BOOLEAN element (tag 0x01).
ts
function decodeDerBooleanOrThrow(
element: DerElement,
): booleanParameters
element:DerElement
Throws
- if
elementis mis-tagged, or holds anything but0x00or0xff.