public static String getSignatureAlgorithmName(String md, String signatureAlgorithm) {
    if (md.equals("SHA-256")) {
      md = "SHA256";
    } else if (md.equals("SHA-512")) {
      md = "SHA512";
    } else {
      return "";
    }
    return md + "WITH" + signatureAlgorithm;
  }
Returns the algorithm name for a digital signature algorithm with a given message digest. The
algorithm names used in JCA are a bit inconsequential. E.g. a dash is necessary for message
digests (e.g. "SHA-256") but are not used in the corresponding names for digital signatures
(e.g. "SHA256WITHECDSA").

<p>See http://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html

@param md the name of the message digest (e.g. "SHA-256")
@param signatureAlgorithm the name of the signature algorithm (e.g. "ECDSA")
@return the algorithm name for the signature scheme with the given hash.
java_src/src/main/java/com/google/crypto/tink/testing/WycheproofTestUtil.java