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

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
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