Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
sun.security.tools.jarsigner.Main - "jarsigner" Command
How to run "jarsigner" command from JDK tools.jar file?
✍: FYIcenter
"jarsigner" command allows you to digitally sign JAR files or verify digital signatures provided in JAR files.
"jarsigner" command is supported by the lib\tools.jar JAR file JDK 1, 2, 3, 4, 5, 6, 7, and 8.
You can run the "jarsigner" command using the JDK tools.jar file as described below using JDK 8 as an example:
fyicenter> set JDK_HOME=\fyicenter\jdk-1.8.0_191 fyicenter> %JDK_HOME%\bin\java -cp %JDK_HOME%\lib\tools.jar sun.security.tools.jarsigner.Main Usage: jarsigner [options] jar-file alias jarsigner -verify [options] jar-file [alias...] [-keystore <url>] keystore location [-storepass <password>] password for keystore integrity [-storetype <type>] keystore type [-keypass <password>] password for private key (if different) [-certchain <file>] name of alternative certchain file [-sigfile <file>] name of .SF/.DSA file [-signedjar <file>] name of signed JAR file [-digestalg <algorithm>] name of digest algorithm [-sigalg <algorithm>] name of signature algorithm [-verify] verify a signed JAR file [-verbose[:suboptions]] verbose output when signing/verifying. suboptions can be all, grouped or summary [-certs] display certificates when verbose and verifying [-tsa <url>] location of the Timestamping Authority [-tsacert <alias>] public key certificate for Timestamping Authority [-tsapolicyid <oid>] TSAPolicyID for Timestamping Authority [-tsadigestalg <algorithm>] algorithm of digest data in timestamping request [-altsigner <class>] class name of an alternative signing mechanism [-altsignerpath <pathlist>] location of an alternative signing mechanism [-internalsf] include the .SF file inside the signature block [-sectionsonly] don't compute hash of entire manifest [-protected] keystore has protected authentication path [-providerName <name>] provider name [-providerClass <class> name of cryptographic service provider's [-providerArg <arg>]] ... master class file and constructor argument [-strict] treat warnings as errors
⇒ sun.tools.jcmd.JCmd - "jcmd" Command
⇐ sun.tools.jar.Main - "jar" Command
2018-02-07, 78198🔥, 4💬
Popular Posts:
What Is ojdbc8.jar for Oracle 12c R2? ojdbc8.jar for Oracle 12c R2 is the JAR files of ojdbc.jar, JD...
What Is jms.jar? I heard it's related to JMS (Java Message Service) 1.1? The if you have an jms.jar ...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
How to download and install ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is a Java 5 J...
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...