public class SyncCryptoApi23Impl extends SyncCryptoApi18Impl
SyncCrypto methods for API 23 (after the Android KeyStore public API), using
the introduced KeyGenParameterSpec.UNLOCK_ACTION| Constructor and Description |
|---|
SyncCryptoApi23Impl(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
create_key()
Generates an asymmetric key pair (
RSA) in the Android Keystore. |
decrypt, encrypt, is_keystore_unlocked, unlock_keystorepublic SyncCryptoApi23Impl(android.content.Context context)
throws KeyStoreException
KeyStoreExceptionpublic void create_key()
throws KeyStoreException
SyncCryptoRSA) in the Android Keystore.
All operations require the KeyStore to be unlocked (authorized by the user authenticating with fingerprint/PIN/Pattern).create_key in interface SyncCryptocreate_key in class SyncCryptoApi18ImplKeyStoreException - for any KeyStore error.