Moving applet from Oracle jre: first tries
helpcrypto helpcrypto
helpcrypto at gmail.com
Tue Oct 23 00:23:36 PDT 2012
Another buggy behaviour. Can you please confirm it before filling any bug?
I think this one is not icedtea-web, but openjdk/core.
string file="path-to-pkcs11-module-library";
PKCS11 pkcs11=PKCS11.getInstance(file, "C_GetFunctionList", null, false);
long []slots=pkcs11.C_GetSlotList(true);
pkcs11.C_Finalize(null);
pkcs11=PKCS11.getInstance(file, "C_GetFunctionList", null, false);
slots=pkcs11.C_GetSlotList(true); //returns a
CKR_CRIPTOKI_NOT_INITIALIZED, altought it should return a valid slot
list.
Thanks a lot
More information about the distro-pkg-dev
mailing list