java.lang.Object | |
↳ | com.samsung.android.knox.keystore.TimaKeystore |
Deprecated in API level 33
This class provides APIs for enabling and disabling the TIMA Keystore. Please refer to TIMA Keystore Reference Guide for detailed description of TIMA Keystore.
API level 11 |
KNOX 2.0 |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Deprecated
in API level 33
| |||||||||||
Deprecated
in API level 33
| |||||||||||
Deprecated
in API level 33
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Deprecated in API level 33
API to enable or disable the TIMA Keystore
enable | takes in a boolean value of true to enable TIMA keystore or false to disable it |
---|
true
on success, false
on failureenable or disable the TIMA Keystore EnterpriseKnoxManager ekm = EnterpriseKnoxManager.getInstance(context); try { ekm.getTimaKeystorePolicy().enableTimaKeystore(boolean); } catch (SecurityException e) { Log.w(TAG, "Exception" + e); } |
The use of this API requires the caller to have the "com.samsung.android.knox.permission.KNOX_TIMA_KEYSTORE" permission which has a protection level of signature. |
API level 11 |
KNOX 2.0 |
Global Scope |
Deprecated in API level 33
API to enable or disable the TIMA Keystore per App
enable | takes in a boolean value of true to enable TIMA keystore per App or false to disable it |
---|
true
on success, false
on failureenable or disable the TIMA Keystore per App EnterpriseKnoxManager ekm = EnterpriseKnoxManager.getInstance(context); try { ekm.getTimaKeystorePolicy().enableTimaKeystorePerApp(boolean); } catch (SecurityException e) { Log.w(TAG, "Exception" + e); } |
The use of this API requires the caller to have the "com.samsung.android.knox.permission.KNOX_TIMA_KEYSTORE_PER_APP" permission which has a protection level of signature. |
API level 20 |
KNOX 2.7 |
Deprecated in API level 33
Reports the current status(enabled/disabled) of the TIMA Keystore
true
if TIMA Keystore is enabled, else false
API to fetch the status of the TIMA Keystore EnterpriseKnoxManager ekm = EnterpriseKnoxManager.getInstance(context); try { ekm.getTimaKeystorePolicy().isTimKeystoreEnabled(); } catch (SecurityException e) { Log.w(TAG, "Exception" + e); } |
The use of this API requires the caller to have the "com.samsung.android.knox.permission.KNOX_TIMA_KEYSTORE" permission which has a protection level of signature. |
API level 11 |
KNOX 2.0 |
Global Scope |