protected static void configureEcCurve(final String ecCurve, final CommandLine commandLine) {
      if (ecCurve != null) {
        try {
          SignatureAlgorithmFactory.setInstance(SignatureAlgorithmType.create(ecCurve));
        } catch (IllegalArgumentException e) {
          throw new CommandLine.ParameterException(commandLine, e.getMessage(), e);
        }
      }
    }
Configure ec curve.

@param ecCurve the ec curve
@param commandLine the command line
app/src/main/java/org/hyperledger/besu/cli/subcommands/PublicKeySubCommand.java