Accessing NitrokeyHSM by Pkcs11Interop.net C# Wrapper

We intend to use Nitrokey HSM for our client’s PKCS#11-infrastructure. Since most of our products are going to be written in .NET (Core/5) we would like to use a PKCS#11Interop-Wrapper (see https://pkcs11interop.net/).
Therefore the HSM-product needs to come with a .dll- or .so-library that exposes all standard PKCS#11-API functions. This leads us to the question if Nitrokey HSM comes with a PKCS#11-(Windows and/or Linux) library, so the above mentioned Pkcs11Interop-Library can consume it?

Thank you in advance for your help!

PS: A source code example of the PKCS#11-library-wrapper can be found at https://github.com/Pkcs11Interop/Pkcs11Interop/blob/5.1.1/doc/GETTING_STARTED.md.

Yes, a PKCS#11 driver for Nitrokey HSM is available as part as OpenSC.

This looks great, thank you for the link which we just could not find somehow… we are now going order a NitrokeyHSM sample in order to try it out and see if it matches our needs! Thank you for the quick response!

  • Daniel
1 Like