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

Restructure timestamp code so that jars and modules can more easily share the same code

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mullan Sean Mullan
                  Reporter:
                  mullan Sean Mullan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: