RFR: 8254935: Deprecate the PSSParameterSpec(int) constructor [v2]
Weijun Wang
weijun at openjdk.java.net
Thu Mar 24 20:31:48 UTC 2022
On Thu, 24 Mar 2022 18:58:28 GMT, Valerie Peng <valeriep at openjdk.org> wrote:
>> Can someone help review this update to the PSSParameterSpec class regarding the constructor with int argument and the DEFAULT static field? Just added @Deprecate javadoc tag and caution about their usage as suggested in the bug record.
>>
>> A CSR will be filed once the wording changes are reviewed.
>>
>> Thanks,
>> Valerie
>
> Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:
>
> Updated to address review feedbacks.
src/java.base/share/classes/java/security/spec/PSSParameterSpec.java line 112:
> 110: * @deprecated This field uses the default values defined in the ASN.1
> 111: * encoding in PKCS#1 which may become obsolete as time progresses.
> 112: * Thus, it is recommended to create a new PSSParameterSpec object
Should `PSSParameterSpec` be inside a `{@code ...}`?
-------------
PR: https://git.openjdk.java.net/jdk/pull/7913
More information about the security-dev
mailing list