JEP 524: PEM Encodings of Cryptographic Objects (Second Preview) is now a Candidate - https://openjdk.org/jeps/524
This is the second preview of the new PEM API for encoding and decoding security data. Only a few changes since the first preview which will be in JDK 25.