> Please review the finalized PEM API at https://openjdk.org/jeps/8376991. The > most significant changes from the second preview, JEP 524 > (https://openjdk.org/jeps/524), include: > > - The `PEM` class is now an ordinary class rather than a record. It adds > Binary-encoded content constructors and data is defensively copied. > - The `DEREncodable` interface is renamed to `BinaryEncodable` to more > accurately reflect the binary data stored in PEM text. > - In `EncryptedPrivateKeyInfo`, the `encrypt` methods now accept > `BinaryEncodable`, and the `getKey()` and `getKeyPair()` methods no longer > include a `Provider` parameter. > - A new `CryptoException` class indicates failures in cryptographic > processing at runtime. > > thanks > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Anthony Scarpino has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 24 commits: - re-preview - merge update - Merge branch 'master' into pem27 - updates - comments - comments - zero IS - comments - comments and String/byte[] change - comments and new clear() - ... and 14 more: https://git.openjdk.org/jdk/compare/ea99ed61...aa3a6a45 ------------- Changes: https://git.openjdk.org/jdk/pull/29640/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29640&range=12 Stats: 1612 lines in 35 files changed: 740 ins; 335 del; 537 mod Patch: https://git.openjdk.org/jdk/pull/29640.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29640/head:pull/29640 PR: https://git.openjdk.org/jdk/pull/29640
