Remove redundant calculation
@@ -119,7 +119,7 @@ private static String getDigestAlgName(
return name.substring(0, dIndex) + name.substring(dIndex + 1);
}
- return MessageDigestUtils.getDigestName(digestAlgOID);
+ return name;
}
private static String findAlgName(ASN1ObjectIdentifier algOid)
