Strange CN (Common Name) format with \x00 ...

Giganews Newsgroups
Subject: Strange CN (Common Name) format with \x00 ...
Posted by:  Polaris (etpolar…@hotmail.com)
Date: Wed, 27 Sep 2006

Hi Experts:

I have a certificate (below). I just wonder, why the CN part (which is
*.test.com) appear in the format of "\x00 ..."?

Certificate Subject Name=/C=US/ST=CA/L=SanJose/O=Adobe/OU=Customer
Support/CN=\x00*\x00.\x00t\x00e\x00s\x00t.\x00c\x00o\x00m

I'd like to know WHY and WHEN the CN has this strange format?

With this format, should I expect the original binary buffer contains
(null)char(null)char ... format? Or it contains exact chars of
"\x00*\x00.\x00t\x00e\x00s\x00t.\x00c\x00o\x00m" ?

Thanks in Advance!
Polaris

Replies