getEncryptionKey(Context) method

Returns the Encryption key,Generates unique 128 bit encryption for first time,and subsequent call returns the key set by setEncryptionKey API .

Syntax

public static String getEncryptionKey ( Context context ) throws PersistenceException

Parameters

Returns

key: returns the Encryption key,Generates unique 128 bit encryption.

Example 1

EncryptionKeyManager.getEncryptionKey(getApplicaitonContex());

Usage

Application if not using MAFLogonComponent is expected to securely persist this key across application Life Cycle using data vault.