本文介绍了让java IAIK PKCS11包装器适用于nfast的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将IAIK PKCS11包装器与nfast一起使用。

I am trying to get IAIK PKCS11 wrapper to work with nfast.

它总是期待pkcs11wrapper库文件并抛出错误 -

It is always expecting pkcs11wrapper library file and throws an error -

如何让它使用库文件( HSM提供的 /opt/nfast/toolkits/pkcs11/libcknfast.so )?

How do I get it to use the library file (/opt/nfast/toolkits/pkcs11/libcknfast.so) provided by the HSM?

任何帮助都非常感谢和遗忘!

Any help is greatly appreciated and forgotten about!

推荐答案

你需要在LD_LIBRARY_PATH,java.library.path(-Djava.library.path = java.library.path:/ path / to / pkcs11wrapper)上配置IAIK pkcs11wrapper的路径,或者使用PKCS11_WRAPPER_PATH变量通过iaik属性文件配置路径。

You need to configure the path to the IAIK pkcs11wrapper, either on the LD_LIBRARY_PATH, java.library.path (-Djava.library.path=java.library.path:/path/to/pkcs11wrapper) or via the iaik properties file using PKCS11_WRAPPER_PATH variable.

所有这些都在下面的IAIK文档链接中描述。

All are described in the IAIK documentation links below.


Andy

这篇关于让java IAIK PKCS11包装器适用于nfast的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-18 23:27