Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This command will append some files and attributes to the manifest of MyApplet.jar. This command may be used more than once if you want your jar to be signed by multiple parties.

Code Block
You can verify  $> jarsigner -verify -verbose
                 -certs d:\TestApplet.jar


         245 Wed Mar 10 11:48:52 PST 2000 META-INF/manifest.mf
         187 Wed Mar 10 11:48:52 PST 2000 META-INF/MYCERT.SF
         968 Wed Mar 10 11:48:52 PST 2000 META-INF/MYCERT.RSA
smk      943 Wed Mar 10 11:48:52 PST 2000 TestApplet.class
smk      163 Wed Mar 10 11:48:52 PST 2000 TestHelper.class

      X.509, CN=XXXXXXX YYY, OU=Java Software,
                 O=Sun Microsystems, L=Cupertino, 
                ST=CA, C=US (mycert)
      X.509, CN=Sun Microsystems, OU=Java Plug-in QA, 
                O=Sun Microsystems, L=Cupertino, ST=CA, C=US
      X.509, EmailAddress=server-certs@thawte.com,
                 CN=Thawte Server CA, OU=Certification
                 Services Division, O=Thawte Consulting cc,
                 L=Cape Town, ST=Western Cape, C=ZA


  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 
keytool \-genkey \-keyalg rsa \-dname "cn=Renaud Thirion, ou=Pfouing, o=Pfouing, l=Paris, ST=France, c=FR" \-alias pfouing_key \-keypass pfouing_store_pass \-keystore PFOUING \-storepass pfouing_store_pass  Parameters : - genkey: parameter used to generate a certificate.  - keyalg: parameter indicating the algorithm used. - dname: parameter gathering information of the person who created the certificate.  - alias: alias.  - keypass: password protecting the key.  - keystore: name of the keystore.  - storepass: password protecting the keystore.  This command will generate a file named "PFOUING" representing the keystore.  keytool \-export \-alias pfouing_key \-file certif.crt \-keystore PFOUING \-storepass pfouing_store_pass  Parameters : - export: parameter used to export the certificate.  - alias: alias.  - file: name of the file which will contain the certificate.  - keystore: name of the keystore. - storepass: password protecting the keystore.  This command will generate a file named "certif.crt" containing the certificate.}}}

Configurations

In this section you will discover the different configuration files, their loading order and why they have been introduced. Talking about all the configuration keys here is far beyond the scope of this article, only a few will be presented to cover JFreeReport core configuration.
JFreeReport is composed of several files which define configuration properties, each of them can be overriden by setting them as environment properties or using a special file made to help users and simplify the configuration process. This file has to be nammed jfreereport.properties and must be at the root of your classpath. It must be reachable for the following java code :

...