On Tue, 13 May 2025 09:20:07 GMT, Anthony Scarpino <ascarp...@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