dcsimg
what is the use of jarsigner's -verfiy option
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   TH_Lim
Posted On:   Tuesday, March 20, 2001 03:58 AM

Hi,

I have a qestion about jarsigner's -verify option. The tooldoc says that it will verify the given jar file whether it has been tampered or not. What happen if I change the jar content and sign again with my private key. jarsigner will report jar is still intact. If that the case, what is the use of this option or I'm missing something here?

thank you.

/lim/

Re: what is the use of jarsigner's -verfiy option

Posted By:   Sebastien_Spas  
Posted On:   Friday, June 1, 2001 11:22 AM

IT allows to check if your jar hasn't been corrupted seen it was signed.
Try to sign your jar, then update by changing one class file, and try to verify it, you'll got an exception.
About | Sitemap | Contact