Skip to content

decodeDerOidOrThrow ​

decodeDerOidOrThrow ​

Decodes an OBJECT IDENTIFIER element (tag 0x06) into dotted-decimal form.

ts
function decodeDerOidOrThrow(
	element: DerElement,
): string

Parameters

Throws

  • if element is mis-tagged, or holds a malformed sub-identifier.

Released under the MIT License.