Home > Products > Communication & Messaging Security > iSaSiLk > WebStart Edition
Home > Products > Communication & Messaging Security > iSaSiLk > WebStart Edition





















iSaSiLk v4.4 now supports the new RenegotiationInfo extension (RFC 5746) that has been specified by the IETF TLS working group to fix a severe security flaw in the SSL/TLS renegotiation protocol.
The new version of our CMS-SMIME toolkit now supports all key encryption schemes of the NSA Suite B S/MIME algorithm suite, allows content enveloping with the Camellia cipher algorithm, adds SHA-2 with DSA support for the SignedData content type, and implements the Authenticated-Enveloped Content Type.
The WebStart Editions of IAIK JCE , iSaSiLk and IAIK-CMS have the same API and functionality as the standard editions of these libraries. However, they include a few modifications that allow them to be used with Java™ WebStart easily, mainly to avoid problems due to the requirement of jar-file double signing when running Java™ WebStart with JDK 1.4 or later.
If you try to run the standard edition of IAIK-JCE with Java™ WebStart you may run into the following problem, especially when using JDK1.4 or later:
The JCE framework included in JDK 1.4 / JDK 1.5 requires a JCE provider to be signed by the SUN JCE Code Signing CA. However, Java™ WebStart does not have the corresponding certificate in its pool of trusted CAs. So when running an application with Java™ WebStart a warning message will pop up saying that is highly recommended not to launch the application because it has been signed by an untrusted CA. Basically there may be two options for solving this problem:
However, requiring each intended client to install the JCE Code Signing CA certificate may not be the prefered way for an application vendor. And double signing (with the JCE Code Signing and, e.g. the Verisign certificate) a jar file may not work with Java™ WebStart.
The IAIK-JCE, iSaSiLk and IAIK-CMS WebStart Editions offer a third alternative to solve the problem by moving all the JCE API implementing classes from javax.crypto.* to iaik.javax.crypto.* . Following this, signing of the JCE provider jar file ( iaik_jce_(full)_ws.jar ) is no longer required. Now you can (single) sign iaik_jce_(full)_ws.jar with your WebStart trusted (e.g.Verisign) certificate in the accustomed way.
As you see, the IAIK-JCE, iSaSiLk and IAIK-CMS WebStart Editions follow the same strategy as used for our Applet Editions , except that now the java.security.* classes are not reimplemented and moved to the packages in iaik.java.security.* , and classes java.util.Set and java.util.ArraySet are not moved, too. This may simplify usage of the WebStart Edition with JDK versions > 1.1.x. However, if this is not a problem for you, you may use the applet edition with Java™ WebStart, too. Please note, that in contrast to the Applet Edition (which under certain circumstances may be used without any jar file signing) the IAIK-JCE, iSaSiLk and IAIK-CMS WebStart Editions do not assume to use entirely unsigned jar files; it only addresses the WebStart problem that it might not be possible to sign one single jar file with two different certificates.
However, it requires that all programs using the IAIK-JCE, iSaSiLk, and IAIK-CMS WebStart Editions must use this renamed API as described in the next section.
The only difference between the IAIK standard editions and the IAIK WebStart editions is that the packages from the JCE API for the Java™ platform have been moved from
javax.crypto.*
to
iaik.javax.crypto.*
.
That means if you write a program all you need to do is to use the classes from those packages instead of those from the standard packages. If you have any existing source code that uses IAIK-JCE, iSaSiLk and/or IAIK-CMS those changes have to be made to it as well, but this is easily achieved by using the
ConvertSource
program supplied with the WebStart edition of the IAIK-JCE.
As mentioned above, all classes that use classes from javax.crypto.* have to be modified to take them from iaik.javax.crypto.* instead. This is easily achieved using the ConvertSource program supplied with the WebStart edition of the IAIK-JCE in the tools/ConvertSource directory. It is fully automatic and the entire IAIK-JCE, iSaSiLk and IAIK-CMS sources have been converted using it.
Its usage is
java™ ConvertSource [-do|-undo]Specify -do to perform conversion from a program that uses the standard API to the renamed WebStart API and -undo to reverse that process. ConvertSource will recursively search the source directory for all javax.crypto files, replace every occurence of javax.crypto by iaik.javax.crypto , and save them in the destination directory. If a more recent destination file already exists the file will not be converted.
Notes:
