RFR: 8254935: Deprecate the PSSParameterSpec(int) constructor [v5]

Weijun Wang weijun at openjdk.java.net
Sat Mar 26 02:14:45 UTC 2022


On Sat, 26 Mar 2022 00:27:19 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

>> Almost the whole class spec is copied from PKCS #1 but at the end you have "defined in the ASN.1 encoding from the PKCS#1 standard", which might make people wonder if it is something else. If you don't want to remove anything, how about "defined in the ASN.1 encoding from the PKCS#1 standard above". It's verbose but not confusing.
>> 
>> BTW, on https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/security/spec/PSSParameterSpec.html, the whole "Note" is shown on one line. I guess that's not intended.
>
> Ah, Ok, I think I see what you are saying now. I agree about trimming the class spec. Are you ok with removing line 67-77 (proposed/new version)? This would reduce the duplication of wordings.

Good suggestion.

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

PR: https://git.openjdk.java.net/jdk/pull/7913



More information about the security-dev mailing list