Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

X509 guide/tutorial in C#

Can anyone point me to a good introductory materials on X509 certificates with examples in C#.

like image 753
ppiotrowicz Avatar asked Aug 04 '09 16:08

ppiotrowicz


2 Answers

You can begin here

X509Certificate MSDN Resource

The System.Security.Cryptography.X509Certificates namespace contains the common language runtime implementation of the Authenticode X.509 v.3 certificate. This certificate is signed with a private key that uniquely and positively identifies the holder of the certificate.

like image 132
Srikar Doddi Avatar answered Oct 23 '22 08:10

Srikar Doddi


I found this C# example pretty helpful in figuring out how to generate new certificates.

Also this blog post covering the more general concepts

Other than that you'll need the platform SDK installed, which does also include several other examples (most in C++, but a couple in C# and VB too).

like image 32
John Sibly Avatar answered Oct 23 '22 07:10

John Sibly