Package-level declarations
Types
A provider that manages keys in the Android Key Store.
Interface for advanced domain-specific keystore access. Allows for concurrency via AutoCloseable locking.
Specifies what the keystore should be backed by.
KT-71089 workaround
Read handle, requested whenever the provider needs to perform a read operation. This handle should serve as a shared lock on the underlying data to avoid data races.
KT-71089 workaround
Write handle, requested whenever the provider needs to perform a write operation. This handle should serve as an exclusive lock on the underlying data to avoid data races.
Properties
Whether this key isis inside any secure hardware (TEE or StrognBox).
Whether this key is actually backed by a StrongBox secure element (precise on API 31+; false on older devices).
An interface to some underlying persistent storage for private key material. Stored keys are identified by a unique string "alias" for each key. You can createSigningKey, getSignerForKey, or deleteSigningKey.
The Keymaster security level backing this key: one of KeyProperties.SECURITY_LEVEL_STRONGBOX, KeyProperties.SECURITY_LEVEL_TRUSTED_ENVIRONMENT, KeyProperties.SECURITY_LEVEL_SOFTWARE or KeyProperties.SECURITY_LEVEL_UNKNOWN. Requires API 31+; on older devices returns KeyProperties.SECURITY_LEVEL_UNKNOWN (use isStrongBoxBacked / keyInfo.isInsideSecureHardware there).