Welcome!

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
Contributor
SachinKanade
Posts: 20
Registered: ‎03-03-2010
My Carrier: vodafone

bouncy castle

Hi All,
How will i implement bouncy castle in blackberry same as like j2me

Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008

Re: bouncy castle

If you search the forum for "Bouncy Castle", you will find many threads discussing the subject.

 

 

Please use plain text.
New Contributor
sallee
Posts: 5
Registered: ‎03-05-2010
My Carrier: x

Re: bouncy castle

I could not find any discussion of the implementation of the bouncy castle on the Blackberry. RexDoug can you put a link at least one such discussion. I need pkcs7 and pkcs12.

Please use plain text.
Developer
peter_strange
Posts: 17,652
Registered: ‎07-14-2008

Re: bouncy castle

[ Edited ]

If you would like advice on how to use bouncy castle, I suspect that there are better places than here.  We are focused on helping people use RIM Apis, not other packages. 

 

Note that Chris Kings book "Advanced Application Development" includes some details on using bouncy castle, but I have never looked at it, so I don't know if it answers your specific questions. 

Please use plain text.
Developer
dpreussler
Posts: 212
Registered: ‎07-18-2008

Re: bouncy castle

The RIM API has a full J2ME-API, that means that the J2ME compatible part of bouncy castle will run on a BlackBerry exaclty the same as in any J2ME device

If your problem was solved, please mark answer as "Accepted solution"
If your want to thank, click the "kudo" symbol
___________
visit me: http://mobilejavadevelopment.blogspot.com/
visit the Berlin BlackBerry Developer Group: http://berlinblackberrydevelopers.blogspot.com/
Please use plain text.
New Contributor
sallee
Posts: 5
Registered: ‎03-05-2010
My Carrier: x

Re: bouncy castle

Thank you for your prompt response.
I do not have to use only bouncy castle, but afraid that the other way does not exist (at least what I read,
rim api does not contain pkcs7 and pkcs12). I have a pkcs12 (. pfx) file and need to sign some data using pkcs7. I did this using openssl (for symbian) but I do not know how to do the same thing on the Blackberry. If anyone knows how to do this I would be very grateful to him.
If this could be done using the rim api it would be best. I am new to java, also in cryptography, so I apologize if I ask some simple things.

Also, I apologize to my poor English.

Please use plain text.
Developer
rcmaniac25
Posts: 1,789
Registered: ‎04-28-2009
My Carrier: Verizon

Re: bouncy castle

I don't know what Component Pack you are using but in the 5.0 documentation it seems PKCS 1, 5, 8, 10 are supported. They might have a private class that supports 7 or 12 but you would have to try it out to see.

------------------------------------------------------------
Three simple rules:
1. Please use the search bar before making new posts.
2. Kudo posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Contributor
cruser11232
Posts: 10
Registered: ‎05-31-2010
My Carrier: programmer

Re: bouncy castle

Hi,

Was there any success in developing PKCS7 module for Blackberry. Am also working on the same and i found that CMSSignedDataOutputStream of blackberry can be used but no success yet. Can you shed some light on it.

 

 

 

thanks and regards

Charley

Please use plain text.