PKCS11 support for 64bit Oracle java

Alan Bateman Alan.Bateman at oracle.com
Wed Mar 6 08:13:33 PST 2013


On 06/03/2013 15:23, mohankumar kanaka wrote:
> Hi,
>
> I am extremely sorry if it is wrong place, but i feel at least you
> can  guide me Thanks in advance.
>
> This is Mohankumar working based in Hyderabad India working for MNC
>
> Recently i have worked on PKCS11 support for 64 bit Sun/oracle java i found
> the SUNPKCS11.jar and j2pkcs11.dll was missing due to which we are unable
> to initialize sunpkcs11 provider and initialize the keystore.
>
> So i have downloaded the sun dll source code and Java source code (and one
> JNI header file built by me from sunpkcs11.jar file) and i tried to
> build*j2pkcs11,dl
> *l on 64 bit environment and infact i was successful in building and tested
> with safenet cryptographic token it working absolutely fine
>
> But i do not know the where to submit the solution so that i would  helpful
> for others.
>
>
> Have a great day!!
> Regards
> Mohankumar kanaka
I would suggest bringing this up on security-dev as that is the list 
where the PKCS11 provided is maintained. You might need to explain what 
you mean by "missing" as the PKCS11 provider isn't configured by default 
on all platforms (see list/preference order in 
lib/security/java.security). In any case, security-dev is the right 
place to discuss and propose a patch.

-Alan.


More information about the hotspot-runtime-dev mailing list