Consists of the methods related to Encryptoin key required for SQL Cipher Encryption.
All members of EncryptionKeyManager, including inherited members.
VariablesModifier and Type | Variable | Description |
---|---|---|
protected static String | encryptionKey |
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. |