Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
trivedirujuta
Posts: 192
Registered: 10-06-2009

Want to use PGP encryption

Hi,

I need to create keypair using PGP encryption.Can anybody help me which class should be used and how it should be implemented?

Please use plain text.
Developer
peter_strange
Posts: 14,614
Registered: 07-14-2008

Re: Want to use PGP encryption

What have you found when Googling this?

Please use plain text.
Developer
ratheeshrkurup
Posts: 52
Registered: 10-31-2011
My Carrier: JDE

Re: Want to use PGP encryption

please check this link(Sample Java BouncyCastle Algorithm for Encryption)

http://wiki.service-now.com/index.php?title=Sample_Java_BouncyCastle_Algorithm_for_Encryption

AND (import external .jar files from JDE)

http://www.blackberryforums.com/developer-forum/33039-import-external-jar-files-jde.html

I think, this two link enough for you to solve the issue

 

Regards
Ratheesh R Kurup
Please use plain text.
Developer
trivedirujuta
Posts: 192
Registered: 10-06-2009

Re: Want to use PGP encryption

I need to create pgp pairs using following specifications

1.Hash algorithms

SHA1
SHA256
SHA384
SHA512
MD5
2- Compression algorithms :
Zip
Uncompressed
3- Cypher Algorithm:
AES 256
4- Key Algorithm:
RSA
5- Key Size:
4096 bytes

 

I have seen bouncy castle but couldn't find way to generate key .Can anybody help me to start with tht?

 

 

Please use plain text.