Added in API level 23
Summary:
Methods
| Inherited Methods
KeyInfo
public
class
KeyInfo
extends Object
implements
KeySpec
| java.lang.Object | |
| ↳ | android.security.keystore.KeyInfo |
Information about a key from the Android
Keystore system. This class describes whether the key material is available in
plaintext outside of secure hardware, whether user authentication is required for using the key
and whether this requirement is enforced by secure hardware, the key's origin, what uses the key
is authorized for (e.g., only in GCM mode, or signing only), whether the key should be
encrypted at rest, the key's and validity start and end dates.
Instances of this class are immutable.
Example: Symmetric Key
The following example illustrates how to obtain aKeyInfo describing the provided Android
Keystore SecretKey.