如何在.Net中与PKCS#11兼容的HSM设备进行接口? [英] How to interface with PKCS #11 compliant HSM device in .Net?

查看:194
本文介绍了如何在.Net中与PKCS#11兼容的HSM设备进行接口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我应该在C#中编写一个与 Thales WebSentry 我需要几个提示如何开始。



设备附带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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆