OS Manuals

/usr/bin/gjarsigner-6.5

GNU runtime for Java, version 6

From libgcj-6 6.5.0-r7 (os), captured 2026-11-05 by running gjarsigner-6.5 --help (exit 0). permalink

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
Options (15)
OptionDescriptionSource
-keystore URLLocation of the key store to use.help
-storetype STORE_TYPEType of the key store to use.help
-storepass PASSWORDPassword to unlock the key store.help
-keypass PASSWORDPassword to unlock the Key Entry associated with ALIAS.help
-sigfile NAMEA 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.help
-signedjar FILEName of the signed JAR file.help
-verifyVerify an already signed FILE.help
-certsUse with -verbose to see more detailed information about the certificates of ALIAS.help
-verboseOutput more verbose messages during processing.help
-internalsfInclude --otherwise do not-- the .SF file in the .DSA generated file.help
-sectionsonlyInclude in the .SF generated filehelp
-provider PROVIDER_CLASS_NAMEFully qualified class name of a Security Provider to add to the JVM in-use.help
-helpprint this help, then exithelp
-versionprint version number, then exithelp
-JOPTIONpass argument to the Java runtimehelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.