On Wed, 17 Sep 2025 21:49:05 GMT, Weijun Wang <[email protected]> wrote:

>> This only checks if one is available in the private key material.  If there 
>> is none, null is fine.
>> 
>> The domain parameters are kept as part of private key SEC1v2 encoding and 
>> can be read when generating a private key with a KeyFactory.   Translating 
>> the encoding could be error-prone, and maybe incompatible.
>
> Oh, I meant if both [0] and [1] are there you can skip [0] and read [1]. 
> Currently you just check for [1].

Oh yes, I didn't add a skip.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27147#discussion_r2380410583

Reply via email to