public static SignatureAlgorithmType create(final String ecCurve)
      throws IllegalArgumentException {
    if (!isValidType(ecCurve)) {
      throw new IllegalArgumentException(invalidTypeErrorMessage(ecCurve));
    }

    return new SignatureAlgorithmType(SUPPORTED_ALGORITHMS.get(ecCurve));
  }
Create signature algorithm type.

@param ecCurve the ec curve
@return the signature algorithm type
@throws IllegalArgumentException the illegal argument exception
crypto/algorithms/src/main/java/org/hyperledger/besu/crypto/SignatureAlgorithmType.java