Merge "Fix typo in Android Keystore KeyFactory exception message." into mnc-dev

This commit is contained in:
Alex Klyubin
2015-06-23 17:27:52 +00:00
committed by Android (Google) Code Review

View File

@@ -113,7 +113,7 @@ public class AndroidKeyStoreKeyFactorySpi extends KeyFactorySpi {
return result;
} else {
throw new InvalidKeySpecException(
"Obtaining RSAPublicKeySpec not supported for " + key.getAlgorithm() + " "
"Obtaining ECPublicKeySpec not supported for " + key.getAlgorithm() + " "
+ ((key instanceof AndroidKeyStorePrivateKey) ? "private" : "public")
+ " key");
}