mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8255536: Remove the directsign property and option
Reviewed-by: mullan
This commit is contained in:
parent
f77a658557
commit
a7563207f6
7 changed files with 22 additions and 170 deletions
|
@ -163,7 +163,6 @@ public class Main {
|
|||
boolean debug = false; // debug
|
||||
boolean signManifest = true; // "sign" the whole manifest
|
||||
boolean externalSF = true; // leave the .SF out of the PKCS7 block
|
||||
boolean directSign = false; // sign SF directly or thru signedAttrs
|
||||
boolean strict = false; // treat warnings as error
|
||||
boolean revocationCheck = false; // Revocation check flag
|
||||
|
||||
|
@ -473,8 +472,6 @@ public class Main {
|
|||
signManifest = false;
|
||||
} else if (collator.compare(flags, "-internalsf") ==0) {
|
||||
externalSF = false;
|
||||
} else if (collator.compare(flags, "-directsign") ==0) {
|
||||
directSign = true;
|
||||
} else if (collator.compare(flags, "-verify") ==0) {
|
||||
verify = true;
|
||||
} else if (collator.compare(flags, "-verbose") ==0) {
|
||||
|
@ -663,9 +660,6 @@ public class Main {
|
|||
System.out.println(rb.getString
|
||||
(".internalsf.include.the.SF.file.inside.the.signature.block"));
|
||||
System.out.println();
|
||||
System.out.println(rb.getString
|
||||
(".directsign.sign.the.SF.file.directly.no.signerinfo.signedattributes"));
|
||||
System.out.println();
|
||||
System.out.println(rb.getString
|
||||
(".sectionsonly.don.t.compute.hash.of.entire.manifest"));
|
||||
System.out.println();
|
||||
|
@ -1773,7 +1767,6 @@ public class Main {
|
|||
|
||||
builder.setProperty("sectionsOnly", Boolean.toString(!signManifest));
|
||||
builder.setProperty("internalSF", Boolean.toString(!externalSF));
|
||||
builder.setProperty("directsign", Boolean.toString(directSign));
|
||||
|
||||
FileOutputStream fos = null;
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue