04-13-2010 07:02 AM - edited 04-13-2010 02:04 PM
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.
04-13-2010 10:11 AM
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
04-13-2010 01:49 PM
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.
04-13-2010 03:47 PM
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.
07-08-2010 09:20 PM
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