RFR: 5066842: PKCS8EncodedKeySpec needs getAlgorithm method [v2]

Weijun Wang weijun at openjdk.org
Thu Sep 1 23:50:47 UTC 2022


> Since the algorithm is already encoded inside a PKCS #8 data block, it is not necessary to provide an algorithm when a `PKCS8EncodedKeySpec` object is created. The same for `X509EncodedKeySpec`.

Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:

  fine tune spec

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10131/files
  - new: https://git.openjdk.org/jdk/pull/10131/files/ecd2e839..57e2315b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10131&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10131&range=00-01

  Stats: 16 lines in 3 files changed: 4 ins; 0 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/10131.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10131/head:pull/10131

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



More information about the security-dev mailing list