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.
Note
Columns stored as files (defined as LONG BINARY STORE AS FILE) are not encrypted or decrypted. Use the BlackBerry builtin
SDCard encryption if additional security is needed. Note that files encrypted using the builtin 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 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 builtin security of the device can work for and against applications. See SQL Anywhere White Paper Technical Documents.