Commit 134cdea
committed
Add command to show details about a signed object
It's useful to know whether an executable is already signed and by whom.
Either to make sure that you have properly signed it or to check if
somebody else has signed it.
Example:
```
> java -jar jsign/target/jsign-7.2-SNAPSHOT.jar show foo.exe
jsign show foo.exe
Signature 0
Digest Algorithm: SHA256
Digest Value: c481bb3892d066ffacba0650adaa4c252580b776b1dd6026cf4a8bea6c813939
Is Timestamped? false
Certificate
Subject: CN=net.jsign.signing-cert
Issuer: CN=net.jsign.issuing-cert
Not Before: Fri Dec 03 14:34:46 CST 2021
Not After: Wed May 24 14:34:46 CST 2119
Expired: false
Serial: 148957645726085760686199624248870688956
```
Signed-off-by: Daniel Schaefer <[email protected]>1 parent 5d16e80 commit 134cdea
File tree
3 files changed
+69
-1
lines changed- docs
- jsign-cli/src/main/java/net/jsign
- jsign-core/src/main/java/net/jsign
3 files changed
+69
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
368 | 369 | | |
369 | 370 | | |
370 | 371 | | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
371 | 393 | | |
372 | 394 | | |
373 | 395 | | |
| |||
1040 | 1062 | | |
1041 | 1063 | | |
1042 | 1064 | | |
1043 | | - | |
1044 | 1065 | | |
1045 | 1066 | | |
1046 | 1067 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
150 | 154 | | |
151 | 155 | | |
152 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
336 | 339 | | |
337 | 340 | | |
338 | 341 | | |
| |||
496 | 499 | | |
497 | 500 | | |
498 | 501 | | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
499 | 528 | | |
500 | 529 | | |
501 | 530 | | |
| |||
576 | 605 | | |
577 | 606 | | |
578 | 607 | | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
579 | 622 | | |
580 | 623 | | |
581 | 624 | | |
| |||
0 commit comments