RFR: 8298420: PEM API: Implementation (Preview) [v16]
Sean Mullan
mullan at openjdk.org
Tue May 13 15:26:11 UTC 2025
On Sat, 10 May 2025 19:39:14 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:
>> src/java.base/share/classes/java/security/PEMDecoder.java line 191:
>>
>>> 189: }
>>> 190: case Pem.CERTIFICATE, Pem.X509_CERTIFICATE -> {
>>> 191: CertificateFactory cf = getCertFactory("X509");
>>
>> Use "X.509". "X509" is an alias and may not be supported by other JDK implementations. Same comment on line 196.
>
> ok
This issue still needs to be fixed. Change `getCertFactory("X509")` to `getCertFactory("X.509")`
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17543#discussion_r2087076289
More information about the security-dev
mailing list