On Wed, 13 Apr 2022 18:28:33 GMT, Valerie Peng <valer...@openjdk.org> wrote:

>> src/java.base/share/classes/javax/crypto/spec/OAEPParameterSpec.java line 81:
>> 
>>> 79:  *     parameters for mgf -- MGF1ParameterSpec.SHA1
>>> 80:  *     source of encoding input -- PSource.PSpecified.DEFAULT
>>> 81:  * </pre>
>> 
>> I think you should leave these lines in, so users can still see what the 
>> default parameters are. Nit, change:
>> "the OAEPParameterSpec.DEFAULT uses the following"
>> to:
>> "{@code OAEPParameterSpec.DEFAULT} uses the following default values:"
>
> Leaving this in meaning we may have to duplicate the new wordings for the 
> field here. The default values are covered in the paragraph above where the 
> ASN.1 structure for RSAES-OAEP-params is defined. I can move this down to the 
> javadoc field description for the DEFAULT field.

Ok.

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

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

Reply via email to