Moving applet from Oracle jre: first tries

Andrew Hughes ahughes at redhat.com
Tue Oct 23 02:15:39 PDT 2012


----- Original Message -----
> 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
> 

Can I ask why you're calling the provider directly?  What am I missing here?

-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07




More information about the distro-pkg-dev mailing list