Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PKCS # 11 library in C#

Tags:

c#

dll

pkcs#11

I need to write PKCS11 library for some smart-card. I am C# developer and I do not want to use other languages. I use platform invoke to comunicate with cards API (it is no PKCS11).

How can I write library with PKCS11 interface in C# that will be available not only for .Net. What technologies i must use, what i must know (I have never done this things before)? I hope, I will be enough some keywords in this subject for start. In what direction i must dig?

Thank you.

like image 718
Gorf Avatar asked Sep 16 '25 01:09

Gorf


1 Answers

You can use this library: pkcs11.net

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

like image 95
Ruhollah Delpak Avatar answered Sep 17 '25 15:09

Ruhollah Delpak