RFR: 8298420: Implement JEP 470: PEM Encodings of Cryptographic Objects (Preview) [v20]
Anthony Scarpino
ascarpino at openjdk.org
Wed May 28 17:42:16 UTC 2025
On Thu, 22 May 2025 12:19:45 GMT, Krushna948 <duke at openjdk.org> wrote:
>> If this instance was configured with decryption, this method will return a new instance configured with decryption and the factory provider. I use "a copy" so the user knows they are adding a new configuration and this instance is staying the same
>
> It's little confusing Returns a copy here, and @return a new PEMEncoder instance configured to the {@code Provider}.
> Technically it's a new instance by any means ?
Yes, it's a new instance that copies the configuration.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17543#discussion_r2112426415
More information about the security-dev
mailing list