commit | 6f2eb6d7a642b842976f5eeac2733b6f7e128711 | [log] [tgz] |
---|---|---|
author | Alex Klyubin <klyubin@google.com> | Mon Jul 13 15:26:17 2015 -0700 |
committer | Alex Klyubin <klyubin@google.com> | Mon Jul 13 15:26:17 2015 -0700 |
tree | 5c9185214b6bd76b2461911be4e5d13c6fb83b87 | |
parent | c021aaaf6bd085d7332a33232e8118bab50ecc1f [diff] |
Fix Android Keystore key factories to obey JCA contract. Android Keystore provider's KeyFactory and SecretKeyFactory implementations were throwing UnsupportedOperationException instead of InvalidKeyException/InvalidKeySpecException from their translateKey/generateKey methods. Bug: 22459811 Change-Id: I6d5a5dc1bed724e858ad324d558b7480b9b848da