Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6953295

Move few sun.security.{util, x509, pkcs} classes used by keytool/jarsigner to another package

XMLWordPrintable

    • b12
    • generic
    • generic
    • Not verified

        1. Move sun.security.util.PathList and sun.security.x509.CertAndKeyGen to a different package so that they can be included in the jarsigner/keytool module.

        sun.security.util.PathList and sun.security.x509.CertAndKeyGen are only used by keytool or jarsigner while many other sun.security.util.* and sun.security.x509.* classes are in jdk.boot module.

        2. sun.security.util.BigInt is not used in the jdk. Shall it be deleted?

        3. sun.security.pkcs.PKCS10** classes are only used by keytool. If they are not required by the platform, they should be moved to another package to be included in the keytool/jarsigner module. The jdk.boot has sun.security.pkcs.** classes and the split package isn't necessary for this case.


        Dependencies:
        sun.security.tools.KeyTool -> sun.security.pkcs.PKCS10 (sun.security.misc)
        sun.security.tools.KeyTool -> sun.security.pkcs.PKCS10Attribute
        (sun.security.misc)
        sun.security.tools.KeyTool -> sun.security.pkcs.PKCS10Attributes
        (sun.security.misc)
        sun.security.tools.KeyTool -> sun.security.util.PathList
        (sun.security.misc)
        sun.security.tools.KeyTool -> sun.security.x509.CertAndKeyGen
        (sun.security.misc)

              mullan Sean Mullan
              mchung Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: