JavaTM Cryptography Extension (JCE) 1.2.2


Known Bugs


  1. Due to a bug in the JavaTM 2 SDK, you must list the "SUN" provider as the first security provider when loading a signed JAR file.
  2. Since the JCE 1.2.2 framework and JCE providers are signed JAR files, the "SUN" provider must precede those "signed" security providers when using JCE 1.2.2.

    Note:

    1. By default, in the JavaTM 2 SDK, the "SUN" provider is automatically configured as a static provider with preference order 1 and in the security properties file.
    2. A StackOverflowError maybe thrown if a "signed" security provider is registered dynamically as the first provider.

    Workaround:

    1. Always place signed providers after "SUN" provider.

    2.  
  3. Due to a bug in the JavaTM 2 SDK, sometimes you may get a NullPointerException from the java.util.jar.JarVerifier.processEntry method if a JCE 1.2.2 provider (which is signed) is registered both statically and dynamically and a security manager is installed on the command line.
  4. Workaround:

    1. Register a JCE 1.2.2 provider statically or dynamically, but do not register it both statically and dynamically. If you register a provider solely one way or the other, there is no problem installing a security manager on the command line.
    2. Install the security manager in your code instead of installing it on the command line. Then it doesn't matter how you register a JCE 1.2.2 provider.

  5. Due to a bug in the JavaTM 2 SDK, if JCE 1.2.2 has been installed as an "installed" extension, then the SealedObject class can only unseal objects that are either a part of the Java 2 SDK or part of an installed extension. It cannot unseal other objects. 
  6. Workaround:

    1. Have both the JCE 1.2.2 framework and JCE providers in the class path rather than as installed extensions. The jurisdiction policy files must be in the same directory as the JCE 1.2.2 framework JAR file. In addition, make sure that sufficient permissions are granted to the JCE 1.2.2 framework and JCE providers.



CHANGES | README | LICENSE | COPYRIGHT
INSTALL | FAQ | KNOWN BUGS | SUBMIT BUGS

 

Unless otherwise licensed, code in all
technical manuals herein (including articles,
FAQs, samples) is provided under this License.


Copyright © 1995-2002 Sun Microsystems, Inc.
All Rights Reserved. Terms of Use. Privacy Policy.