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

Posted on 2006-05-19
Last Modified: 2009-12-16
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.
Question by:rayskelton
    LVL 86

    Expert Comment


     jarsigner -verbose -verify xyz.jar

    Author Comment

    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.
    LVL 92

    Accepted Solution


     jarsigner -verify -certs -verbose xyz.jar

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Title # Comments Views Activity
    nested class vs inner class 5 36
    scoresSpecial  challenge 13 34
    nestparen challenge 4 33
    ArrayLists in ArrayLists/HashMaps? 4 27
    For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
    Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
    Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
    Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now