jarsigner - JAR File Signer

This chapter provides tutorial notes on 'jarsigner' tool. Topics include generating a self-signed certificate; signing a JAR file; verifying a signed JAR file; using trusted certificate; signature files in JAR file.


These sections are omitted from this Web preview version. To view the full content, see information on how to obtain the full version this book.

jarsigner - What Is It

What Is Digital Signature

"keytool -genkeypair" - Self-Signed Certificate

jarsigner - Signing JAR File

"jarsigner -verify" - Verifying Signed JAR

"jarsigner -verify -keystore ..." - Trusted Certificate

"jarsigner -verify -verbose -certs" - Signature Details

*.SF/*.DSA - Signature Files in Signed JAR


Takeaways:

Table of Contents

 About This Book

 Java Tools Terminology

 Java Tools Included in JDK

 javac - The Java Program Compiler

 java - The Java Program Launcher

 jar - The JAR File Tool

 jlink - The JRE Linker

 jmod - The JMOD File Tool

 jimage - The JIMAGE File Tool

 jpackage - Binary Package Builder

 javadoc - The Java Document Generator

 jdeps - The Java Class Dependency Analyzer

 jdeprscan - The Java Deprecated API Scanner

 jdb - The Java Debugger

 jcmd - The JVM Diagnostic Tool

 jconsole - Java Monitoring and Management Console

 jstat - JVM Statistics Monitoring Tool

 JVM Troubleshooting Tools

 jhsdb - The Java HotSpot Debugger

 jvisualvm (Java VisualVM) - JVM Visual Tool

 jmc - Java Mission Control

 javap - The Java Class File Disassembler

 keytool - Public Key Certificate Tool

jarsigner - JAR File Signer

 jshell - Java Language Shell

 jrunscript - Script Code Shell

 Miscellaneous Tools

 native2ascii - Native-to-ASCII Encoding Converter

 JAB (Java Access Bridge) for Windows

 Archived Tutorials

 References

 Full Version in PDF/EPUB