JDK-7102686 : Restructure timestamp code so that jars and modules can more easily share the same code
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-10-19
  • Updated: 2017-08-04
  • Resolved: 2011-10-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 Other
8 b12Fixed openjdk7uFixed
Related Reports
Relates :  
Relates :  
Relates :  
Project jigsaw has added support for signed module files, which like jars, allow the user to timestamp the signed code. While developing
signed modules, it became clear that some of the current timestamping code should be restructured so that it could be more easily shared
by the 2 mechanisms (signed modules and jars).

The changes in this CR include:

1) Adding a new java.security.debug=ts option for timestamping debugging
2) Moved SignatureFileVerifier.getTimestamp() to SignerInfo.getTimestamp()
3) Moved code from TimestampedSigner to a PKCS7.generateSignedData() method
4) Other misc. small changes

noreg-cleanup. No verification needed