RFR: 8320597: RSA signature verification fails on signed data that does not encode params correctly [v2]

Weijun Wang weijun at openjdk.org
Thu Dec 7 14:47:21 UTC 2023


On Thu, 7 Dec 2023 14:22:00 GMT, Sean Mullan <mullan at openjdk.org> wrote:

>> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   change method to package private
>
> src/java.base/share/classes/sun/security/rsa/RSAUtil.java line 186:
> 
>> 184:      * This is only used by SunRsaSign.
>> 185:      */
>> 186:     public static byte[] encodeSignatureWithoutNULL(ObjectIdentifier oid, byte[] digest) {
> 
> Could make this method package-private.

Done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17002#discussion_r1419073702



More information about the security-dev mailing list