On Fri, 3 Oct 2025 16:48:28 GMT, Anthony Scarpino <[email protected]> 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