[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 414
  • Last Modified:

How do you read the signature of a signed jar file?

How do you read the signature of a signed jar file? I used jarsigner to sign a jar file from a key I created an I want to confirm my signiture in the jar files.
0
rayskelton
Asked:
rayskelton
1 Solution
 
CEHJCommented:
Try

 jarsigner -verbose -verify xyz.jar
0
 
rayskeltonAuthor Commented:
Below is what I get, but how do I confirm the all jar files contain the same signature.

----------------------------------
sm      9916 Fri May 19 13:52:44 EDT 2006 class1.class
sm      5729 Fri May 19 13:52:44 EDT 2006 class2.class

  s = signature was verified
  m = entry is listed in manifest
  k = at least one certificate was found in keystore
  i = at least one certificate was found in identity scope

jar verified.
0
 
objectsCommented:
use:

 jarsigner -verify -certs -verbose xyz.jar
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now