0

I want to use NSS (Network Security Services) for using AES functions through pkcs#11 interface, but I can not find any example. I use C++ for calling pkcs#11 functions.

How should I do it?

Maryam Saeidi
  • 1,463
  • 2
  • 21
  • 33
  • What is wrong with your current situation? Directly calling PKCS#11 should be preferred. If you want to use NSS, is there any reason not to use the build in AES functionality of the soft-token? – Maarten Bodewes May 07 '13 at 22:55
  • @owlstead Thanks for your comment, which soft-token you mean? (Every soft-token that I found doesn't have AES implementation.) I Don't know how to install NSS and where is its shared object after installation. I appreciate if you can help me to use NSS. – Maryam Saeidi May 08 '13 at 13:07

1 Answers1

0

After search on the internet, I found another soft token, so I use the new soft token instead of NSS. The new soft token is OpenCryptoki. You can see more about this token in the fallowing link:

http://www.ibm.com/developerworks/linux/library/s-pkcs/

Maryam Saeidi
  • 1,463
  • 2
  • 21
  • 33