RFR: 8284553: Deprecate the DEFAULT static field of OAEPParameterSpec [v2]

Sean Mullan mullan at openjdk.java.net
Thu Apr 14 19:48:33 UTC 2022


On Wed, 13 Apr 2022 19:27:00 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

>> This trivial change is to deprecate the DEFAULT static field of OAEPParameterSpec class. Wordings are mostly the same as the previous PSSParameterSpec deprecation change. Rest are just minor code re-factoring.
>> 
>> The CSR will be filed once review is somewhat finished.
>> 
>> Thanks,
>> Valerie
>
> Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update w/ review feedback.

src/java.base/share/classes/javax/crypto/spec/OAEPParameterSpec.java line 113:

> 111: 
> 112:     // disallowed
> 113:     private OAEPParameterSpec() {

I think you can just remove this ctor now that it is not used by `DEFAULT`.

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

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



More information about the security-dev mailing list