RFR: 8254935: Deprecate the PSSParameterSpec(int) constructor

Valerie Peng valeriep at openjdk.java.net
Thu Mar 24 00:42:48 UTC 2022


On Wed, 23 Mar 2022 02:37:18 GMT, Weijun Wang <weijun 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
>
> src/java.base/share/classes/java/security/spec/PSSParameterSpec.java line 178:
> 
>> 176:      *         less than 0
>> 177:      * @deprecated This constructor uses the default values as defined in
>> 178:      *         ASN.1 encoding in PKCS#1 except for the salt length. These
> 
> Add "the" before "ASN.1 encoding".

Sure.

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

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



More information about the security-dev mailing list