RFR: 8298420: PEM API: Implementation (Preview) [v20]
Sean Mullan
mullan at openjdk.org
Wed May 14 15:55:13 UTC 2025
On Wed, 14 May 2025 08:25:41 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:
>> Hi all,
>>
>> I need a code review of the PEM API. Privacy-Enhanced Mail (PEM) is a format for encoding and decoding cryptographic keys and certificates. It will be integrated into JDK24 as a Preview Feature. Preview features does not permanently define the API and it is subject to change in future releases until it is finalized.
>>
>> Details about this change can be seen at [PEM API JEP](https://bugs.openjdk.org/browse/JDK-8300911).
>>
>> Thanks
>>
>> Tony
>
> Anthony Scarpino has updated the pull request incrementally with one additional commit since the last revision:
>
> comments
src/java.base/share/classes/java/security/DEREncodable.java line 41:
> 39: * These APIs or their subclasses typically provide methods to convert
> 40: * their instances to and from byte arrays in the Distinguished
> 41: * Encoding Rules (DER) format (ITU X.690).
You can probably leave out the reference to X.690 - DER is used in many of our APIs, and typically the DER format for that specific API will be specified by an RFC like 5280.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17543#discussion_r2089263532
More information about the security-dev
mailing list