如何在.Net中与PKCS#11兼容的HSM设备进行接口? [英] How to interface with PKCS #11 compliant HSM device in .Net?
问题描述
设备附带Java SDK,但我需要在.NET中进行编程。在.NET中有可以使用的任何库,还是必须将它都做到低级(直接到套接字)。
任何关于如何和在哪里开始的提示或指针?
谢谢!
如果模块符合PKCS#11标准,那么在开发工具包中应该有一个.dll实现PKCS#11 API。 Google搜索似乎表明它被称为 wspkcs11d.dll
。
您应该能够P / Invoke到PKCS#11图书馆。如果Thales没有提供图书馆的文件,您可以找到文档 here (但请注意,他们最有可能仅支持完整标准的一部分)。
I am supposed to write a client application in C# that communicates with Thales WebSentry and I need a few hints at how to start.
Device comes with Java SDK but I need to do my programming in .NET. Are there any libraries in .NET that I can use, or will I have to do it all low-level (directly to socket). Any hints or pointers on how and where to start?
Thanks!
If the module is PKCS#11-compliant, there should be a .dll somewhere in the development kit that implements the PKCS#11 API. A Google search seems to indicate that it is called wspkcs11d.dll
.
You should be able to P/Invoke to the PKCS#11 library. If Thales have not supplies documentation for the library, you can find the documentation here (but note that they most probably only support a subset of the full standard).
这篇关于如何在.Net中与PKCS#11兼容的HSM设备进行接口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!