Bug 28127 - Crypto specific components should be compatible with Java 1.4
Summary: Crypto specific components should be compatible with Java 1.4
Status: ASSIGNED
Alias: None
Product: classpath
Classification: Unclassified
Component: crypto (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: ---
Assignee: Raif S. Naffah
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-21 16:43 UTC by Vivek Lakshmanan
Modified: 2006-07-22 09:24 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2006-06-22 10:16:28


Attachments
Non-1.4 methods usage status as of 2006-06-23 (7.39 KB, application/vnd.oasis.opendocument.spreadsheet)
2006-06-22 14:43 UTC, Raif S. Naffah
Details
New utility methods to replace Integer.valueOf() ones (1.69 KB, patch)
2006-07-22 09:24 UTC, Raif S. Naffah
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vivek Lakshmanan 2006-06-21 16:43:35 UTC
The crypto components in Classpath can be reused as JDK 1.4 compliant JCE provider by users in export restricted environments or those looking for a purely open source JCE provider. As a result, the Crypto components in Classpath should use only Java 1.4 compliant code and refrain from using Java 1.5 specific APIs.
Comment 1 Casey Marshall 2006-06-21 18:38:15 UTC
Confirmed.
Comment 2 Raif S. Naffah 2006-06-22 10:16:28 UTC
i'll take this one.
Comment 3 Raif S. Naffah 2006-06-22 14:43:18 UTC
Created attachment 11729 [details]
Non-1.4 methods usage status as of 2006-06-23

this is an OpenOffice spreadsheet detailing the errors found by Eclipse (using an RI-1.4 rt.jar) in the following packages:

gnu.classpath.debug.*
gnu.java.security.*
gnu.javax.crypto.*
gnu.javax.security.auth.callback.*
Comment 4 Raif S. Naffah 2006-06-28 11:29:09 UTC
subsequent to my patch <http://developer.classpath.org/pipermail/classpath-patches/2006-June/003071.html> three new classes should be added to the previous list.  these are:

* GnuDHPublicKey.java,
* GnuDHPrivateKey.java, and
* GnuDHKey.java

in gnu/javax/crypto/key/dh.
Comment 5 Raif S. Naffah 2006-07-22 09:24:06 UTC
Created attachment 11918 [details]
New utility methods to replace Integer.valueOf() ones