Hi all,
I want to use nss in windows 64 bit java with sunpkcs11 library. 
I downloaded source files from 
https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_4_RTM/src/
location and compiled using visual studio 2008 and mozilla build system. I 
compiled with "make nss_build_all BUILD_OPT=1 USE_64=1 NSS_ENABLE_ECC=1 
NSDISTMODE=1" command. You see i set "NSS_ENABLE_ECC" parameter.

After i run "certutil -G -k ec -q nistp256 -d ." command and nssgenerated ecc 
key successfull.

But if i try to generated key with sunpkcs11 it gives message "Unknown 
algorithm : Ec". I listed nss mechanisms by using "softoken" pkcs11 file and 
ecc mechanisms are not supported.

Why ecc mechanisms are not supported ? I compiled with NSS_ENABLE_ECC 
parameter. Is there any other parameter for ecc support for softoken pkcs11?

If i use windows 32 bit nss 3.12.4 release, it can generated ecc key by using 
sunpkcs11 library? Why it doesn't work for windows 64 bit library?

Thanks in advance

Ramazan
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to