Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JAR file Signature Block Format

I am trying to write my own jar verifier application for BlackBerry. However, as BlackBerry does not have the support of the java.util.jar package, we are left to write the verification logic ourselves.

Can any body let me know the internal structure of the .DSA/.RSA file that can be found within a signed jar file? We are stuck in the verification process as there is no documented method of extracting the public signature that was used to sign the jar from the signature block file.

Any help in this regard will be most helpful and appreciated.

Thanks

Basilio

like image 961
Basilio Avatar asked Oct 15 '22 00:10

Basilio


1 Answers

The content of the jar signature block file is explained here.

like image 69
Konstantin Shemyak Avatar answered Oct 16 '22 15:10

Konstantin Shemyak