BouncyCastle的RSA加密黑莓 [英] BouncyCastle RSA encryption for BlackBerry

查看:133
本文介绍了BouncyCastle的RSA加密黑莓的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何实施BouncyCastle的RSA加密的黑莓应用程序?

How do I implement BouncyCastle RSA encryption for a BlackBerry application?

推荐答案

由于@itsteju指出的那样,你可以使用BlackBerry方法获得相同的功能,但确实需要的协议和使用费支付给Certicom的。

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.

充气城堡维护自己的发布页面一个J2ME兼容的版本。这不是他们的完整的API,但支持RSA加密。

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

,因为它们提供源,他们的RSA code集成到项目中最简单的方法就是自己.java源文件添加到您的项目和建设。我记得(我没有源现成的),他们提供在java.lang包中的一些类(BigInteger的举例) - 或者至少他们使用。黑莓不会让这些应用程序运行,所以你必须重新命名的包,并在你下载的源代码给它的所有引用。需要注意的是最后一次,我所做的就是在几年前这样的事情可能会改变这一点。

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.

这篇关于BouncyCastle的RSA加密黑莓的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆