Skip to content

derPrintableString ​

derPrintableString ​

Encodes a DER PrintableString (tag 0x13).

ts
function derPrintableString(
	value: string,
): Uint8Array

Parameters

  • value: string

Throws

  • if the input contains characters outside the ITU-T X.680 §41.4 Table 10 PrintableString set.

Released under the MIT License.