mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 04:01:39 +00:00
Update cheatsheets
This commit is contained in:
21
jarsigner
Normal file
21
jarsigner
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# jarsigner
|
||||
|
||||
> Sign and verify Java archive (JAR) files.
|
||||
> More information: <https://docs.oracle.com/en/java/javase/20/docs/specs/man/jarsigner.html>.
|
||||
|
||||
- Sign a JAR file:
|
||||
|
||||
`jarsigner {{path/to/file.jar}} {{keystore_alias}}`
|
||||
|
||||
- Sign a JAR file with a specific algorithm:
|
||||
|
||||
`jarsigner -sigalg {{algorithm}} {{path/to/file.jar}} {{keystore_alias}}`
|
||||
|
||||
- Verify the signature of a JAR file:
|
||||
|
||||
`jarsigner -verify {{path/to/file.jar}}`
|
||||
Reference in New Issue
Block a user