RFR: 8253176: Signature.getParameters should specify that it can throw UnsupportedOperationException [v2]
Weijun Wang
weijun at openjdk.java.net
Tue May 3 00:20:24 UTC 2022
On Mon, 2 May 2022 21:14:21 GMT, Valerie Peng <valeriep at openjdk.org> wrote:
>> Then what does "cannot generate parameter values" mean? Any example?
>
> An example is RSASSA-PSS, i.e. it requires the caller to explicitly state which message digest to use, etc.
You listed 2 cases when null is returned: 1) not supplied. 2) cannot generate. My understanding is that the RSASSA-PSS case is 1), and the EdDSA case is 2). This is why I suggested an "or" relation between them.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8396
More information about the security-dev
mailing list