Since: API level 11
public class

TimaKeystore

extends Object
java.lang.Object
   ↳ com.samsung.android.knox.keystore.TimaKeystore

Deprecated in API level 33

Class Overview

This class provides APIs for enabling and disabling the TIMA Keystore. Please refer to TIMA Keystore Reference Guide for detailed description of TIMA Keystore.

Since
API level 11
KNOX 2.0

Summary

Public Methods
boolean enableTimaKeystore(boolean enable)
Deprecated in API level 33
boolean enableTimaKeystorePerApp(boolean enable)
Deprecated in API level 33
boolean isTimaKeystoreEnabled()
Deprecated in API level 33
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public boolean enableTimaKeystore (boolean enable)

Since: API level 11

Deprecated in API level 33

API to enable or disable the TIMA Keystore

Parameters
enable takes in a boolean value of true to enable TIMA keystore or false to disable it
Returns
  • true on success, false on failure
Usage

enable or disable the TIMA Keystore


          EnterpriseKnoxManager ekm = EnterpriseKnoxManager.getInstance(context);

          try {

              ekm.getTimaKeystorePolicy().enableTimaKeystore(boolean);

          } catch (SecurityException e) {

              Log.w(TAG, "Exception" + e);

          }

        

Permission
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.

Since
API level 11
KNOX 2.0
Multiuser Environment
Global Scope

public boolean enableTimaKeystorePerApp (boolean enable)

Since: API level 20

Deprecated in API level 33

API to enable or disable the TIMA Keystore per App

Parameters
enable takes in a boolean value of true to enable TIMA keystore per App or false to disable it
Returns
  • true on success, false on failure
Usage

enable 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);

          }

        

Permission
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.

Since
API level 20
KNOX 2.7

public boolean isTimaKeystoreEnabled ()

Since: API level 11

Deprecated in API level 33

Reports the current status(enabled/disabled) of the TIMA Keystore

Returns
  • true if TIMA Keystore is enabled, else false
Usage

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);

          }

        

Permission
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.

Since
API level 11
KNOX 2.0
Multiuser Environment
Global Scope