PrintableString
Appearance
A PrintableString is a Universal Tag in the ASN.1 notation. It is used to describe strings that do only consist of a specific printable subset of the ASCII character set.
Valid Character Set
The PrintableString definition does not include the at sign (@) or ampersand (&). This sometimes causes problems for naive implementers who attempt to put an SMTP email address into an X.509 digital certificate Distinguished Name.
According to the ISO/IEC 8824-1 (Specification of basic notation), the character set of PrintableString can be expressed as:
Name | Graphic |
---|---|
Latin capital letters | A,B, ... Z
|
Latin small letters | a,b, ... z
|
SPACE | (space) |
APOSTROPHE | '
|
LEFT PARENTHESIS | (
|
RIGHT PARENTHESIS | )
|
PLUS SIGN | +
|
COMMA | ,
|
HYPHEN-MINUS | -
|
FULL STOP | .
|
SOLIDUS | /
|
COLON | :
|
EQUALS SIGN | =
|
QUESTION MARK | ?
|
Usage Examples
Among others, PrintableStrings are used in