RFR: 8298420: PEM API: Implementation (Preview) [v12]

Anthony Scarpino ascarpino at openjdk.org
Wed Feb 26 23:42:03 UTC 2025


On Wed, 26 Feb 2025 14:14:56 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> Sorry if I'm just jumping into this without having all the context, but maybe it would be a good idea to update the `GenerateCacerts` build tool to use this new API? That would mean free testing during build, and a chance to "dogfood" the API.

Thanks for the comment.  GenerateCacerts.java already uses a CertificateFactory method that decodes the PEM, so there is no need to change this to the PEM API.  However the `generateCertificate()` method internally calls the PEM decoder internal methods.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17543#issuecomment-2686450088


More information about the security-dev mailing list