ASN.1 PrintableString tag: 19

The ASN.1 PrintableString type supports upper case letters "A" through "Z", lower case letters "a" through "z", the digits "0" through "9", space, and common punctuation marks. Note that PrintableString does not support the "@", "&", and "*" characters.

Example

CommonString ::= PrintableString
TextResponse ::= PrintableString ("Success" | "Failure")
PrintableString encoding example
Name ::= PrintableString
topAuthor Name ::= "Parker"

In BER, the PrintableString type value defined in the example above is encoded as follows:

13 06 5061726B6572

Constraints

The PrintableString type can be constrained by a single value, by size constraints, and by permitted alphabet constraints.

Related Topics