Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Security / April 2006

Tip: Looking for answers? Try searching our database.

X509Certificate2 Serialnumber does not have hyphen delimiters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gerry - 25 Apr 2006 04:03 GMT
For test purposes my asp.net app loads a user certificate that is
stored locally on the server the certificate serial number is not
hyphen delimited. The same certificate, when used for user
authentication purposes in an HTTPS request, does have a hyphen
delimited serial number - at least that is what the application log
indicates.

When I view the cert the serial number is space delimited. Any ideas
why the cryptography apis return a serial number with/without hyphens.
Is the format of the serial number predictable?
Joe Kaplan (MVP - ADSI) - 26 Apr 2006 14:03 GMT
I'm pretty sure that the certificate is represented in a binary format in
the certificate, so what you are seeing are just different string
representations of the underlying byte array.  Some separate the hex
characters with spaces and some with dashes.  The data should be the same
though.

Joe K.

> For test purposes my asp.net app loads a user certificate that is
> stored locally on the server the certificate serial number is not
[quoted text clipped - 6 lines]
> why the cryptography apis return a serial number with/without hyphens.
> Is the format of the serial number predictable?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
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.