OpenSSLKey: unsupported algorithm is an InvalidKeyException

When an invalid key is passed in we may throw NoSuchAlgorithmException
if it's a key we don't support, but we should convert this to the
correct exception for this API.

Bug: 21209493
Change-Id: I55123035295203f2676538ac89ba4eb91141b273
1 file changed