Use isBoundKeyAlgorithm
Docs:
http://developer.android.com/reference/android/security/KeyChain.html#isBoundKeyAlgorithm%28java.lang.String%29
Example usage:
http://androidxref.com/4.4.2_r2/xref/cts/tests/tests/keystore/src/android/keystore/cts/KeyChainTest.java#36
On Tuesday, March 3, 2015 at 8:25:19 PM UTC-7, William Roberts wrote:
>
> Without rooting an image, is there a way to test if AKS is hardware
> backed? KeyChain.isKeyAlgorithmSupported("RSA")) returns true, but others
> suspect the generation times are too fast (1.2-1.7 seconds).
>
> On Kitkat Nexus 5, I see /system/lib/hw contains 2 keymaster
> implementations:
>
> keystore.default.so
> keystore.msm8974.so
>
> I initially was going to look at the memmap of keystored to see what was
> loaded. Any comments, much appreciated.
>
> Thanks.
>
>
--
You received this message because you are subscribed to the Google Groups
"Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.