RFR: 8360463: Ambiguity in Cipher.getInstance() specification between NoSuchAlgorithmException and NoSuchPaddingException [v3]

Valerie Peng valeriep at openjdk.org
Wed Aug 20 05:33:42 UTC 2025


On Wed, 20 Aug 2025 00:00:51 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> Also, is this consistent among other security providers?

Whether it's NSAE or NSPE depends on how security provider registers the support. The updated wording in the PR reflects the current JCA behavior, i.e. Cipher lookup, and should be consistent across providers.

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

PR Comment: https://git.openjdk.org/jdk/pull/26489#issuecomment-3204248449


More information about the security-dev mailing list