RFR: 8298420: PEM API: Implementation (Preview) [v2]

Weijun Wang weijun at openjdk.org
Mon Jul 29 23:00:33 UTC 2024


On Mon, 29 Jul 2024 22:44:27 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:

>> test/jdk/java/security/PEM/PEMCerts.java line 39:
>> 
>>> 37: class PEMCerts {
>>> 38:     public static final String ecprivpem = """
>>> 39:         -----BEGIN PRIVATE KEY-----\
>> 
>> What does the `` at the end mean?
>
> If I remember correctly it prevents the line separator from being added.

Ah, so you really want to support the format.

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

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



More information about the security-dev mailing list