The "/Demos/Dungeon/PLDun..Demo_Windows_1_4.zip" file could not be found or is not available. Please select another file.

pkcs11.net

beta
16 Recommendations
29 Downloads (This Week)
  Browse Code SVN Repository

Description

Pkcs11 wrapper for .Net, written in C#. Supported Methods: TokeInfo/SlotInfo, Open/Close Session, Login/Logout, Find Objects, Digest, Sign/Verify, Encrypt/Decrypt

pkcs11.net Web Site

Features

  • you can use any cryptoki library (gclib.dll, siecap11.dll etc..)
  • initialize token, manage session, digest sign
  • similar to iaikwrapper

User Ratings

 
 
16
3
Write a Review

User Reviews

  • Posted by Chris 2012-04-18

    Super tool, but some major bugs. All delegates must use Cdecl calling convention (add [UnmanagedFunctionPointer(CallingConvention.Cdecl)]). All marshalled structs must not be aligned (edit [StructLayout(LayoutKind.Sequential,Pack=1)]. Some functions alloc memory with Marshal.AllocHGlobal(..) and that memory is never reclaimed (solvable with an IntPtr wrapper class which keeps track of all allocs and frees the memory when the finalizer gets called). Tested with IKey, Gemalto and Feitian token. Works perfect now!

  • Posted by Henry 2012-03-26

    Great tool

  • Posted by Hoài Linh Nguyễn 2012-01-11

    I can not get TokenInfo in Token because it throw System.FormatException: "Input string is not in a correct format", ncryptoki can get correct TokenInfo but I have to buy license. :D Sorry, I get the latest in SVN and it work. That version in SVN is 1.1 and current version in download is 1.0. Thank for great wrapper. I try to get object is container name in VENDOR_DEFINED + address, it's work well when use in C++ and NCryptoki, but pkcs11.net return 3 null objects, there're 3 objects but they aren't null at all. It contains more info in that. When I test with other address, it gets nothing (that's right).

  • Posted by Michael Zarlenga 2011-03-13

    Works well, but documentation is terrible. Drop the .dll into .NET Reflector and browse to the tests for code usage examples.

  • Posted by Siavash Fallahdoost 2010-08-09

    Excellent library for a .NET application that requires to communicate with PKCS#11 tokens.

Read more reviews

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.