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

Update public-facing documentation to describe the behavior of ISO10126Padding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Delivered
    • Icon: P4 P4
    • 19
    • None
    • docs

        Please add a footnote to Table 4-16 in https://docs.oracle.com/en/java/javase/$release_version$/security/oracle-providers.html.

        The footnote should say something to the effect of "Though the standard does not specify or require the padding bytes to be random, this ISO10126Padding implementation pads with random bytes (until the last byte, which provides the length of padding, as specified)."

        Also suggest you update the Standard Names document to mention the source for this ISO10126 is the actual 10126 doc.

        This block cipher padding is described in ISO 10126 (Section 6) and the Block Encryption Algorithms in the W3C "XML Encryption Syntax and Processing" document (Section 5.2).

        See also:

        - https://bugs.openjdk.org/browse/JDK-8170762
        - https://github.com/openjdk/jdk/pull/9350

              rgallard Raymond Gallardo
              kdriver Kevin Driver
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: