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

Document that ISO10126Padding pads with random bytes

    XMLWordPrintable

Details

    • Fix Understood
    • b05

    Description

      The JCA Standards Names documentation refer to W3C XML Encryption Standard 5.2 which does not mandate or suggest to use random padding. It allows any value. So a possible optimization would be to not use random bytes. If you think random bytes (and therefore non deterministic padding) is a desireable property I would suggest to actually document it in the SunJCE documentation, ex: "This implements padding as defined by the JCA Standard Names using random padding bytes."

      Attachments

        Issue Links

          Activity

            People

              kdriver Kevin Driver
              apetcher Adam Petcher (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: