Jar extraction and verification in BlackBerry

Posted by Basilio on Stack Overflow See other posts from Stack Overflow or by Basilio
Published on 2010-05-25T06:56:43Z Indexed on 2010/05/25 7:01 UTC
Read the original article Hit count: 291

Filed under:
|
|

Hi All,

The application I am currently working on requires me to extract contents from and verify the authenticity of the signed jar that is stored on the SD Card. In Java [and Android], we have the java.util.jar and java.util.zip classes, that allow to extract jar. However, J2ME or BlackBerry® does not provide support for these packages. I have, however, successfully extracted these using the third party ZipMe library.

Can anyone let me know, how to get the signature block from the .DSA/.RSA file to authenticate the jar? I have the certificate that was used to sign the jar as well. This is easily done in Java using the getCertificates() method available in java.util.jar.JarFile. Is there any 3rd party API available that emulates the JarFile for BlackBerry®?

Any help in this regard will be deeply appreciated.

Thanks & Regards

Basilio John Vincent D'souza

© Stack Overflow or respective owner

Related posts about jar

Related posts about verification