PrintableString

From Wikipedia, the free encyclopedia

A PrintableString is a Universal Tag in the ASN.1 notation.

According to RFC 3280 [1], PrintableString is an acceptable character set for the DirectoryName data type. PrintableString supports a subset of characters which does not include the at sign (@) or ampersand (&). This often causes problems for implementers when they attempt to place an email address within an X.509 digital certificate distinguished name.

According to the Layman's Guide to a Subset of ASN.1, BER, and DER [2], the character set of PrintableString can be expressed as:

A, B, ..., Z
a, b, ..., z
0, 1, ..., 9
(space) ' ( ) + , - . / : = ?

[edit] References

  1. Housley, R.; Polk, W.; Ford, W. & Solo, D., Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile, <http://www.ietf.org/rfc/rfc3280.txt>. Retrieved on 19 June 2007 
  2. Kaliski, Jr., Burton, A Layman's Guide to a Subset of ASN.1, BER, and DER, <http://www.columbia.edu/~ariel/ssleay/layman.html>. Retrieved on 19 June 2007