On Thu, 31 Jul 2025 01:29:57 GMT, Valerie Peng <[email protected]> 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