Java 7 keytool elliptic curve encryption

I am trying to create a keystore using keytool with an ECC key.

This should be possible according to Oracle . I quote:

Area: Tools

Summary: keytool and jarsigner now support the ECC algorithm in key generation and jar signatures.

RFE: 6870812

I am using the 32-bit version 1.7.0_07 and I have tried keytool with -keyalg ECC, ECIES, ECDSA, ... but I always get the Cannot derive signature algorithm .

Am I using the wrong version of Java? Am I using the wrong name for ECC?

+7
source share
2 answers

Here is the source for choosing an algorithm. Valid values ​​are DSA , RSA and EC . As far as I know, these values ​​are not documented anywhere.

+8
source

I believe that you need to establish an unlimited strength policy for JCE to work with all algorithms. If you have not already done so, at the bottom of this page: http://www.oracle.com/technetwork/java/javase/downloads/index.html

+4
source

All Articles