BouncyCastle RSA encryption for BlackBerry

ぐ巨炮叔叔 提交于 2019-12-01 17:46:56

As @itsteju points out, you can get the same functionality using the BlackBerry methods, but that does require an agreement and a royalty payment to Certicom.

Bouncy Castle maintains a J2ME compatible release on their releases page. It's not their full API, but does support RSA encryption.

As they provide source, the easiest way to integrate their RSA code into your project is to add their .java source files to your project and build. As I remember (I don't have the source readily available) they provide some classes in the java.lang package (BigInteger for example) - or at least they used to. The BlackBerry won't let your application run with these, so you'll have to rename the package and all references to it in the source you download. Note that last time I did this was a few years ago so things may have changed.

iOSDev

There is standard set of methods available for RSA encryption. Check API docs for this. Those are licenced with Certicom. You need to get the keys purchased from Certicom before using RSA encryption.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!