@Deprecated
  public static KeyTemplate createEcdsaKeyTemplate(
      HashType hashType,
      EllipticCurveType curve,
      EcdsaSignatureEncoding encoding,
      OutputPrefixType prefixType) {
    EcdsaParams params =
        EcdsaParams.newBuilder()
            .setHashType(hashType)
            .setCurve(curve)
            .setEncoding(encoding)
            .build();
    EcdsaKeyFormat format = EcdsaKeyFormat.newBuilder().setParams(params).build();
    return KeyTemplate.newBuilder()
        .setValue(format.toByteString())
        .setTypeUrl(EcdsaSignKeyManager.getKeyType())
        .setOutputPrefixType(prefixType)
        .build();
  }
@return a {@link KeyTemplate} containing a {@link EcdsaKeyFormat} with some specified
    parameters.
@deprecated Use a corresponding {@link EcdsaParameters} object instead.
java_src/src/main/java/com/google/crypto/tink/signature/SignatureKeyTemplates.java