Blackberry Content Protection and Permanent Store

I have an application that stores data in persistent storage, setting the contents of PersistentObject as a hash table, for example. saving preferences is done by entering strings as keys and hash table values, and then setContents is called in PersistentObject with a Hashtable passed as a parameter.

I understand that data is stored unencrypted. If I turn on content protection in the IT policy for the device, does this persistent memory implementation automatically start encrypting data, or will I have to change the implementation to use, for example, ContentProtectedHashtable to save content?

All the information that I have found so far about content protection is related to the BES IT policy and nothing about the implementation in the application, which makes me think that the standard implementation (i.e. just passing the Persistable to the PersistentObject) is automatically adapted to encrypt data

Any ideas? Thanks.

+3
source share
2 answers

See the documentation for net.rim.device.api.util.ContentProtectedHashtable for one way to implement content protection.

Also see this document for a deeper discussion of content protection.

+2
source

, - , PersistentContent, /:

API , , Content Protection/Compression . ( ), .
...
, , , . , , , . , , , , . . , , . , , .

. riccomini - .

0

Source: https://habr.com/ru/post/1721800/


All Articles