RFR: 8298420: PEM API: Implementation (Preview) [v14]
Sean Mullan
mullan at openjdk.org
Fri May 2 17:56:57 UTC 2025
On Thu, 1 May 2025 20:28:32 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> I just couldn't figure out why it needed to be S0 and not just S. There is no S1 and it uses the existing arrayS. Is there some spec that calls it S0?
>
> `getArrayS0` does not clone. It's only safe to use it internally.
It was previously called by `calculatePublicKey` - I think those bytes are never exposed externally, so safe to not clone.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17543#discussion_r2071956000
More information about the security-dev
mailing list