views:

808

answers:

5

Does the System.Security.Cryptography.Pkcs namespace have support for PKCS#11?

+1  A: 

Based on the information on MSDN, it appears that only PKCS 7 and 9 are supported.

Scott Dorman
+1  A: 

This company seem to have a PKCS#11 wrapper for .NET, but I have never used it [no affiliation].

Mitch Wheat
A: 

Microsoft's cryptography support for custom external software is typically done through a "CSP".

There exists at least two implementations of Microsoft CSP on top of PKCS#11:

You may want to look at the following MSDN article for reference on how to use a CSP:

http://msdn.microsoft.com/en-us/library/ms229931.aspx

harningt
A: 

a project, wrapper for pkcs#11, is started on sourceforge. pkcs11net

fffbbb
A: 

You can use NCryptoki, that is a .NET PKCS#11 wrapper to native PKCS#11 modules and allows to call PKCS#11 function in C# as well as vb.net. See this url for more information: http://www.ncryptoki.com

Ugo