Withdrawn: 5066842: PKCS8EncodedKeySpec needs getAlgorithm method

Weijun Wang weijun at openjdk.org
Fri Dec 2 15:18:39 UTC 2022


On Thu, 1 Sep 2022 23:25:16 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> 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`.

This pull request has been closed without being integrated.

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

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



More information about the security-dev mailing list