views:

25

answers:

0

Hi!

I need to securely store private user data so it can persist across my app starts as well as device resets.

This will be a String I guess about 1000 chars at maximum.

I was told I can use RIM KeyStore API for this.

Well, I spent hours googling out any gide on RIM KeyStore API usage. JDE samples do not contain anything useful on this.

Looks like this is a rare thing in BB development, so there's almost no official info on this.

I read this and this. From those I understood the best choice for me is to use PersistableRIMKeyStore (it persists across device resets). However I am not able to figure out what exactly should the implementation be.

Can anyone help with sample code or point me to some guide? Also maybe there's a better/simpler way/approach for my task, so, please, let me know about it.

Thanks a lot in advance!!!