RFR: 8360564: Implement JEP 524: PEM Encodings of Cryptographic Objects (Second Preview) [v4]
Sean Mullan
mullan at openjdk.org
Tue Oct 14 18:22:37 UTC 2025
On Fri, 3 Oct 2025 16:48:28 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:
>> src/java.base/share/classes/java/security/PEM.java line 61:
>>
>>> 59: * Common {@code type} values include, but are not limited to:
>>> 60: * CERTIFICATE, CERTIFICATE REQUEST, ATTRIBUTE CERTIFICATE, X509 CRL, PKCS7,
>>> 61: * CMS, PRIVATE KEY, ENCRYPTED PRIVATE KEY, RSA PRIVATE KEY, or PUBLIC KEY.
>>
>> s/RSA PRIVATE KEY/PRIVATE KEY/
>
> "PRIVATE KEY" is earlier in the list and "RSA PRIVATE KEY" is a valid type.
Ok, but is it really common? All the others are listed in RFC 7468 but not this one.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27147#discussion_r2430024366
More information about the security-dev
mailing list