RFR: 8298420: Implement JEP 470: PEM Encodings of Cryptographic Objects (Preview) [v24]

Artur Barashev abarashev at openjdk.org
Wed May 28 16:43:15 UTC 2025


On Tue, 27 May 2025 23:00:59 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:

>> Hi all,
>> 
>> I need a code review of the PEM API.  Privacy-Enhanced Mail (PEM) is a format for encoding and decoding cryptographic keys and certificates.  It will be integrated into JDK25 as a Preview Feature.  Preview features does not permanently define the API and it is subject to change in future releases until it is finalized.
>> 
>> Details about this change can be seen at [PEM API JEP](https://bugs.openjdk.org/browse/JDK-8300911).
>> 
>> Thanks
>> 
>> Tony
>
> Anthony Scarpino has updated the pull request incrementally with one additional commit since the last revision:
> 
>   PEM reading tweak

test/jdk/java/security/PEM/PEMDecoderTest.java line 1:

> 1: /*

Per RFC 7468: `parsers SHOULD ignore whitespace and other non-base64 characters and MUST handle different newline conventions.`. Do we have a coverage for those 2 test cases?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17543#discussion_r2112331775


More information about the security-dev mailing list