Subject: Special Characters in DN -- RFC-1779,2253,4514
Author: SteveHB
Posted on: 11/27/2006 08:10:08 PM
Special Characters was first defined in RFC 1179, then the modified versions RFC 2253 and RFC 4514
http://www.ietf.org/rfc/rfc4514.txt
If a value should contain any of the following characters
Character ASCII value Position RFC since
----------------------------------------------------------------------
'#' 0x23 at the beginning 2253, 4514
' ' 0x20 at the beginning or the end 2253, 4514
'"' 0x22 anywhere 1179
'+' 0x2b anywhere 1179
',' 0x2c anywhere 1179
';' 0x3b anywhere 1179 only
'<' 0x3c anywhere 1179
'=' 0x3d anywhere 1179, 2253
'>' 0x3e anywhere 1179
'\' 0x5c anywhere 1179
NUL 0x00 anywhere 4514
the character must be profixed by a backslash '\'. The others, like NULL or
non-printable char, must be encoded as the backslash '\' character (ASCII
0x5c) followed by the two hexadecimal digits representing the ASCII
value of the encoded character. The case of the two hexadecimal
digits is not significant.
Replies:
References: