On Sat, 16 Apr 2022 13:59:25 GMT, John Jiang <jji...@openjdk.org> wrote:

> It would not to generate the certificate's ECParameterSpec and NamedGroup 
> multiple times in method `SignatureScheme::getSignerOfPreferableAlgorithm`.

src/java.base/share/classes/sun/security/ssl/SignatureScheme.java line 479:

> 477:         NamedGroup namedGroup = params != null
> 478:                 ? NamedGroup.valueOf(params) : null;
> 479: 

X509Possession.java might be a better place for the update, by caching  the 
named group of the private key.

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

PR: https://git.openjdk.java.net/jdk/pull/8271

Reply via email to