RFR: 8170762: Remove randomness from ISO10126Padding

Weijun Wang weijun at openjdk.org
Fri Jul 1 20:15:46 UTC 2022


On Fri, 1 Jul 2022 19:17:34 GMT, Kevin Driver <duke at openjdk.org> wrote:

> JDK-8170762 - update Javadoc to indicate ISO10126Padding pads with random bytes, though the spec does not require random bytes

Bug reporter says "document it in the SunJCE documentation". I am not sure what "SunJCE documentation" is, but the file updated here is an internal class and not a part of any documentation. The best suggestion I can make is adding a footnote to the padding name in Table 4-16 in https://docs.oracle.com/en/java/javase/18/security/oracle-providers.html.

-------------

PR: https://git.openjdk.org/jdk/pull/9350



More information about the security-dev mailing list