SUPKeyVault - Encryption of Local Database.
Has anyone tried to encrypt the local database using the SUP APIs ?
The documentation says we need to unlock the KeyVault when an application is launched for the first time and
set the encryption key to the SUPConnectionProfile of the database.
When we do a SUPKeyVault * keyVault = [SUPKeyVault getSUPKeyVault:@"1000"]; , the keyVault is unlocked no matter what parameter we pass it to the getSUPKeyVault method. The documentation also says to get the key from the keyVault and set it to the connection profile by using [cp setEncryptionKey:dbKey], where dbKey is the key obtained from the keyVault. Can anyone throw light on this as there is no much clarity in the documentation.