This works only API Level 23 (Android Marshmallow) and higher.

On Wed, Mar 1, 2017 at 6:35 PM galapogos <gois...@gmail.com> wrote:

> Thanks, but does this work only on Android M onward, or is it downward
> compatible down to Android 4.3, when hardware-backed credential storage was
> first officially supported? It seems like KeyGenParameterSpec was first
> introduced in API Level 23 (Android M). I need something that works with
> older Android versions.
>
>
> On Wednesday, March 1, 2017 at 1:01:54 AM UTC+8, Alex Klyubin wrote:
>
> See AES and HMAC key example in
> https://developer.android.com/reference/android/security/keystore/KeyGenParameterSpec.html
> .
>
> On Mon, Feb 27, 2017 at 11:19 PM galapogos <goi...@gmail.com> wrote:
>
> Hi,
>
> I'm trying to create symmetric keys and storing some encrypted data in
> Android's hardware-backed KeyStore. I understand this is supported from
> Android 4.3. There are several examples for KeyPair generation/storage, but
> nothing on symmetric keys. Also, on
> https://developer.android.com/training/articles/keystore.html it seems
> that all the AES/KeyGenerator algorithms are supported only on API level
> 23+ (Marshmallow).
>
> Is it possible to create symmetric keys and store encrypted data in
> hardware-backed KeyStore? If so, how?
>
> --
> 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 android-security-discuss+unsubscr...@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/android-security-discuss.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 android-security-discuss+unsubscr...@googlegroups.com.
> Visit this group at
> https://groups.google.com/group/android-security-discuss.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 android-security-discuss+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to