1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 17:46:02 +02:00

jarsigner: add page (#3547)

This commit is contained in:
Pierre Rudloff 2019-11-12 22:20:20 +01:00 committed by Starbeamrainbowlabs
parent a451d973e8
commit 262f56eed3

16
pages/common/jarsigner.md Normal file
View file

@ -0,0 +1,16 @@
# jarsigner
> Sign and verify Java Archive (JAR) files.
> More information: <https://docs.oracle.com/javase/9/tools/jarsigner.htm>.
- 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}}`