Article:
  Programmatically Signing JAR Files
Subject:   Programmatically Verifying JAR Files
Date:   2003-03-18 08:27:33
From:   anonymous2
Does anybody have implemented this functionality ?
I am interested in any kind of help (algorithm, source code etc...) to achieve the verify function.
Full Threads Newest First

Showing messages 1 through 4 of 4.

  • Programmatically Verifying JAR Files
    2003-05-12 04:49:01  atar_arad [View]

    You can use Class java.util.jar.JarFile. First instantiate it with file name and a boolean set to true shows that it must verify the signature. Now you must read every jarEntry contains in jar file. It throws a securityException when signature fails.
    I have also written a code that in addition to above do a verification on the certificate contains in the jar file.
    Behrooz Shahin
    shahinb@creative.com.au
    • Programmatically Verifying JAR Files
      2003-07-21 22:24:41  David Dossot [View]

      Would you mind please sharing this code?
      • Programmatically Verifying JAR Files
        2003-09-08 00:46:04  anonymous2 [View]

        Did anyone get any replies on this? Any code on verifying jar files?
        • Programmatically Verifying JAR Files
          2004-04-02 01:34:59  bobba2001 [View]

          http://java.sun.com/products/jce/doc/guide/HowToImplAProvider.html#MutualAuth

          This link should help you, it's about JCE Provider self-integrity checking.