RFR: 8244336: Restrict algorithms at JCE layer [v2]

Sean Mullan mullan at openjdk.org
Thu Jul 31 14:28:56 UTC 2025


On Thu, 31 Jul 2025 01:29:57 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

>> src/java.base/share/classes/com/sun/crypto/provider/RSACipherAdaptor.java line 50:
>> 
>>> 48:  * in the java.security.Signature class
>>> 49:  */
>>> 50: public final class RSACipherAdaptor extends SignatureSpi {
>> 
>> Can this be package-private?
>
> This is the `SignatureSpi` implementation class for the `NONEwithRSA` signature, so it has to be public just like other `XXXSpi` implementation classes.

Yes, right.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26377#discussion_r2245562988


More information about the security-dev mailing list