Skip to content

derIa5String ​

derIa5String ​

Encodes a DER IA5String (tag 0x16).

ts
function derIa5String(
	value: string,
): Uint8Array

Parameters

  • value: string

Throws

  • if the input contains any non-ASCII character (code point > 0x7f).

Released under the MIT License.