RFR: 8360564: Implement JEP 524: PEM Encodings of Cryptographic Objects (Second Preview) [v6]
Anthony Scarpino
ascarpino at openjdk.org
Mon Oct 20 18:56:14 UTC 2025
On Wed, 15 Oct 2025 15:06:48 GMT, Sean Mullan <mullan at openjdk.org> wrote:
>> Anthony Scarpino has updated the pull request incrementally with one additional commit since the last revision:
>>
>> updates
>
> src/java.base/share/classes/javax/crypto/EncryptedPrivateKeyInfo.java line 343:
>
>> 341: * @param password the password used for PBE encryption. This array is cloned
>> 342: * before use.
>> 343: * @param algorithm the PBE encryption algorithm. If {@code null}, the default
>
> I think I commented on this before, but I think null should not be allowed. This method should only be used when you want to specify your own algorithm.
I've changed the methods to disallow null
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27147#discussion_r2445823994
More information about the security-dev
mailing list