views:

389

answers:

2

Where do I find the javax.crypto source code?

--update Thanks for the OpenJdk version, but what about the jdk6 version?

+5  A: 

OpenJDK version is cached in Google CodeSearch, e.g. javax.crypto.Cipher.

Download links

polygenelubricants
can't I download it to navigate from Eclipse?
Tom Brito
found, there is a link to zip file here [http://hg.openjdk.java.net/jdk7/awt/jdk]
Tom Brito
thanks, and about jdk6 version?
Tom Brito
in the jdk6 source the javax.crypto package is in share/doc/stub (dificult to find, but its there)
Tom Brito
A: 

Most of the classes in there are apparently only interfaces; the security algorithms are often written natively (ie, C). Interfaces are here, for one place.

Dean J
they are not exactly interfaces, but yes, there is low level code in use
Tom Brito
I believe that all the algorithms are written in Java. None are native.
GregS