Fix typo in Android Keystore KeyFactory exception message.
The typo was pointed out by kroot@ in code review of
4ecd092226 after it was submitted.
Bug: 18088752
Change-Id: I50d2fa93e1a2d352fe432e34ce98add82a71c483
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user