X509 guide/tutorial in C#

删除回忆录丶 提交于 2019-12-03 12:32:32

问题


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


回答1:


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.




回答2:


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).




回答3:


I found this particularly helpful:

Nine simple steps to enable X.509 certificates on WCF

Also, if anyone's having trouble installing the windows devlopment sdk (to get MakeCert.exe), untick the c++ options in the installer and it seems to work fine.



来源:https://stackoverflow.com/questions/1228439/x509-guide-tutorial-in-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!