RFR: 8298420: PEM API: Implementation (Preview) [v17]
Sean Mullan
mullan at openjdk.org
Tue May 13 15:26:16 UTC 2025
On Tue, 13 May 2025 09:20:07 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:
>> src/java.base/share/classes/sun/security/x509/X509Key.java line 147:
>>
>>> 145: * X509Key. Useful for PKCS8v2.
>>> 146: */
>>> 147: public static X509Key parse(byte[] encoded) throws IOException
>>
>> Isn't this the same as `X509Key.parse(byte[])`?
>
> I'm assuming you mean `X509Key.decode()`? It looks like that can be used instead of this method.
Maybe, but never mind, I thought I saw a duplicate `parse` method when I reviewed this earlier.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17543#discussion_r2086779645
More information about the security-dev
mailing list