This interface is used to implement your own encryption or obfuscation techniques. To encrypt a database, create a new class
that implements the EncryptionControl interface, supplying the class with your own encryption methods, and then use the setEncryption
method from the ConfigPersistent interface to create a configuration object that creates and accesses your encrypted database.
Columns stored as files (defined as LONG BINARY STORE AS FILE) are not encrypted or decrypted. Use the BlackBerry built-in
SDCard encryption if additional security is needed. Note that files encrypted using the built-in security can not be accessed
while the device is locked.
Normal LONG BINARY columns are stored in the database. Therefore, encrypted and decrypted with the rest of the database.
Databases encrypted using an EncryptionControl object on BlackBerry devices can be accessed while the device is locked. The
UltraLiteJ Security on BlackBerry Devices white paper contains information about the security options and concerns for UltraLiteJ applications on BlackBerry devices,
including how the built-in security of the device can work for and against applications. See UltraLiteJ Security on BlackBerry Devices.