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

Weijun Wang weijun at openjdk.org
Fri Oct 24 11:58:09 UTC 2025


On Thu, 23 Oct 2025 22:19:09 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:

>> src/java.base/share/classes/java/security/PEMEncoder.java line 53:
>> 
>>> 51:  * <p> Encoding can be performed on cryptographic objects that
>>> 52:  * implement {@link DEREncodable}. The {@link #encode(DEREncodable)}
>>> 53:  * and {@link #encodeToString(DEREncodable)} methods encode a DEREncodable
>> 
>> `DEREncodable` should be in `{@code}`.
>
> I think it's useful here to have a link because it is mentioned in the methods in the next sentence and below in the tables.  Similar to PEMDecoder has a link before the table.

Oh, I meant the one at the end of line 53.

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

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


More information about the security-dev mailing list