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

Features

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

Project Activity

See All Activity >

License

MIT License

Follow pkcs11.net

pkcs11.net Web Site

Other Useful Business Software
Convert CentOS to Red Hat Enterprise Linux on Azure Icon
Convert CentOS to Red Hat Enterprise Linux on Azure

Go beyond legacy Linux and streamline your CentOS migration journey by moving mission-critical workloads to Red Hat Enterprise Linux on Azure.

CentOS Linux is experiencing End of Life on June 30th, leading to potential gaps in security. With Red Hat Enterprise Linux on Azure, IT Teams can seamlessly migrate mission-critical CentOS Linux workloads knowing they don’t have to compromise on security, scalability, reliability, and simplifying cloud management. Securely accelerate innovation and unlock a competitive edge with enterprise-grade modern cloud infrastructure.
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
7
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • Nice job, it helps a lot! Keep it up! :)
  • Thanks for Pkcs11net, it's perfect!
    2 users found this review helpful.
  • I build with AnyCpu for using 64 bit drivers(like siecap11.dll). But most of functions failed. Did anyone try with 64bit drivers? I solved it:) Just change the like this; [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode,Pack=1)] public struct CK_ATTRIBUTE{ public uint atype; public IntPtr pValue; public uint ulValueLen; }
  • 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!
  • 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).
Read more reviews >

Additional Project Details

Operating Systems

Windows

Intended Audience

Developers

Programming Language

C#

Registered

2009-09-08