Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Security / September 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Polaris - 28 Sep 2006 00:22 GMT
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
Michael Ströder - 28 Sep 2006 20:12 GMT
> I have a certificate (below). I just wonder, why the CN part (which is
> *.test.com) appear in the format of "\x00 ..."?

How did you generate this string representation?

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

Looks like BMPString to me. If you strip all the \x00 you'll get:
*.test.com
Seems to be a wild-card certificate for whole domain test.com.

> 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" ?

I don't know what you're after. But it might be good time to start
looking into RFC 3280 (PKIX) for learning about the various ASN.1 string
types.

Ciao, Michael.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.