Details
-
Type:
Enhancement
-
Status: Closed
-
Priority:
P3
-
Resolution: Fixed
-
Affects Version/s: 7, 8
-
Fix Version/s: 8
-
Component/s: security-libs
-
Labels:
-
Subcomponent:
-
Resolved In Build:b12
-
CPU:generic
-
OS:generic
-
Verification:Not verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8163042 | openjdk7u | Sean Mullan | P3 | Resolved | Fixed | master |
Description
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)
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)
Attachments
Issue Links
- backported by
-
JDK-8163042 Move few sun.security.{util, x509, pkcs} classes used by keytool/jarsigner to another package
-
- Resolved
-
- duplicates
-
JDK-6876170 Remove dependencies on java.security.Certificate, sun.security.x509.X509Cert classes
-
- Closed
-