Skip to content

derUniversalString ​

derUniversalString ​

Encodes a DER UniversalString (tag 0x1c) as big-endian UTF-32.

ts
function derUniversalString(
	value: string,
): Uint8Array

Parameters

  • value: string

Throws

  • on lone surrogates.

Released under the MIT License.