commit | 4ecd092226fbd748b4a26f3bbb5c4d25a3488fff | [log] [tgz] |
---|---|---|
author | Alex Klyubin <klyubin@google.com> | Thu Jun 18 14:18:18 2015 -0700 |
committer | Alex Klyubin <klyubin@google.com> | Thu Jun 18 14:18:18 2015 -0700 |
tree | 4fd9d8822d28ceab1cc0481c8a21fa0b62dd7d57 | |
parent | 8c6750ff0eb2d07039336bf25dc87f10464c42db [diff] |
Support more KeySpecs in Android Keystore KeyFactory. This adds support obtaining RSAPublicKeySpec, ECPublicKeySpec, X509EncodedKeySpec from Android Keystore public keys. Using a KeyFactory to obtain such specs is the endorsed way for obtaining algorithm-specific parameters or X.509 encoding of PublicKey instances. Bug: 18088752 Change-Id: I2c653238e3c89d9cfc97bea6c8a0ef0c6d039385