gjarsigner-6 --version (return code: 0)
jarsigner (GNU Classpath) 0.99
Copyright 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gjarsigner-6 --help (return code: 0)
Usage: jarsigner [OPTION]... FILE ALIAS
jarsigner -verify [OPTION]... FILE
Java ARchive (JAR) file signing and verification tool.
FILE is the .JAR file to sign or to verify.
ALIAS must be a known Alias of a Key Entry in the designated key store. The
private key material associated with this Alias is used for signing FILE. if
ALIAS is required, but was omitted, "mykey" will be used instead.
Signing options:
-keystore URL Location of the key store to use. The default
value is a file-based scheme whose path is the
file named ".keystore" in your home directory.
If URL is malformed, the tool will use URL as a
file-name of a key store; i.e. as if the protocol
was "file:".
-storetype STORE_TYPE Type of the key store to use. If omitted, the
default value is that of the property
"keystore.type" in the security properties file.
-storepass PASSWORD Password to unlock the key store. If omitted, you
will be prompted to provide a password.
-keypass PASSWORD Password to unlock the Key Entry associated with
ALIAS. If omitted, the tool will use the same
password protecting the key store. If this
fails, you will be prompted to provide a password.
-sigfile NAME A literal to construct file names for both the .SF
and .DSA signature files --which will be placed
in the META-INF directory of the signed JAR.
Permissible characters are in the range
[a-zA-Z0-9_-].
If omitted, the first 8 characters of ALIAS will
be used. Characters outside that range will be
replaced by underscores.
-signedjar FILE Name of the signed JAR file. If omitted, the
signed JAR will be named the same as FILE; i.e.
the input file will be replaced with its signed
copy.
Verification options:
-verify Verify an already signed FILE.
-certs Use with -verbose to see more detailed information about the
certificates of ALIAS.
Common options:
-verbose Output more verbose messages during
processing.
-internalsf Include --otherwise do not-- the .SF file
in the .DSA generated file.
-sectionsonly Include in the .SF generated file
--otherwise do not-- a header containing
a hash of the whole manifest file.
-provider PROVIDER_CLASS_NAME Fully qualified class name of a Security
Provider to add to the JVM in-use.
Standard options:
-help print this help, then exit
-version print version number, then exit
-JOPTION pass argument to the Java runtime
Please report bugs at http://www.gnu.org/software/classpath/bugs.html