Use explicit Locale
import java.security.Provider;
import java.security.Security;
+import java.util.Locale;
import org.bouncycastle.tls.HashAlgorithm;
import org.bouncycastle.tls.SignatureAlgorithm;
static String getJcaAlgorithmName(SignatureAndHashAlgorithm algorithm)
{
return (HashAlgorithm.getName(algorithm.getHash()) + "WITH"
- + SignatureAlgorithm.getName(algorithm.getSignature())).toUpperCase();
+ + SignatureAlgorithm.getName(algorithm.getSignature())).toUpperCase(Locale.ENGLISH);
}
static boolean isSunMSCAPIProviderActive()
