RFR: 8360564: Implement JEP 524: PEM Encodings of Cryptographic Objects (Second Preview) [v4]

Sean Mullan mullan at openjdk.org
Fri Oct 3 20:32:00 UTC 2025


On Fri, 3 Oct 2025 20:24:15 GMT, Sean Mullan <mullan at openjdk.org> wrote:

>> Anthony Scarpino has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   missed some decoder comments
>
> src/java.base/share/classes/javax/crypto/EncryptedPrivateKeyInfo.java line 413:
> 
>> 411:      * {@code AlgorithmParameterSpec} are the provider's algorithm defaults.
>> 412:      *
>> 413:      * @since 25
> 
> Throwing a RuntimeException on encryption error is too general.

On NPE, there is no `key` param.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27147#discussion_r2403265921


More information about the security-dev mailing list