File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes Elliptic Curve Encryption in Java 7, Is it implemented? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Elliptic Curve Encryption in Java 7, Is it implemented?" Watch "Elliptic Curve Encryption in Java 7, Is it implemented?" New topic
Author

Elliptic Curve Encryption in Java 7, Is it implemented?

Yoram Halberstam
Greenhorn

Joined: Aug 24, 2011
Posts: 2
According to this documentation JAVA 7 supports Elliptic Curve encryption.

Standard Algorithm Name Documentation

I've tried



but I get



I can't see it listed when I run that code either:



I'm using the Unlimited Strength downloaded from Sun Website. I've generated a key pair using

keytool -genkeypair -keyalg EC -keysize 160 -keystore test-ie.jks -storepass password -alias ec160 -dname "CN=Yoram Halberstam, OU=Test EC 160, O=MPI, L=London, ST=London, C=GB"
greg stark
Ranch Hand

Joined: Aug 10, 2006
Posts: 220
Ah, but "support" means something different here. Java will support new algorithms in the JCE by provider standard names that provider implementers may use to provide actual implementations. The standard names are only half the battle, you must then check and see if there are any JCE providers that implement that algorithm. As you can see here, none of the Oracle providers supports this algorithm.

I believe the bouncycastle provider supports ECIES.


Nice to meet you.
Yoram Halberstam
Greenhorn

Joined: Aug 24, 2011
Posts: 2
greg stark wrote:Ah, but "support" means something different here. Java will support new algorithms in the JCE by provider standard names that provider implementers may use to provide actual implementations. The standard names are only half the battle, you must then check and see if there are any JCE providers that implement that algorithm. As you can see here, none of the Oracle providers supports this algorithm.

I believe the bouncycastle provider supports ECIES.


Ah ok thanks - oh well at least you can generate the key with keytool!
 
wood burning stoves
 
subject: Elliptic Curve Encryption in Java 7, Is it implemented?