EncryptionKeyManager class

Consists of the methods related to Encryptoin key required for SQL Cipher Encryption.

Package

com.sap.mobile.lib.persistence

Syntax

public class EncryptionKeyManager

Members

All members of EncryptionKeyManager, including inherited members.

Variables
Modifier and Type Variable Description
protected static String encryptionKey  
Methods
Modifier and Type Method Description
public static String getEncryptionKey(Context) Returns the Encryption key,Generates unique 128 bit encryption for first time,and subsequent call returns the key set by setEncryptionKey API .
public static String resetEncryptionKey(Context) This API reset the encryption key along with clearing all the cache and Queued offline requests and returns the new generated unique 128 bit key.
public static void setEncryptionKey(String, Context) Set the Encryption key,Expected to be set to null before Application goes to background.