public class sun.security.tools.jarsigner.Main
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.tools.jarsigner.Main
super_class: java.lang.Object
{
private static final java.util.ResourceBundle rb;
descriptor: Ljava/util/ResourceBundle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.text.Collator collator;
descriptor: Ljava/text/Collator;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String NONE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "NONE"
private static final java.lang.String P11KEYSTORE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "PKCS11"
private static final long SIX_MONTHS;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 15552000000
private static final sun.security.util.DisabledAlgorithmConstraints DISABLED_CHECK;
descriptor: Lsun/security/util/DisabledAlgorithmConstraints;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Set<java.security.CryptoPrimitive> DIGEST_PRIMITIVE_SET;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/security/CryptoPrimitive;>;
private static final java.util.Set<java.security.CryptoPrimitive> SIG_PRIMITIVE_SET;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/security/CryptoPrimitive;>;
static final java.lang.String VERSION;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "1.0"
static final int IN_KEYSTORE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int NOT_ALIAS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int SIGNED_BY_ALIAS;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8
java.security.cert.X509Certificate[] certChain;
descriptor: [Ljava/security/cert/X509Certificate;
flags: (0x0000)
java.security.PrivateKey privateKey;
descriptor: Ljava/security/PrivateKey;
flags: (0x0000)
java.security.KeyStore store;
descriptor: Ljava/security/KeyStore;
flags: (0x0000)
java.lang.String keystore;
descriptor: Ljava/lang/String;
flags: (0x0000)
boolean nullStream;
descriptor: Z
flags: (0x0000)
boolean token;
descriptor: Z
flags: (0x0000)
java.lang.String jarfile;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String alias;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.util.List<java.lang.String> ckaliases;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/lang/String;>;
char[] storepass;
descriptor: [C
flags: (0x0000)
boolean protectedPath;
descriptor: Z
flags: (0x0000)
java.lang.String storetype;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String providerName;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.util.List<java.lang.String> providers;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/lang/String;>;
java.util.List<java.lang.String> providerClasses;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljava/lang/String;>;
java.util.HashMap<java.lang.String, java.lang.String> providerArgs;
descriptor: Ljava/util/HashMap;
flags: (0x0000)
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;
char[] keypass;
descriptor: [C
flags: (0x0000)
java.lang.String sigfile;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String sigalg;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String digestalg;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String signedjar;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String tsaUrl;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String tsaAlias;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String altCertChain;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String tSAPolicyID;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String tSADigestAlg;
descriptor: Ljava/lang/String;
flags: (0x0000)
boolean verify;
descriptor: Z
flags: (0x0000)
java.lang.String verbose;
descriptor: Ljava/lang/String;
flags: (0x0000)
boolean showcerts;
descriptor: Z
flags: (0x0000)
boolean debug;
descriptor: Z
flags: (0x0000)
boolean signManifest;
descriptor: Z
flags: (0x0000)
boolean externalSF;
descriptor: Z
flags: (0x0000)
boolean strict;
descriptor: Z
flags: (0x0000)
private java.lang.String altSignerClass;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String altSignerClasspath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.zip.ZipFile zipFile;
descriptor: Ljava/util/zip/ZipFile;
flags: (0x0002) ACC_PRIVATE
private boolean hasExpiringCert;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean noTimestamp;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.Date expireDate;
descriptor: Ljava/util/Date;
flags: (0x0002) ACC_PRIVATE
private int weakAlg;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean hasExpiredCert;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean notYetValidCert;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean chainNotValidated;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean notSignedByAlias;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean aliasNotInStore;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean hasUnsignedEntry;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean badKeyUsage;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean badExtendedKeyUsage;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean badNetscapeCertType;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean signerSelfSigned;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.Throwable chainNotValidatedReason;
descriptor: Ljava/lang/Throwable;
flags: (0x0002) ACC_PRIVATE
private boolean seeWeak;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
java.security.cert.PKIXBuilderParameters pkixParameters;
descriptor: Ljava/security/cert/PKIXBuilderParameters;
flags: (0x0000)
private static java.text.MessageFormat validityTimeForm;
descriptor: Ljava/text/MessageFormat;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.text.MessageFormat notYetTimeForm;
descriptor: Ljava/text/MessageFormat;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.text.MessageFormat expiredTimeForm;
descriptor: Ljava/text/MessageFormat;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.text.MessageFormat expiringTimeForm;
descriptor: Ljava/text/MessageFormat;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.text.MessageFormat signTimeForm;
descriptor: Ljava/text/MessageFormat;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.util.Map<java.security.CodeSigner, java.lang.Integer> cacheForInKS;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/security/CodeSigner;Ljava/lang/Integer;>;
java.util.Hashtable<java.security.cert.Certificate, java.lang.String> storeHash;
descriptor: Ljava/util/Hashtable;
flags: (0x0000)
Signature: Ljava/util/Hashtable<Ljava/security/cert/Certificate;Ljava/lang/String;>;
java.util.Map<java.security.CodeSigner, java.lang.String> cacheForSignerInfo;
descriptor: Ljava/util/Map;
flags: (0x0000)
Signature: Ljava/util/Map<Ljava/security/CodeSigner;Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc "sun.security.tools.jarsigner.Resources"
1: invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
2: putstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
3: invokestatic java.text.Collator.getInstance:()Ljava/text/Collator;
putstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
4: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
iconst_0
invokevirtual java.text.Collator.setStrength:(I)V
5: new sun.security.util.DisabledAlgorithmConstraints
dup
6: ldc "jdk.jar.disabledAlgorithms"
7: invokespecial sun.security.util.DisabledAlgorithmConstraints.<init>:(Ljava/lang/String;)V
8: putstatic sun.security.tools.jarsigner.Main.DISABLED_CHECK:Lsun/security/util/DisabledAlgorithmConstraints;
9: getstatic java.security.CryptoPrimitive.MESSAGE_DIGEST:Ljava/security/CryptoPrimitive;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
10: putstatic sun.security.tools.jarsigner.Main.DIGEST_PRIMITIVE_SET:Ljava/util/Set;
11: getstatic java.security.CryptoPrimitive.SIGNATURE:Ljava/security/CryptoPrimitive;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
12: putstatic sun.security.tools.jarsigner.Main.SIG_PRIMITIVE_SET:Ljava/util/Set;
13: aconst_null
putstatic sun.security.tools.jarsigner.Main.validityTimeForm:Ljava/text/MessageFormat;
14: aconst_null
putstatic sun.security.tools.jarsigner.Main.notYetTimeForm:Ljava/text/MessageFormat;
15: aconst_null
putstatic sun.security.tools.jarsigner.Main.expiredTimeForm:Ljava/text/MessageFormat;
16: aconst_null
putstatic sun.security.tools.jarsigner.Main.expiringTimeForm:Ljava/text/MessageFormat;
17: aconst_null
putstatic sun.security.tools.jarsigner.Main.signTimeForm:Ljava/text/MessageFormat;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.nullStream:Z
2: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.token:Z
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.security.tools.jarsigner.Main.ckaliases:Ljava/util/List;
4: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.providers:Ljava/util/List;
5: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.providerClasses:Ljava/util/List;
6: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.security.tools.jarsigner.Main.providerArgs:Ljava/util/HashMap;
7: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.verify:Z
8: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
9: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.showcerts:Z
10: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.debug:Z
11: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.signManifest:Z
12: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.externalSF:Z
13: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.strict:Z
14: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.altSignerClass:Ljava/lang/String;
15: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.altSignerClasspath:Ljava/lang/String;
16: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
17: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.hasExpiringCert:Z
18: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.noTimestamp:Z
19: aload 0
new java.util.Date
dup
lconst_0
invokespecial java.util.Date.<init>:(J)V
putfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
20: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.weakAlg:I
21: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
22: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.notYetValidCert:Z
23: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.chainNotValidated:Z
24: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.notSignedByAlias:Z
25: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
26: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.hasUnsignedEntry:Z
27: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.badKeyUsage:Z
28: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.badExtendedKeyUsage:Z
29: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.badNetscapeCertType:Z
30: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
31: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.chainNotValidatedReason:Ljava/lang/Throwable;
32: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.seeWeak:Z
33: aload 0
new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
putfield sun.security.tools.jarsigner.Main.cacheForInKS:Ljava/util/Map;
34: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield sun.security.tools.jarsigner.Main.storeHash:Ljava/util/Hashtable;
35: aload 0
new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
putfield sun.security.tools.jarsigner.Main.cacheForSignerInfo:Ljava/util/Map;
36: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lsun/security/tools/jarsigner/Main;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new sun.security.tools.jarsigner.Main
dup
invokespecial sun.security.tools.jarsigner.Main.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual sun.security.tools.jarsigner.Main.run:([Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 args [Ljava/lang/String;
1 3 1 js Lsun/security/tools/jarsigner/Main;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
public void run(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.tools.jarsigner.Main.parseArgs:([Ljava/lang/String;)[Ljava/lang/String;
astore 1
1: aload 0
getfield sun.security.tools.jarsigner.Main.providers:Ljava/util/List;
ifnull 17
2: aload 0
getfield sun.security.tools.jarsigner.Main.providers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 16
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[] top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 4: aload 2
5: aload 0
getfield sun.security.tools.jarsigner.Main.providerArgs:Ljava/util/HashMap;
aload 2
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
6: invokestatic sun.security.tools.KeyStoreUtil.loadProviderByName:(Ljava/lang/String;Ljava/lang/String;)V
7: aload 0
getfield sun.security.tools.jarsigner.Main.debug:Z
ifeq 16
8: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "loadProviderByName: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: goto 16
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[] java.lang.String java.util.Iterator
StackMap stack: java.lang.IllegalArgumentException
10: pop
11: new java.lang.Exception
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
12: ldc "provider.name.not.found"
13: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
14: aload 2
aastore
15: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
end local 2 16: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[] top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
17: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[]
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.providerClasses:Ljava/util/List;
ifnull 42
18: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 19: aload 0
getfield sun.security.tools.jarsigner.Main.providerClasses:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 41
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[] java.lang.ClassLoader top java.util.Iterator
StackMap stack:
20: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 21: aload 3
22: aload 0
getfield sun.security.tools.jarsigner.Main.providerArgs:Ljava/util/HashMap;
aload 3
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
aload 2
23: invokestatic sun.security.tools.KeyStoreUtil.loadProviderByClass:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;)V
24: aload 0
getfield sun.security.tools.jarsigner.Main.debug:Z
ifeq 41
25: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "loadProviderByClass: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
26: goto 41
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[] java.lang.ClassLoader java.lang.String java.util.Iterator
StackMap stack: java.lang.ClassCastException
27: pop
28: new java.lang.Exception
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
29: ldc "provclass.not.a.provider"
30: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
31: aload 3
aastore
32: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
33: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 5
start local 5 34: new java.lang.Exception
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
35: ldc "provider.class.not.found"
36: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
37: aload 3
aastore
38: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
39: aload 5
invokevirtual java.lang.IllegalArgumentException.getCause:()Ljava/lang/Throwable;
40: invokespecial java.lang.Exception.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 end local 3 41: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[] java.lang.ClassLoader top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
end local 2 42: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[]
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verify:Z
ifeq 55
43: aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
iconst_0
invokevirtual sun.security.tools.jarsigner.Main.loadKeyStore:(Ljava/lang/String;Z)V
44: goto 53
StackMap locals:
StackMap stack: java.lang.Exception
45: astore 2
start local 2 46: aload 0
getfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
ifnonnull 47
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnull 53
47: StackMap locals: java.lang.Exception
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jarsigner.error."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
48: aload 2
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
49: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
50: aload 0
getfield sun.security.tools.jarsigner.Main.debug:Z
ifeq 52
51: aload 2
invokevirtual java.lang.Exception.printStackTrace:()V
52: StackMap locals:
StackMap stack:
iconst_1
invokestatic java.lang.System.exit:(I)V
end local 2 53: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.jarfile:Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.verifyJar:(Ljava/lang/String;)V
54: goto 78
55: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
iconst_1
invokevirtual sun.security.tools.jarsigner.Main.loadKeyStore:(Ljava/lang/String;Z)V
56: aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.alias:Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.getAliasInfo:(Ljava/lang/String;)V
57: aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.jarfile:Ljava/lang/String;
aload 0
getfield sun.security.tools.jarsigner.Main.alias:Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.signJar:(Ljava/lang/String;Ljava/lang/String;)V
58: goto 78
StackMap locals:
StackMap stack: java.lang.Exception
59: astore 2
start local 2 60: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jarsigner.error."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
61: aload 0
getfield sun.security.tools.jarsigner.Main.debug:Z
ifeq 63
62: aload 2
invokevirtual java.lang.Exception.printStackTrace:()V
63: StackMap locals: java.lang.Exception
StackMap stack:
iconst_1
invokestatic java.lang.System.exit:(I)V
end local 2 64: aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnull 67
65: aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
bipush 32
invokestatic java.util.Arrays.fill:([CC)V
66: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.keypass:[C
67: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnull 84
68: aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
bipush 32
invokestatic java.util.Arrays.fill:([CC)V
69: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.storepass:[C
goto 84
70: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
71: aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnull 74
72: aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
bipush 32
invokestatic java.util.Arrays.fill:([CC)V
73: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.keypass:[C
74: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[] top top top top java.lang.Throwable
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnull 77
75: aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
bipush 32
invokestatic java.util.Arrays.fill:([CC)V
76: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.storepass:[C
77: StackMap locals:
StackMap stack:
aload 6
athrow
78: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[]
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnull 81
79: aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
bipush 32
invokestatic java.util.Arrays.fill:([CC)V
80: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.keypass:[C
81: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnull 84
82: aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
bipush 32
invokestatic java.util.Arrays.fill:([CC)V
83: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.storepass:[C
84: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.strict:Z
ifeq 96
85: iconst_0
istore 2
start local 2 86: aload 0
getfield sun.security.tools.jarsigner.Main.weakAlg:I
ifne 87
aload 0
getfield sun.security.tools.jarsigner.Main.chainNotValidated:Z
ifne 87
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
ifne 87
aload 0
getfield sun.security.tools.jarsigner.Main.notYetValidCert:Z
ifne 87
aload 0
getfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
ifeq 88
87: StackMap locals: int
StackMap stack:
iload 2
iconst_4
ior
istore 2
88: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.badKeyUsage:Z
ifne 89
aload 0
getfield sun.security.tools.jarsigner.Main.badExtendedKeyUsage:Z
ifne 89
aload 0
getfield sun.security.tools.jarsigner.Main.badNetscapeCertType:Z
ifeq 90
89: StackMap locals:
StackMap stack:
iload 2
bipush 8
ior
istore 2
90: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasUnsignedEntry:Z
ifeq 92
91: iload 2
bipush 16
ior
istore 2
92: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.notSignedByAlias:Z
ifne 93
aload 0
getfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
ifeq 94
93: StackMap locals:
StackMap stack:
iload 2
bipush 32
ior
istore 2
94: StackMap locals:
StackMap stack:
iload 2
ifeq 96
95: iload 2
invokestatic java.lang.System.exit:(I)V
end local 2 96: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 97 0 this Lsun/security/tools/jarsigner/Main;
0 97 1 args [Ljava/lang/String;
4 16 2 provName Ljava/lang/String;
19 42 2 cl Ljava/lang/ClassLoader;
21 41 3 provClass Ljava/lang/String;
34 41 5 e Ljava/lang/IllegalArgumentException;
46 53 2 e Ljava/lang/Exception;
60 64 2 e Ljava/lang/Exception;
86 96 2 exitCode I
Exception table:
from to target type
4 9 10 Class java.lang.IllegalArgumentException
21 26 27 Class java.lang.ClassCastException
21 26 33 Class java.lang.IllegalArgumentException
43 44 45 Class java.lang.Exception
0 58 59 Class java.lang.Exception
0 64 70 any
MethodParameters:
Name Flags
args
java.lang.String[] parseArgs(java.lang.String[]);
descriptor: ([Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0000)
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
arraylength
ifne 2
invokestatic sun.security.tools.jarsigner.Main.fullusage:()V
2: StackMap locals: int
StackMap stack:
aconst_null
astore 3
start local 3 3: ldc "-sign"
astore 4
start local 4 4: iconst_0
istore 2
goto 13
5: StackMap locals: java.lang.String java.lang.String
StackMap stack:
getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 1
iload 2
aaload
ldc "-verify"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 8
6: ldc "-verify"
astore 4
7: goto 12
StackMap locals:
StackMap stack:
8: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 1
iload 2
aaload
ldc "-conf"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 12
9: iload 2
aload 1
arraylength
iconst_1
isub
if_icmpne 11
10: invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
11: StackMap locals:
StackMap stack:
aload 1
iinc 2 1
iload 2
aaload
astore 3
12: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
13: iload 2
aload 1
arraylength
if_icmplt 5
14: aload 3
ifnull 17
15: ldc "jarsigner"
aload 3
aload 4
aconst_null
aload 1
16: invokestatic sun.security.tools.KeyStoreUtil.expandArgs:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;
astore 1
17: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
18: invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
sun/security/tools/jarsigner/Main.lambda$0(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
19: invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
putfield sun.security.tools.jarsigner.Main.debug:Z
20: aload 0
getfield sun.security.tools.jarsigner.Main.debug:Z
ifeq 24
21: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Command line args: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
22: aload 1
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
24: StackMap locals:
StackMap stack:
iconst_0
istore 2
goto 174
25: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
astore 5
start local 5 26: aconst_null
astore 6
start local 6 27: aload 5
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 32
28: aload 5
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 7
start local 7 29: iload 7
ifle 32
30: aload 5
iload 7
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
31: aload 5
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
end local 7 32: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 5
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 39
33: aload 0
getfield sun.security.tools.jarsigner.Main.jarfile:Ljava/lang/String;
ifnonnull 36
34: aload 0
aload 5
putfield sun.security.tools.jarsigner.Main.jarfile:Ljava/lang/String;
35: goto 173
36: StackMap locals:
StackMap stack:
aload 0
aload 5
putfield sun.security.tools.jarsigner.Main.alias:Ljava/lang/String;
37: aload 0
getfield sun.security.tools.jarsigner.Main.ckaliases:Ljava/util/List;
aload 0
getfield sun.security.tools.jarsigner.Main.alias:Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
38: goto 173
StackMap locals:
StackMap stack:
39: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-conf"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 42
40: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 173
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
41: goto 173
StackMap locals:
StackMap stack:
42: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-keystore"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 46
43: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 44
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
44: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
45: goto 173
StackMap locals:
StackMap stack:
46: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-storepass"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 50
47: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 48
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
48: StackMap locals:
StackMap stack:
aload 0
aload 6
aload 1
iload 2
aaload
invokestatic sun.security.tools.jarsigner.Main.getPass:(Ljava/lang/String;Ljava/lang/String;)[C
putfield sun.security.tools.jarsigner.Main.storepass:[C
49: goto 173
StackMap locals:
StackMap stack:
50: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-storetype"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 54
51: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 52
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
52: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
53: goto 173
StackMap locals:
StackMap stack:
54: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-providerName"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 58
55: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 56
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
56: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.providerName:Ljava/lang/String;
57: goto 173
StackMap locals:
StackMap stack:
58: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-provider"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifeq 60
59: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-providerClass"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 71
60: StackMap locals:
StackMap stack:
iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 61
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
61: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.providerClasses:Ljava/util/List;
ifnonnull 63
62: aload 0
new java.util.ArrayList
dup
iconst_3
invokespecial java.util.ArrayList.<init>:(I)V
putfield sun.security.tools.jarsigner.Main.providerClasses:Ljava/util/List;
63: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.providerClasses:Ljava/util/List;
aload 1
iload 2
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
64: aload 1
arraylength
iload 2
iconst_1
iadd
if_icmple 173
65: aload 1
iload 2
iconst_1
iadd
aaload
astore 5
66: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-providerArg"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 173
67: aload 1
arraylength
iload 2
iconst_2
iadd
if_icmpne 68
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
68: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.providerArgs:Ljava/util/HashMap;
aload 1
iload 2
aaload
aload 1
iload 2
iconst_2
iadd
aaload
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
69: iinc 2 2
70: goto 173
StackMap locals:
StackMap stack:
71: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-addprovider"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 83
72: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 73
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
73: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.providers:Ljava/util/List;
ifnonnull 75
74: aload 0
new java.util.ArrayList
dup
iconst_3
invokespecial java.util.ArrayList.<init>:(I)V
putfield sun.security.tools.jarsigner.Main.providers:Ljava/util/List;
75: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.providers:Ljava/util/List;
aload 1
iload 2
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
76: aload 1
arraylength
iload 2
iconst_1
iadd
if_icmple 173
77: aload 1
iload 2
iconst_1
iadd
aaload
astore 5
78: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-providerArg"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 173
79: aload 1
arraylength
iload 2
iconst_2
iadd
if_icmpne 80
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
80: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.providerArgs:Ljava/util/HashMap;
aload 1
iload 2
aaload
aload 1
iload 2
iconst_2
iadd
aaload
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
81: iinc 2 2
82: goto 173
StackMap locals:
StackMap stack:
83: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-protected"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 86
84: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.protectedPath:Z
85: goto 173
StackMap locals:
StackMap stack:
86: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-certchain"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 90
87: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 88
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
88: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.altCertChain:Ljava/lang/String;
89: goto 173
StackMap locals:
StackMap stack:
90: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-tsapolicyid"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 94
91: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 92
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
92: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.tSAPolicyID:Ljava/lang/String;
93: goto 173
StackMap locals:
StackMap stack:
94: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-tsadigestalg"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 98
95: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 96
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
96: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.tSADigestAlg:Ljava/lang/String;
97: goto 173
StackMap locals:
StackMap stack:
98: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-debug"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifeq 173
99: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-keypass"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 103
100: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 101
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
101: StackMap locals:
StackMap stack:
aload 0
aload 6
aload 1
iload 2
aaload
invokestatic sun.security.tools.jarsigner.Main.getPass:(Ljava/lang/String;Ljava/lang/String;)[C
putfield sun.security.tools.jarsigner.Main.keypass:[C
102: goto 173
StackMap locals:
StackMap stack:
103: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-sigfile"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 107
104: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 105
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
105: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
106: goto 173
StackMap locals:
StackMap stack:
107: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-signedjar"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 111
108: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 109
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
109: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
110: goto 173
StackMap locals:
StackMap stack:
111: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-tsa"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 115
112: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 113
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
113: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.tsaUrl:Ljava/lang/String;
114: goto 173
StackMap locals:
StackMap stack:
115: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-tsacert"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 119
116: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 117
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
117: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.tsaAlias:Ljava/lang/String;
118: goto 173
StackMap locals:
StackMap stack:
119: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-altsigner"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 128
120: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 121
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
121: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.altSignerClass:Ljava/lang/String;
122: getstatic java.lang.System.err:Ljava/io/PrintStream;
123: new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "This.option.is.deprecated"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
124: ldc "-altsigner"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
125: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
126: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
127: goto 173
StackMap locals:
StackMap stack:
128: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-altsignerpath"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 137
129: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 130
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
130: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.altSignerClasspath:Ljava/lang/String;
131: getstatic java.lang.System.err:Ljava/io/PrintStream;
132: new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "This.option.is.deprecated"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
133: ldc "-altsignerpath"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
134: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
135: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
136: goto 173
StackMap locals:
StackMap stack:
137: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-sectionsonly"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 140
138: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.signManifest:Z
139: goto 173
StackMap locals:
StackMap stack:
140: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-internalsf"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 143
141: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.externalSF:Z
142: goto 173
StackMap locals:
StackMap stack:
143: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-verify"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 146
144: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.verify:Z
145: goto 173
StackMap locals:
StackMap stack:
146: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-verbose"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 151
147: aload 0
aload 6
ifnull 148
aload 6
goto 149
StackMap locals:
StackMap stack: sun.security.tools.jarsigner.Main
148: ldc "all"
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[] int java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack: sun.security.tools.jarsigner.Main java.lang.String
149: putfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
150: goto 173
StackMap locals:
StackMap stack:
151: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-sigalg"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 155
152: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 153
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
153: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.sigalg:Ljava/lang/String;
154: goto 173
StackMap locals:
StackMap stack:
155: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-digestalg"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 159
156: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 157
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
157: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.digestalg:Ljava/lang/String;
158: goto 173
StackMap locals:
StackMap stack:
159: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-certs"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 162
160: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.showcerts:Z
161: goto 173
StackMap locals:
StackMap stack:
162: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-strict"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 165
163: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.strict:Z
164: goto 173
StackMap locals:
StackMap stack:
165: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-h"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifeq 167
166: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 5
ldc "-help"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 169
167: StackMap locals:
StackMap stack:
invokestatic sun.security.tools.jarsigner.Main.fullusage:()V
168: goto 173
169: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
170: new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Illegal.option."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
171: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
172: invokestatic sun.security.tools.jarsigner.Main.usage:()V
end local 6 end local 5 173: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
174: iload 2
aload 1
arraylength
if_icmplt 25
175: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnonnull 176
aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.showcerts:Z
176: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.jarfile:Ljava/lang/String;
ifnonnull 179
177: getstatic java.lang.System.err:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Please.specify.jarfile.name"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
178: invokestatic sun.security.tools.jarsigner.Main.usage:()V
179: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verify:Z
ifne 182
aload 0
getfield sun.security.tools.jarsigner.Main.alias:Ljava/lang/String;
ifnonnull 182
180: getstatic java.lang.System.err:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Please.specify.alias.name"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
181: invokestatic sun.security.tools.jarsigner.Main.usage:()V
182: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verify:Z
ifne 185
aload 0
getfield sun.security.tools.jarsigner.Main.ckaliases:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 185
183: getstatic java.lang.System.err:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Only.one.alias.can.be.specified"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
184: invokestatic sun.security.tools.jarsigner.Main.usage:()V
185: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
ifnonnull 187
186: aload 0
invokestatic java.security.KeyStore.getDefaultType:()Ljava/lang/String;
putfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
187: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
invokestatic sun.security.tools.KeyStoreUtil.niceStoreTypeName:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
188: aload 0
getfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
ifnull 195
new java.io.File
dup
aload 0
getfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
189: new java.io.File
dup
aload 0
getfield sun.security.tools.jarsigner.Main.jarfile:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
190: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
191: ifeq 195
192: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
193: goto 195
StackMap locals:
StackMap stack: java.io.IOException
194: pop
195: StackMap locals:
StackMap stack:
ldc "PKCS11"
aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 197
196: aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
invokestatic sun.security.tools.KeyStoreUtil.isWindowsKeyStore:(Ljava/lang/String;)Z
ifeq 200
197: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.token:Z
198: aload 0
getfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
ifnonnull 200
199: aload 0
ldc "NONE"
putfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
200: StackMap locals:
StackMap stack:
ldc "NONE"
aload 0
getfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 202
201: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.nullStream:Z
202: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.token:Z
ifeq 209
aload 0
getfield sun.security.tools.jarsigner.Main.nullStream:Z
ifne 209
203: getstatic java.lang.System.err:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
204: ldc ".keystore.must.be.NONE.if.storetype.is.{0}"
205: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
206: aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
aastore
207: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
208: invokestatic sun.security.tools.jarsigner.Main.usage:()V
209: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.token:Z
ifeq 216
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnull 216
210: getstatic java.lang.System.err:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
211: ldc ".keypass.can.not.be.specified.if.storetype.is.{0}"
212: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
213: aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
aastore
214: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
215: invokestatic sun.security.tools.jarsigner.Main.usage:()V
216: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.protectedPath:Z
ifeq 222
217: aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnonnull 218
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnull 222
218: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
219: ldc "If.protected.is.specified.then.storepass.and.keypass.must.not.be.specified"
220: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
221: invokestatic sun.security.tools.jarsigner.Main.usage:()V
222: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
invokestatic sun.security.tools.KeyStoreUtil.isWindowsKeyStore:(Ljava/lang/String;)Z
ifeq 228
223: aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnonnull 224
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnull 228
224: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
225: ldc "If.keystore.is.not.password.protected.then.storepass.and.keypass.must.not.be.specified"
226: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
227: invokestatic sun.security.tools.jarsigner.Main.usage:()V
228: StackMap locals:
StackMap stack:
aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 229 0 this Lsun/security/tools/jarsigner/Main;
0 229 1 args [Ljava/lang/String;
1 229 2 n I
3 229 3 confFile Ljava/lang/String;
4 229 4 command Ljava/lang/String;
26 173 5 flags Ljava/lang/String;
27 173 6 modifier Ljava/lang/String;
29 32 7 pos I
Exception table:
from to target type
188 193 194 Class java.io.IOException
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
static char[] getPass(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)[C
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
invokestatic sun.security.tools.KeyStoreUtil.getPassWithModifier:(Ljava/lang/String;Ljava/lang/String;Ljava/util/ResourceBundle;)[C
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
areturn
2: StackMap locals: char[]
StackMap stack:
invokestatic sun.security.tools.jarsigner.Main.usage:()V
3: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 modifier Ljava/lang/String;
0 4 1 arg Ljava/lang/String;
1 4 2 output [C
MethodParameters:
Name Flags
modifier
arg
static void usageNoArg();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Option.lacks.argument"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: invokestatic sun.security.tools.jarsigner.Main.usage:()V
2: return
LocalVariableTable:
Start End Slot Name Signature
static void usage();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Please.type.jarsigner.help.for.usage"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: iconst_1
invokestatic java.lang.System.exit:(I)V
3: return
LocalVariableTable:
Start End Slot Name Signature
static void fullusage();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
1: ldc "Usage.jarsigner.options.jar.file.alias"
2: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
4: ldc ".jarsigner.verify.options.jar.file.alias."
5: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
7: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
8: ldc ".keystore.url.keystore.location"
9: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
11: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
12: ldc ".storepass.password.password.for.keystore.integrity"
13: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
15: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
16: ldc ".storetype.type.keystore.type"
17: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
18: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
19: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
20: ldc ".keypass.password.password.for.private.key.if.different."
21: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
22: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
23: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
24: ldc ".certchain.file.name.of.alternative.certchain.file"
25: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
26: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
27: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
28: ldc ".sigfile.file.name.of.SF.DSA.file"
29: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
30: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
31: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
32: ldc ".signedjar.file.name.of.signed.JAR.file"
33: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
34: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
35: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
36: ldc ".digestalg.algorithm.name.of.digest.algorithm"
37: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
38: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
39: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
40: ldc ".sigalg.algorithm.name.of.signature.algorithm"
41: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
42: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
43: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
44: ldc ".verify.verify.a.signed.JAR.file"
45: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
46: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
47: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
48: ldc ".verbose.suboptions.verbose.output.when.signing.verifying."
49: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
50: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
51: ldc ".suboptions.can.be.all.grouped.or.summary"
52: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
53: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
54: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
55: ldc ".certs.display.certificates.when.verbose.and.verifying"
56: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
57: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
58: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
59: ldc ".tsa.url.location.of.the.Timestamping.Authority"
60: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
61: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
62: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
63: ldc ".tsacert.alias.public.key.certificate.for.Timestamping.Authority"
64: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
65: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
66: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
67: ldc ".tsapolicyid.tsapolicyid.for.Timestamping.Authority"
68: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
69: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
70: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
71: ldc ".tsadigestalg.algorithm.of.digest.data.in.timestamping.request"
72: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
73: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
74: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
75: ldc ".altsigner.class.class.name.of.an.alternative.signing.mechanism"
76: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
77: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
78: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
79: ldc ".altsignerpath.pathlist.location.of.an.alternative.signing.mechanism"
80: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
81: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
82: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
83: ldc ".internalsf.include.the.SF.file.inside.the.signature.block"
84: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
85: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
86: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
87: ldc ".sectionsonly.don.t.compute.hash.of.entire.manifest"
88: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
89: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
90: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
91: ldc ".protected.keystore.has.protected.authentication.path"
92: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
93: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
94: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
95: ldc ".providerName.name.provider.name"
96: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
97: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
98: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
99: ldc ".add.provider.option"
100: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
101: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
102: ldc ".providerArg.option.1"
103: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
104: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
105: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
106: ldc ".providerClass.option"
107: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
108: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
109: ldc ".providerArg.option.2"
110: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
111: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
112: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
113: ldc ".strict.treat.warnings.as.errors"
114: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
115: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
116: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
117: ldc ".conf.url.specify.a.pre.configured.options.file"
118: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
119: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
120: iconst_0
invokestatic java.lang.System.exit:(I)V
121: return
LocalVariableTable:
Start End Slot Name Signature
void verifyJar(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=8, locals=33, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aconst_null
astore 3
start local 3 2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 3: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 4: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 6
start local 6 5: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 7
start local 7 6: new java.util.jar.JarFile
dup
aload 1
iconst_1
invokespecial java.util.jar.JarFile.<init>:(Ljava/lang/String;Z)V
astore 3
7: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 8
start local 8 8: sipush 8192
newarray 8
astore 9
start local 9 9: aload 3
invokevirtual java.util.jar.JarFile.entries:()Ljava/util/Enumeration;
astore 10
start local 10 10: goto 56
11: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration
StackMap stack:
aload 10
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.jar.JarEntry
astore 11
start local 11 12: aload 8
aload 11
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
13: aconst_null
astore 12
aconst_null
astore 13
14: aload 3
aload 11
invokevirtual java.util.jar.JarFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
astore 14
start local 14 15: aload 11
invokevirtual java.util.jar.JarEntry.getName:()Ljava/lang/String;
astore 15
start local 15 16: aload 0
aload 15
invokevirtual sun.security.tools.jarsigner.Main.signatureRelated:(Ljava/lang/String;)Z
ifeq 49
17: aload 15
invokestatic sun.security.util.SignatureFileVerifier.isBlockOrSF:(Ljava/lang/String;)Z
ifeq 49
18: aload 15
aload 15
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_1
iadd
19: aload 15
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
20: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 16
start local 16 21: aload 15
ldc ".SF"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 41
22: new java.util.jar.Manifest
dup
aload 14
invokespecial java.util.jar.Manifest.<init>:(Ljava/io/InputStream;)V
astore 17
start local 17 23: iconst_0
istore 18
start local 18 24: aload 17
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
invokevirtual java.util.jar.Attributes.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 20
goto 33
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.JarEntry java.lang.Throwable java.lang.Throwable java.io.InputStream java.lang.String java.lang.String java.util.jar.Manifest int top java.util.Iterator
StackMap stack:
25: aload 20
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 19
start local 19 26: aload 19
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 21
start local 21 27: aload 21
ldc "-Digest-Manifest"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 33
28: aload 4
aload 16
29: aload 21
iconst_0
aload 21
invokevirtual java.lang.String.length:()I
bipush 16
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
30: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
31: iconst_1
istore 18
32: goto 34
end local 21 end local 19 33: StackMap locals:
StackMap stack:
aload 20
invokeinterface java.util.Iterator.hasNext:()Z
ifne 25
34: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.JarEntry java.lang.Throwable java.lang.Throwable java.io.InputStream java.lang.String java.lang.String java.util.jar.Manifest int
StackMap stack:
iload 18
ifne 50
35: aload 7
aload 16
36: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "history.unparsable"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
37: aload 15
aastore
38: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
39: invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 18 end local 17 40: goto 50
41: StackMap locals:
StackMap stack:
aload 6
aload 16
aload 15
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
42: aload 5
aload 16
new sun.security.pkcs.PKCS7
dup
aload 14
invokespecial sun.security.pkcs.PKCS7.<init>:(Ljava/io/InputStream;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
43: goto 50
StackMap locals:
StackMap stack: java.io.IOException
44: pop
45: aload 7
aload 16
46: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "history.unparsable"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 15
aastore
47: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 16 48: goto 50
49: StackMap locals:
StackMap stack:
aload 14
aload 9
iconst_0
aload 9
arraylength
invokevirtual java.io.InputStream.read:([BII)I
iconst_m1
if_icmpne 49
end local 15 50: StackMap locals:
StackMap stack:
aload 14
ifnull 56
aload 14
invokevirtual java.io.InputStream.close:()V
goto 56
StackMap locals:
StackMap stack: java.lang.Throwable
51: astore 12
aload 14
ifnull 52
aload 14
invokevirtual java.io.InputStream.close:()V
end local 14 StackMap locals:
StackMap stack:
52: aload 12
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
53: astore 13
aload 12
ifnonnull 54
aload 13
astore 12
goto 55
StackMap locals:
StackMap stack:
54: aload 12
aload 13
if_acmpeq 55
aload 12
aload 13
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
55: aload 12
athrow
end local 11 56: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 11
57: aload 3
invokevirtual java.util.jar.JarFile.getManifest:()Ljava/util/jar/Manifest;
astore 11
start local 11 58: iconst_0
istore 12
start local 12 59: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 13
start local 13 60: aload 11
ifnull 157
61: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 62
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
62: StackMap locals: java.util.jar.Manifest int java.util.Map
StackMap stack:
aload 8
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
astore 14
start local 14 63: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "6SPACE"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 15
start local 15 64: goto 156
65: StackMap locals: java.util.Enumeration java.lang.String
StackMap stack:
aload 14
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.jar.JarEntry
astore 16
start local 16 66: aload 16
invokevirtual java.util.jar.JarEntry.getName:()Ljava/lang/String;
astore 17
start local 17 67: iload 12
ifne 70
68: aload 17
invokestatic sun.security.util.SignatureFileVerifier.isBlockOrSF:(Ljava/lang/String;)Z
ifne 70
69: iconst_0
goto 71
StackMap locals: java.util.jar.JarEntry java.lang.String
StackMap stack:
70: iconst_1
StackMap locals:
StackMap stack: int
71: istore 12
72: aload 16
invokevirtual java.util.jar.JarEntry.getCodeSigners:()[Ljava/security/CodeSigner;
astore 18
start local 18 73: aload 18
ifnull 74
iconst_1
goto 75
StackMap locals: java.security.CodeSigner[]
StackMap stack:
74: iconst_0
StackMap locals:
StackMap stack: int
75: istore 19
start local 19 76: iload 2
iload 19
ior
istore 2
77: aload 0
dup
getfield sun.security.tools.jarsigner.Main.hasUnsignedEntry:Z
aload 16
invokevirtual java.util.jar.JarEntry.isDirectory:()Z
ifne 79
iload 19
ifne 79
78: aload 0
aload 17
invokevirtual sun.security.tools.jarsigner.Main.signatureRelated:(Ljava/lang/String;)Z
ifne 79
iconst_1
goto 80
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String java.util.jar.JarEntry java.lang.String java.security.CodeSigner[] int
StackMap stack: sun.security.tools.jarsigner.Main int
79: iconst_0
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String java.util.jar.JarEntry java.lang.String java.security.CodeSigner[] int
StackMap stack: sun.security.tools.jarsigner.Main int int
80: ior
81: putfield sun.security.tools.jarsigner.Main.hasUnsignedEntry:Z
82: aload 0
aload 18
invokevirtual sun.security.tools.jarsigner.Main.inKeyStore:([Ljava/security/CodeSigner;)I
istore 20
start local 20 83: iload 20
iconst_1
iand
ifeq 84
iconst_1
goto 85
StackMap locals: int
StackMap stack:
84: iconst_0
StackMap locals:
StackMap stack: int
85: istore 21
start local 21 86: aload 0
dup
getfield sun.security.tools.jarsigner.Main.notSignedByAlias:Z
iload 20
iconst_4
iand
ifeq 87
iconst_1
goto 88
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String java.util.jar.JarEntry java.lang.String java.security.CodeSigner[] int int int
StackMap stack: sun.security.tools.jarsigner.Main int
87: iconst_0
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String java.util.jar.JarEntry java.lang.String java.security.CodeSigner[] int int int
StackMap stack: sun.security.tools.jarsigner.Main int int
88: ior
putfield sun.security.tools.jarsigner.Main.notSignedByAlias:Z
89: aload 0
getfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
ifnull 93
90: aload 0
dup
getfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
iload 19
ifeq 91
iload 21
ifne 91
iconst_1
goto 92
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String java.util.jar.JarEntry java.lang.String java.security.CodeSigner[] int int int
StackMap stack: sun.security.tools.jarsigner.Main int
91: iconst_0
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String java.util.jar.JarEntry java.lang.String java.security.CodeSigner[] int int int
StackMap stack: sun.security.tools.jarsigner.Main int int
92: ior
putfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
93: StackMap locals:
StackMap stack:
aconst_null
astore 22
start local 22 94: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 116
95: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 22
96: aload 11
aload 17
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnonnull 100
97: aload 11
new java.lang.StringBuilder
dup
ldc "./"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 17
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnonnull 100
98: aload 11
new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 17
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnonnull 100
99: iconst_0
goto 101
StackMap locals: java.lang.StringBuffer
StackMap stack:
100: iconst_1
StackMap locals:
StackMap stack: int
101: istore 23
start local 23 102: aload 22
iload 19
ifeq 103
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "s"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
goto 104
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String java.util.jar.JarEntry java.lang.String java.security.CodeSigner[] int int int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer
103: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "SPACE"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String java.util.jar.JarEntry java.lang.String java.security.CodeSigner[] int int int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer java.lang.String
104: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
105: iload 23
ifeq 106
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "m"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
goto 107
StackMap locals:
StackMap stack: java.lang.StringBuffer
106: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "SPACE"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String java.util.jar.JarEntry java.lang.String java.security.CodeSigner[] int int int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer java.lang.String
107: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
108: iload 21
ifeq 109
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "k"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
goto 110
StackMap locals:
StackMap stack: java.lang.StringBuffer
109: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "SPACE"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String java.util.jar.JarEntry java.lang.String java.security.CodeSigner[] int int int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer java.lang.String
110: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
111: iload 20
iconst_4
iand
ifeq 112
bipush 88
goto 113
StackMap locals:
StackMap stack: java.lang.StringBuffer
112: bipush 32
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String java.util.jar.JarEntry java.lang.String java.security.CodeSigner[] int int int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer int
113: invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
114: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "SPACE"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
115: aload 22
bipush 124
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 23 116: StackMap locals:
StackMap stack:
iload 19
ifeq 127
117: aload 0
getfield sun.security.tools.jarsigner.Main.showcerts:Z
ifeq 118
aload 22
bipush 10
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
118: StackMap locals:
StackMap stack:
aload 18
dup
astore 26
arraylength
istore 25
iconst_0
istore 24
goto 125
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String java.util.jar.JarEntry java.lang.String java.security.CodeSigner[] int int int java.lang.StringBuffer top int int java.security.CodeSigner[]
StackMap stack:
119: aload 26
iload 24
aaload
astore 23
start local 23 120: aload 0
aload 23
aload 15
invokevirtual sun.security.tools.jarsigner.Main.signerInfo:(Ljava/security/CodeSigner;Ljava/lang/String;)Ljava/lang/String;
astore 27
start local 27 121: aload 0
getfield sun.security.tools.jarsigner.Main.showcerts:Z
ifeq 124
122: aload 22
aload 27
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
123: aload 22
bipush 10
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 27 end local 23 124: StackMap locals:
StackMap stack:
iinc 24 1
StackMap locals:
StackMap stack:
125: iload 24
iload 25
if_icmplt 119
126: goto 139
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String java.util.jar.JarEntry java.lang.String java.security.CodeSigner[] int int int java.lang.StringBuffer
StackMap stack:
127: aload 0
getfield sun.security.tools.jarsigner.Main.showcerts:Z
ifeq 139
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ldc "all"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 139
128: aload 0
aload 17
invokevirtual sun.security.tools.jarsigner.Main.signatureRelated:(Ljava/lang/String;)Z
ifeq 136
129: aload 22
bipush 10
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
130: aload 15
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
131: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
132: ldc ".Signature.related.entries."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
133: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
134: ldc "\n\n"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
135: goto 139
136: StackMap locals:
StackMap stack:
aload 22
bipush 10
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
aload 15
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
137: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc ".Unsigned.entries."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
138: ldc "\n\n"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
139: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 156
140: aload 22
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
astore 23
start local 23 141: aload 0
aload 17
invokevirtual sun.security.tools.jarsigner.Main.signatureRelated:(Ljava/lang/String;)Z
ifeq 143
142: new java.lang.StringBuilder
dup
ldc "-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 23
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 23
143: StackMap locals: java.lang.String
StackMap stack:
aload 13
aload 23
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 145
144: aload 13
aload 23
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
145: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 24
start local 24 146: aload 16
invokevirtual java.util.jar.JarEntry.getSize:()J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
astore 25
start local 25 147: bipush 6
aload 25
invokevirtual java.lang.String.length:()I
isub
istore 26
start local 26 148: goto 151
149: StackMap locals: java.lang.StringBuilder java.lang.String int
StackMap stack:
aload 24
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
150: iinc 26 -1
StackMap locals:
StackMap stack:
151: iload 26
ifgt 149
end local 26 152: aload 24
aload 25
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
153: new java.util.Date
dup
aload 16
invokevirtual java.util.jar.JarEntry.getTime:()J
invokespecial java.util.Date.<init>:(J)V
invokevirtual java.util.Date.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
154: aload 24
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 17
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
155: aload 13
aload 23
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
aload 24
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 25 end local 24 end local 23 end local 22 end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 156: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String
StackMap stack:
aload 14
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 65
end local 15 end local 14 157: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 206
158: aload 13
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 191
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map top java.util.Iterator
StackMap stack:
159: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 14
start local 14 160: aload 14
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 16
start local 16 161: aload 14
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 17
start local 17 162: aload 17
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpne 164
163: aload 17
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 17
164: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Map$Entry java.util.Iterator java.util.List java.lang.String
StackMap stack:
aload 17
bipush 124
invokevirtual java.lang.String.indexOf:(I)I
istore 18
start local 18 165: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ldc "all"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 172
166: aload 16
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 20
goto 170
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Map$Entry java.util.Iterator java.util.List java.lang.String int top java.util.Iterator
StackMap stack:
167: aload 20
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 19
start local 19 168: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 17
iconst_0
iload 18
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 19
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
169: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 17
iload 18
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
end local 19 170: StackMap locals:
StackMap stack:
aload 20
invokeinterface java.util.Iterator.hasNext:()Z
ifne 167
171: goto 191
172: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Map$Entry java.util.Iterator java.util.List java.lang.String int
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ldc "grouped"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 178
173: aload 16
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 20
goto 176
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Map$Entry java.util.Iterator java.util.List java.lang.String int top java.util.Iterator
StackMap stack:
174: aload 20
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 19
start local 19 175: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 17
iconst_0
iload 18
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 19
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 19 176: StackMap locals:
StackMap stack:
aload 20
invokeinterface java.util.Iterator.hasNext:()Z
ifne 174
177: goto 190
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Map$Entry java.util.Iterator java.util.List java.lang.String int
StackMap stack:
178: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ldc "summary"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 190
179: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 17
iconst_0
iload 18
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
180: aload 16
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 189
181: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 16
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
182: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
183: ldc ".and.d.more."
184: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
185: aload 16
invokeinterface java.util.List.size:()I
iconst_1
isub
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
186: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
187: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
188: goto 190
189: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 16
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
190: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 17
iload 18
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
end local 18 end local 17 end local 16 end local 14 191: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map top java.util.Iterator
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 159
192: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
193: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
194: ldc ".s.signature.was.verified."
195: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
196: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
197: ldc ".m.entry.is.listed.in.manifest"
198: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
199: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
200: ldc ".k.at.least.one.certificate.was.found.in.keystore"
201: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
202: aload 0
getfield sun.security.tools.jarsigner.Main.ckaliases:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifle 206
203: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
204: ldc ".X.not.signed.by.specified.alias.es."
205: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
206: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map
StackMap stack:
aload 11
ifnonnull 209
207: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
208: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "no.manifest."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
209: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
ifne 211
210: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
211: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Map.isEmpty:()Z
ifeq 214
212: aload 5
invokeinterface java.util.Map.isEmpty:()Z
ifeq 214
213: aload 7
invokeinterface java.util.Map.isEmpty:()Z
ifne 284
214: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 216
215: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
216: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 222
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map top java.util.Iterator
StackMap stack:
217: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 14
start local 14 218: aload 4
aload 14
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 222
219: aload 7
aload 14
220: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "history.nosf"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 14
aastore
221: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 14 222: StackMap locals:
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 217
223: aload 4
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 278
StackMap locals:
StackMap stack:
224: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 14
start local 14 225: aload 5
aload 14
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.pkcs.PKCS7
astore 16
start local 16 226: aload 16
ifnull 275
227: aload 16
invokevirtual sun.security.pkcs.PKCS7.getSignerInfos:()[Lsun/security/pkcs/SignerInfo;
iconst_0
aaload
astore 18
start local 18 228: aload 18
aload 16
invokevirtual sun.security.pkcs.SignerInfo.getCertificate:(Lsun/security/pkcs/PKCS7;)Ljava/security/cert/X509Certificate;
astore 19
start local 19 229: aload 4
aload 14
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 20
start local 20 230: aload 18
invokevirtual sun.security.pkcs.SignerInfo.getDigestAlgorithmId:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
231: aload 18
invokevirtual sun.security.pkcs.SignerInfo.getDigestEncryptionAlgorithmId:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
232: invokestatic sun.security.x509.AlgorithmId.makeSigAlg:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 21
start local 21 233: aload 19
invokevirtual java.security.cert.X509Certificate.getPublicKey:()Ljava/security/PublicKey;
astore 22
start local 22 234: aload 18
invokevirtual sun.security.pkcs.SignerInfo.getTsToken:()Lsun/security/pkcs/PKCS7;
astore 23
start local 23 235: aload 23
ifnull 261
236: aload 23
invokevirtual sun.security.pkcs.PKCS7.getSignerInfos:()[Lsun/security/pkcs/SignerInfo;
iconst_0
aaload
astore 24
start local 24 237: aload 24
aload 23
invokevirtual sun.security.pkcs.SignerInfo.getCertificate:(Lsun/security/pkcs/PKCS7;)Ljava/security/cert/X509Certificate;
astore 25
start local 25 238: aload 23
invokevirtual sun.security.pkcs.PKCS7.getContentInfo:()Lsun/security/pkcs/ContentInfo;
invokevirtual sun.security.pkcs.ContentInfo.getData:()[B
astore 26
start local 26 239: new sun.security.timestamp.TimestampToken
dup
aload 26
invokespecial sun.security.timestamp.TimestampToken.<init>:([B)V
astore 27
start local 27 240: aload 25
invokevirtual java.security.cert.X509Certificate.getPublicKey:()Ljava/security/PublicKey;
astore 28
start local 28 241: aload 27
invokevirtual sun.security.timestamp.TimestampToken.getHashAlgorithm:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
astore 29
start local 29 242: aload 24
invokevirtual sun.security.pkcs.SignerInfo.getDigestAlgorithmId:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
243: aload 24
invokevirtual sun.security.pkcs.SignerInfo.getDigestEncryptionAlgorithmId:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
244: invokestatic sun.security.x509.AlgorithmId.makeSigAlg:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 30
start local 30 245: ldc "UTC"
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
246: getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
247: invokestatic java.util.Calendar.getInstance:(Ljava/util/TimeZone;Ljava/util/Locale;)Ljava/util/Calendar;
astore 31
start local 31 248: aload 31
aload 27
invokevirtual sun.security.timestamp.TimestampToken.getDate:()Ljava/util/Date;
invokevirtual java.util.Calendar.setTime:(Ljava/util/Date;)V
249: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "history.with.ts"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
bipush 9
anewarray java.lang.Object
dup
iconst_0
250: aload 19
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
aastore
dup
iconst_1
251: aload 0
aload 20
getstatic sun.security.tools.jarsigner.Main.DIGEST_PRIMITIVE_SET:Ljava/util/Set;
invokevirtual sun.security.tools.jarsigner.Main.withWeak:(Ljava/lang/String;Ljava/util/Set;)Ljava/lang/String;
aastore
dup
iconst_2
252: aload 0
aload 21
getstatic sun.security.tools.jarsigner.Main.SIG_PRIMITIVE_SET:Ljava/util/Set;
invokevirtual sun.security.tools.jarsigner.Main.withWeak:(Ljava/lang/String;Ljava/util/Set;)Ljava/lang/String;
aastore
dup
iconst_3
253: aload 0
aload 22
invokevirtual sun.security.tools.jarsigner.Main.withWeak:(Ljava/security/PublicKey;)Ljava/lang/String;
aastore
dup
iconst_4
254: aload 31
aastore
dup
iconst_5
255: aload 25
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
aastore
dup
bipush 6
256: aload 0
aload 29
getstatic sun.security.tools.jarsigner.Main.DIGEST_PRIMITIVE_SET:Ljava/util/Set;
invokevirtual sun.security.tools.jarsigner.Main.withWeak:(Ljava/lang/String;Ljava/util/Set;)Ljava/lang/String;
aastore
dup
bipush 7
257: aload 0
aload 30
getstatic sun.security.tools.jarsigner.Main.SIG_PRIMITIVE_SET:Ljava/util/Set;
invokevirtual sun.security.tools.jarsigner.Main.withWeak:(Ljava/lang/String;Ljava/util/Set;)Ljava/lang/String;
aastore
dup
bipush 8
258: aload 0
aload 28
invokevirtual sun.security.tools.jarsigner.Main.withWeak:(Ljava/security/PublicKey;)Ljava/lang/String;
aastore
259: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 17
end local 31 end local 30 end local 29 end local 28 end local 27 end local 26 end local 25 end local 24 start local 17 260: goto 272
end local 17 261: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.lang.String java.util.Iterator sun.security.pkcs.PKCS7 top sun.security.pkcs.SignerInfo java.security.cert.X509Certificate java.lang.String java.lang.String java.security.PublicKey sun.security.pkcs.PKCS7
StackMap stack:
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "history.without.ts"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_4
anewarray java.lang.Object
dup
iconst_0
262: aload 19
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
aastore
dup
iconst_1
263: aload 0
aload 20
getstatic sun.security.tools.jarsigner.Main.DIGEST_PRIMITIVE_SET:Ljava/util/Set;
invokevirtual sun.security.tools.jarsigner.Main.withWeak:(Ljava/lang/String;Ljava/util/Set;)Ljava/lang/String;
aastore
dup
iconst_2
264: aload 0
aload 21
getstatic sun.security.tools.jarsigner.Main.SIG_PRIMITIVE_SET:Ljava/util/Set;
invokevirtual sun.security.tools.jarsigner.Main.withWeak:(Ljava/lang/String;Ljava/util/Set;)Ljava/lang/String;
aastore
dup
iconst_3
265: aload 0
aload 22
invokevirtual sun.security.tools.jarsigner.Main.withWeak:(Ljava/security/PublicKey;)Ljava/lang/String;
aastore
266: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 17
end local 23 end local 22 end local 21 end local 20 end local 19 end local 18 start local 17 267: goto 272
end local 17 StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.lang.String java.util.Iterator sun.security.pkcs.PKCS7
StackMap stack: java.lang.Exception
268: pop
269: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "history.unparsable"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
270: aload 6
aload 14
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
271: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 17
start local 17 272: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 278
273: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 17
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 17 274: goto 278
275: StackMap locals:
StackMap stack:
aload 7
aload 14
276: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "history.nobk"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 14
aastore
277: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 16 end local 14 278: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map top java.util.Iterator
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 224
279: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 284
280: aload 7
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 283
StackMap locals:
StackMap stack:
281: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 14
start local 14 282: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 7
aload 14
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 14 283: StackMap locals:
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 281
284: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
285: iload 2
ifne 300
286: aload 0
getfield sun.security.tools.jarsigner.Main.seeWeak:Z
ifeq 295
287: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 293
288: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jar.treated.unsigned.see.weak.verbose"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
289: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "\n jdk.jar.disabledAlgorithms="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
290: ldc "jdk.jar.disabledAlgorithms"
invokestatic java.security.Security.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
291: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
292: goto 376
293: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jar.treated.unsigned.see.weak"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
294: goto 376
StackMap locals:
StackMap stack:
295: iload 12
ifeq 298
296: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jar.treated.unsigned"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
297: goto 376
298: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jar.is.unsigned"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
299: goto 376
300: StackMap locals:
StackMap stack:
iconst_0
istore 14
start local 14 301: iconst_0
istore 15
start local 15 302: aload 0
getfield sun.security.tools.jarsigner.Main.badKeyUsage:Z
ifne 306
aload 0
getfield sun.security.tools.jarsigner.Main.badExtendedKeyUsage:Z
ifne 306
aload 0
getfield sun.security.tools.jarsigner.Main.badNetscapeCertType:Z
ifne 306
303: aload 0
getfield sun.security.tools.jarsigner.Main.notYetValidCert:Z
ifne 306
aload 0
getfield sun.security.tools.jarsigner.Main.chainNotValidated:Z
ifne 306
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
ifne 306
304: aload 0
getfield sun.security.tools.jarsigner.Main.hasUnsignedEntry:Z
ifne 306
aload 0
getfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
ifne 306
aload 0
getfield sun.security.tools.jarsigner.Main.weakAlg:I
ifne 306
305: aload 0
getfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
ifne 306
aload 0
getfield sun.security.tools.jarsigner.Main.notSignedByAlias:Z
ifeq 356
306: StackMap locals: int int
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.strict:Z
ifeq 312
307: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jar.verified.with.signer.errors."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
308: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
309: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Error."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
310: iconst_1
istore 15
311: goto 316
312: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jar.verified."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
313: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
314: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Warning."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
315: iconst_1
istore 14
316: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.badKeyUsage:Z
ifeq 320
317: getstatic java.lang.System.out:Ljava/io/PrintStream;
318: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "This.jar.contains.entries.whose.signer.certificate.s.KeyUsage.extension.doesn.t.allow.code.signing."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
319: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
320: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.badExtendedKeyUsage:Z
ifeq 324
321: getstatic java.lang.System.out:Ljava/io/PrintStream;
322: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "This.jar.contains.entries.whose.signer.certificate.s.ExtendedKeyUsage.extension.doesn.t.allow.code.signing."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
323: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
324: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.badNetscapeCertType:Z
ifeq 328
325: getstatic java.lang.System.out:Ljava/io/PrintStream;
326: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "This.jar.contains.entries.whose.signer.certificate.s.NetscapeCertType.extension.doesn.t.allow.code.signing."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
327: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
328: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasUnsignedEntry:Z
ifeq 332
329: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
330: ldc "This.jar.contains.unsigned.entries.which.have.not.been.integrity.checked."
331: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
332: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
ifeq 336
333: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
334: ldc "This.jar.contains.entries.whose.signer.certificate.has.expired."
335: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
336: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.notYetValidCert:Z
ifeq 340
337: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
338: ldc "This.jar.contains.entries.whose.signer.certificate.is.not.yet.valid."
339: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
340: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.chainNotValidated:Z
ifeq 345
341: getstatic java.lang.System.out:Ljava/io/PrintStream;
342: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "This.jar.contains.entries.whose.certificate.chain.is.not.validated.reason.1"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
343: aload 0
getfield sun.security.tools.jarsigner.Main.chainNotValidatedReason:Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.getLocalizedMessage:()Ljava/lang/String;
aastore
344: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
345: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.notSignedByAlias:Z
ifeq 349
346: getstatic java.lang.System.out:Ljava/io/PrintStream;
347: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "This.jar.contains.signed.entries.which.is.not.signed.by.the.specified.alias.es."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
348: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
349: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
ifeq 351
350: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "This.jar.contains.signed.entries.that.s.not.signed.by.alias.in.this.keystore."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
351: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
ifeq 357
352: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
353: ldc "This.jar.contains.entries.whose.signer.certificate.is.self.signed."
354: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
355: goto 357
356: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jar.verified."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
357: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiringCert:Z
ifne 358
aload 0
getfield sun.security.tools.jarsigner.Main.noTimestamp:Z
ifeq 370
358: StackMap locals:
StackMap stack:
iload 14
ifne 362
359: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
360: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Warning."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
361: iconst_1
istore 14
362: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiringCert:Z
ifeq 366
363: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
364: ldc "This.jar.contains.entries.whose.signer.certificate.will.expire.within.six.months."
365: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
366: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.noTimestamp:Z
ifeq 370
367: getstatic java.lang.System.out:Ljava/io/PrintStream;
368: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "no.timestamp.verifying"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
369: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
370: StackMap locals:
StackMap stack:
iload 14
ifne 371
iload 15
ifeq 376
371: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 372
aload 0
getfield sun.security.tools.jarsigner.Main.showcerts:Z
ifne 376
372: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
373: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
374: ldc "Re.run.with.the.verbose.and.certs.options.for.more.details."
375: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 15 end local 14 376: StackMap locals:
StackMap stack:
aload 3
ifnull 378
377: aload 3
invokevirtual java.util.jar.JarFile.close:()V
378: StackMap locals:
StackMap stack:
return
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 379: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map
StackMap stack: java.lang.Exception
astore 8
start local 8 380: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jarsigner."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
381: aload 0
getfield sun.security.tools.jarsigner.Main.debug:Z
ifeq 383
382: aload 8
invokevirtual java.lang.Exception.printStackTrace:()V
end local 8 383: StackMap locals:
StackMap stack:
aload 3
ifnull 389
384: aload 3
invokevirtual java.util.jar.JarFile.close:()V
goto 389
385: StackMap locals:
StackMap stack: java.lang.Throwable
astore 32
386: aload 3
ifnull 388
387: aload 3
invokevirtual java.util.jar.JarFile.close:()V
388: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map top top top top top top top top top top top top top top top top top top top top top top top top java.lang.Throwable
StackMap stack:
aload 32
athrow
389: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map
StackMap stack:
iconst_1
invokestatic java.lang.System.exit:(I)V
390: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 391 0 this Lsun/security/tools/jarsigner/Main;
0 391 1 jarName Ljava/lang/String;
1 391 2 anySigned Z
2 391 3 jf Ljava/util/jar/JarFile;
3 391 4 digestMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
4 391 5 sigMap Ljava/util/Map<Ljava/lang/String;Lsun/security/pkcs/PKCS7;>;
5 391 6 sigNameMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
6 391 7 unparsableSignatures Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
8 379 8 entriesVec Ljava/util/Vector<Ljava/util/jar/JarEntry;>;
9 379 9 buffer [B
10 379 10 entries Ljava/util/Enumeration<Ljava/util/jar/JarEntry;>;
12 56 11 je Ljava/util/jar/JarEntry;
15 52 14 is Ljava/io/InputStream;
16 50 15 name Ljava/lang/String;
21 48 16 alias Ljava/lang/String;
23 40 17 sf Ljava/util/jar/Manifest;
24 40 18 found Z
26 33 19 obj Ljava/lang/Object;
27 33 21 key Ljava/lang/String;
58 379 11 man Ljava/util/jar/Manifest;
59 379 12 hasSignature Z
60 379 13 output Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
63 157 14 e Ljava/util/Enumeration<Ljava/util/jar/JarEntry;>;
64 157 15 tab Ljava/lang/String;
66 156 16 je Ljava/util/jar/JarEntry;
67 156 17 name Ljava/lang/String;
73 156 18 signers [Ljava/security/CodeSigner;
76 156 19 isSigned Z
83 156 20 inStoreWithAlias I
86 156 21 inStore Z
94 156 22 sb Ljava/lang/StringBuffer;
102 116 23 inManifest Z
120 124 23 signer Ljava/security/CodeSigner;
121 124 27 si Ljava/lang/String;
141 156 23 label Ljava/lang/String;
146 156 24 fb Ljava/lang/StringBuilder;
147 156 25 s Ljava/lang/String;
148 152 26 i I
160 191 14 s Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
161 191 16 files Ljava/util/List<Ljava/lang/String;>;
162 191 17 key Ljava/lang/String;
165 191 18 pipe I
168 170 19 f Ljava/lang/String;
175 176 19 f Ljava/lang/String;
218 222 14 s Ljava/lang/String;
225 278 14 s Ljava/lang/String;
226 278 16 p7 Lsun/security/pkcs/PKCS7;
260 261 17 history Ljava/lang/String;
267 268 17 history Ljava/lang/String;
272 274 17 history Ljava/lang/String;
228 267 18 si Lsun/security/pkcs/SignerInfo;
229 267 19 signer Ljava/security/cert/X509Certificate;
230 267 20 digestAlg Ljava/lang/String;
233 267 21 sigAlg Ljava/lang/String;
234 267 22 key Ljava/security/PublicKey;
235 267 23 tsToken Lsun/security/pkcs/PKCS7;
237 260 24 tsSi Lsun/security/pkcs/SignerInfo;
238 260 25 tsSigner Ljava/security/cert/X509Certificate;
239 260 26 encTsTokenInfo [B
240 260 27 tsTokenInfo Lsun/security/timestamp/TimestampToken;
241 260 28 tsKey Ljava/security/PublicKey;
242 260 29 tsDigestAlg Ljava/lang/String;
245 260 30 tsSigAlg Ljava/lang/String;
248 260 31 c Ljava/util/Calendar;
282 283 14 s Ljava/lang/String;
301 376 14 warningAppeared Z
302 376 15 errorAppeared Z
380 383 8 e Ljava/lang/Exception;
Exception table:
from to target type
21 43 44 Class java.io.IOException
15 50 51 any
14 53 53 any
227 267 268 Class java.lang.Exception
6 376 379 Class java.lang.Exception
6 376 385 any
379 383 385 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
jarName
private java.lang.String withWeak(java.lang.String, java.util.Set<java.security.CryptoPrimitive>);
descriptor: (Ljava/lang/String;Ljava/util/Set;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.security.tools.jarsigner.Main.DISABLED_CHECK:Lsun/security/util/DisabledAlgorithmConstraints;
aload 2
aload 1
aconst_null
invokevirtual sun.security.util.DisabledAlgorithmConstraints.permits:(Ljava/util/Set;Ljava/lang/String;Ljava/security/AlgorithmParameters;)Z
ifeq 2
1: aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.seeWeak:Z
3: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "with.weak"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/tools/jarsigner/Main;
0 4 1 alg Ljava/lang/String;
0 4 2 primitiveSet Ljava/util/Set<Ljava/security/CryptoPrimitive;>;
Signature: (Ljava/lang/String;Ljava/util/Set<Ljava/security/CryptoPrimitive;>;)Ljava/lang/String;
MethodParameters:
Name Flags
alg
primitiveSet
private java.lang.String withWeak(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.security.tools.jarsigner.Main.DISABLED_CHECK:Lsun/security/util/DisabledAlgorithmConstraints;
getstatic sun.security.tools.jarsigner.Main.SIG_PRIMITIVE_SET:Ljava/util/Set;
aload 1
invokevirtual sun.security.util.DisabledAlgorithmConstraints.permits:(Ljava/util/Set;Ljava/security/Key;)Z
ifeq 3
1: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "key.bit"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokestatic sun.security.util.KeyUtil.getKeySize:(Ljava/security/Key;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
2: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.seeWeak:Z
4: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "key.bit.weak"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokestatic sun.security.util.KeyUtil.getKeySize:(Ljava/security/Key;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
5: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/tools/jarsigner/Main;
0 6 1 key Ljava/security/PublicKey;
MethodParameters:
Name Flags
key
java.lang.String printCert(java.lang.String, java.security.cert.Certificate, boolean, java.util.Date, boolean);
descriptor: (Ljava/lang/String;Ljava/security/cert/Certificate;ZLjava/util/Date;Z)Ljava/lang/String;
flags: (0x0000)
Code:
stack=6, locals=13, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 6
start local 6 1: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "SPACE"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 2: aconst_null
astore 8
start local 8 3: aload 2
instanceof java.security.cert.X509Certificate
ifeq 9
4: aload 2
checkcast java.security.cert.X509Certificate
astore 8
5: aload 6
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.security.cert.X509Certificate.getType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "COMMA"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 8
invokevirtual java.security.cert.X509Certificate.getSubjectDN:()Ljava/security/Principal;
invokeinterface java.security.Principal.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 10
9: StackMap locals: java.lang.StringBuilder java.lang.String java.security.cert.X509Certificate
StackMap stack:
aload 6
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.security.cert.Certificate.getType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.storeHash:Ljava/util/Hashtable;
aload 2
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 11: aload 9
ifnull 13
12: aload 6
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: StackMap locals: java.lang.String
StackMap stack:
iload 3
ifeq 77
aload 8
ifnull 77
14: aload 6
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 8
invokevirtual java.security.cert.X509Certificate.getNotAfter:()Ljava/util/Date;
astore 10
start local 10 16: iconst_1
istore 11
start local 11 17: aload 4
ifnonnull 31
18: aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
lconst_0
lcmp
ifeq 19
aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
aload 10
invokevirtual java.util.Date.after:(Ljava/util/Date;)Z
ifeq 20
19: StackMap locals: java.util.Date int
StackMap stack:
aload 0
aload 10
putfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
20: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.security.cert.X509Certificate.checkValidity:()V
21: aload 10
invokevirtual java.util.Date.getTime:()J
invokestatic java.lang.System.currentTimeMillis:()J
ldc 15552000000
ladd
lcmp
ifge 32
22: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.hasExpiringCert:Z
23: getstatic sun.security.tools.jarsigner.Main.expiringTimeForm:Ljava/text/MessageFormat;
ifnonnull 27
24: new java.text.MessageFormat
dup
25: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "certificate.will.expire.on"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
26: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
putstatic sun.security.tools.jarsigner.Main.expiringTimeForm:Ljava/text/MessageFormat;
27: StackMap locals:
StackMap stack:
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 10
aastore
astore 12
start local 12 28: aload 6
getstatic sun.security.tools.jarsigner.Main.expiringTimeForm:Ljava/text/MessageFormat;
aload 12
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
29: iconst_0
istore 11
end local 12 30: goto 32
31: StackMap locals:
StackMap stack:
aload 8
aload 4
invokevirtual java.security.cert.X509Certificate.checkValidity:(Ljava/util/Date;)V
32: StackMap locals:
StackMap stack:
iload 11
ifeq 57
33: getstatic sun.security.tools.jarsigner.Main.validityTimeForm:Ljava/text/MessageFormat;
ifnonnull 37
34: new java.text.MessageFormat
dup
35: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "certificate.is.valid.from"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
36: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
putstatic sun.security.tools.jarsigner.Main.validityTimeForm:Ljava/text/MessageFormat;
37: StackMap locals:
StackMap stack:
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 8
invokevirtual java.security.cert.X509Certificate.getNotBefore:()Ljava/util/Date;
aastore
dup
iconst_1
aload 10
aastore
astore 12
start local 12 38: aload 6
getstatic sun.security.tools.jarsigner.Main.validityTimeForm:Ljava/text/MessageFormat;
aload 12
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 12 end local 11 39: goto 57
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.security.cert.Certificate int java.util.Date int java.lang.StringBuilder java.lang.String java.security.cert.X509Certificate java.lang.String java.util.Date
StackMap stack: java.security.cert.CertificateExpiredException
40: pop
41: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
42: getstatic sun.security.tools.jarsigner.Main.expiredTimeForm:Ljava/text/MessageFormat;
ifnonnull 46
43: new java.text.MessageFormat
dup
44: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "certificate.expired.on"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
45: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
putstatic sun.security.tools.jarsigner.Main.expiredTimeForm:Ljava/text/MessageFormat;
46: StackMap locals:
StackMap stack:
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 10
aastore
astore 11
start local 11 47: aload 6
getstatic sun.security.tools.jarsigner.Main.expiredTimeForm:Ljava/text/MessageFormat;
aload 11
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 11 48: goto 57
49: StackMap locals:
StackMap stack: java.security.cert.CertificateNotYetValidException
pop
50: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.notYetValidCert:Z
51: getstatic sun.security.tools.jarsigner.Main.notYetTimeForm:Ljava/text/MessageFormat;
ifnonnull 55
52: new java.text.MessageFormat
dup
53: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "certificate.is.not.valid.until"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
54: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
putstatic sun.security.tools.jarsigner.Main.notYetTimeForm:Ljava/text/MessageFormat;
55: StackMap locals:
StackMap stack:
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 8
invokevirtual java.security.cert.X509Certificate.getNotBefore:()Ljava/util/Date;
aastore
astore 11
start local 11 56: aload 6
getstatic sun.security.tools.jarsigner.Main.notYetTimeForm:Ljava/text/MessageFormat;
aload 11
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 11 57: StackMap locals:
StackMap stack:
aload 6
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
58: iload 5
ifeq 77
59: iconst_3
newarray 4
astore 11
start local 11 60: aload 0
aload 8
aload 11
invokevirtual sun.security.tools.jarsigner.Main.checkCertUsage:(Ljava/security/cert/X509Certificate;[Z)V
61: aload 11
iconst_0
baload
ifne 62
aload 11
iconst_1
baload
ifne 62
aload 11
iconst_2
baload
ifeq 77
62: StackMap locals: boolean[]
StackMap stack:
ldc ""
astore 12
start local 12 63: aload 11
iconst_0
baload
ifeq 65
64: ldc "KeyUsage"
astore 12
65: StackMap locals: java.lang.String
StackMap stack:
aload 11
iconst_1
baload
ifeq 68
66: aload 12
invokevirtual java.lang.String.length:()I
ifle 67
new java.lang.StringBuilder
dup
aload 12
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 12
67: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 12
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "ExtendedKeyUsage"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 12
68: StackMap locals:
StackMap stack:
aload 11
iconst_2
baload
ifeq 71
69: aload 12
invokevirtual java.lang.String.length:()I
ifle 70
new java.lang.StringBuilder
dup
aload 12
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 12
70: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 12
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "NetscapeCertType"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 12
71: StackMap locals:
StackMap stack:
aload 6
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
72: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
73: ldc ".{0}.extension.does.not.support.code.signing."
74: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
75: aload 12
aastore
76: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 12 end local 11 end local 10 77: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 78 0 this Lsun/security/tools/jarsigner/Main;
0 78 1 tab Ljava/lang/String;
0 78 2 c Ljava/security/cert/Certificate;
0 78 3 checkValidityPeriod Z
0 78 4 timestamp Ljava/util/Date;
0 78 5 checkUsage Z
1 78 6 certStr Ljava/lang/StringBuilder;
2 78 7 space Ljava/lang/String;
3 78 8 x509Cert Ljava/security/cert/X509Certificate;
11 78 9 alias Ljava/lang/String;
16 77 10 notAfter Ljava/util/Date;
17 39 11 printValidity Z
28 30 12 source [Ljava/lang/Object;
38 39 12 source [Ljava/lang/Object;
47 48 11 source [Ljava/lang/Object;
56 57 11 source [Ljava/lang/Object;
60 77 11 bad [Z
63 77 12 x Ljava/lang/String;
Exception table:
from to target type
16 39 40 Class java.security.cert.CertificateExpiredException
16 39 49 Class java.security.cert.CertificateNotYetValidException
MethodParameters:
Name Flags
tab
c
checkValidityPeriod
timestamp
checkUsage
private java.lang.String printTimestamp(java.lang.String, java.security.Timestamp);
descriptor: (Ljava/lang/String;Ljava/security/Timestamp;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.security.tools.jarsigner.Main.signTimeForm:Ljava/text/MessageFormat;
ifnonnull 3
1: new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "entry.was.signed.on"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
2: putstatic sun.security.tools.jarsigner.Main.signTimeForm:Ljava/text/MessageFormat;
3: StackMap locals:
StackMap stack:
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.security.Timestamp.getTimestamp:()Ljava/util/Date;
aastore
astore 3
start local 3 4: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: getstatic sun.security.tools.jarsigner.Main.signTimeForm:Ljava/text/MessageFormat;
aload 3
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/tools/jarsigner/Main;
0 7 1 tab Ljava/lang/String;
0 7 2 timestamp Ljava/security/Timestamp;
4 7 3 source [Ljava/lang/Object;
MethodParameters:
Name Flags
tab
timestamp
private int inKeyStoreForOneSigner(java.security.CodeSigner);
descriptor: (Ljava/security/CodeSigner;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.tools.jarsigner.Main.cacheForInKS:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield sun.security.tools.jarsigner.Main.cacheForInKS:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: aload 1
invokevirtual java.security.CodeSigner.getSignerCertPath:()Ljava/security/cert/CertPath;
invokevirtual java.security.cert.CertPath.getCertificates:()Ljava/util/List;
astore 3
start local 3 4: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 22
StackMap locals: sun.security.tools.jarsigner.Main java.security.CodeSigner int java.util.List top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.cert.Certificate
astore 4
start local 4 6: aload 0
getfield sun.security.tools.jarsigner.Main.storeHash:Ljava/util/Hashtable;
aload 4
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 7: aload 6
ifnull 13
8: aload 6
ldc "("
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
9: iload 2
iconst_1
ior
istore 2
10: StackMap locals: sun.security.tools.jarsigner.Main java.security.CodeSigner int java.util.List java.security.cert.Certificate java.util.Iterator java.lang.String
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.ckaliases:Ljava/util/List;
aload 6
iconst_1
aload 6
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 22
11: iload 2
bipush 8
ior
istore 2
12: goto 22
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
ifnull 20
14: aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
aload 4
invokevirtual java.security.KeyStore.getCertificateAlias:(Ljava/security/cert/Certificate;)Ljava/lang/String;
astore 6
15: goto 17
StackMap locals:
StackMap stack: java.security.KeyStoreException
16: pop
17: StackMap locals:
StackMap stack:
aload 6
ifnull 20
18: aload 0
getfield sun.security.tools.jarsigner.Main.storeHash:Ljava/util/Hashtable;
aload 4
new java.lang.StringBuilder
dup
ldc "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: iload 2
iconst_1
ior
istore 2
20: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.ckaliases:Ljava/util/List;
aload 6
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 22
21: iload 2
bipush 8
ior
istore 2
end local 6 end local 4 22: StackMap locals: sun.security.tools.jarsigner.Main java.security.CodeSigner int java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
23: aload 0
getfield sun.security.tools.jarsigner.Main.cacheForInKS:Ljava/util/Map;
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
24: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/security/tools/jarsigner/Main;
0 25 1 signer Ljava/security/CodeSigner;
3 25 2 result I
4 25 3 certs Ljava/util/List<+Ljava/security/cert/Certificate;>;
6 22 4 c Ljava/security/cert/Certificate;
7 22 6 alias Ljava/lang/String;
Exception table:
from to target type
14 15 16 Class java.security.KeyStoreException
MethodParameters:
Name Flags
signer
int inKeyStore(java.security.CodeSigner[]);
descriptor: ([Ljava/security/CodeSigner;)I
flags: (0x0000)
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 8
StackMap locals: sun.security.tools.jarsigner.Main java.security.CodeSigner[] int top int int java.security.CodeSigner[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 0
aload 3
invokevirtual sun.security.tools.jarsigner.Main.inKeyStoreForOneSigner:(Ljava/security/CodeSigner;)I
istore 7
start local 7 6: iload 2
iload 7
ior
istore 2
end local 7 end local 3 7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
iload 5
if_icmplt 4
9: aload 0
getfield sun.security.tools.jarsigner.Main.ckaliases:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifle 11
iload 2
bipush 8
iand
ifne 11
10: iload 2
iconst_4
ior
istore 2
11: StackMap locals: sun.security.tools.jarsigner.Main java.security.CodeSigner[] int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/tools/jarsigner/Main;
0 12 1 signers [Ljava/security/CodeSigner;
3 12 2 output I
5 7 3 signer Ljava/security/CodeSigner;
6 7 7 result I
MethodParameters:
Name Flags
signers
void signJar(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=8, locals=16, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.security.tools.jarsigner.Main.digestalg:Ljava/lang/String;
ifnull 5
getstatic sun.security.tools.jarsigner.Main.DISABLED_CHECK:Lsun/security/util/DisabledAlgorithmConstraints;
1: getstatic sun.security.tools.jarsigner.Main.DIGEST_PRIMITIVE_SET:Ljava/util/Set;
aload 0
getfield sun.security.tools.jarsigner.Main.digestalg:Ljava/lang/String;
aconst_null
2: invokevirtual sun.security.util.DisabledAlgorithmConstraints.permits:(Ljava/util/Set;Ljava/lang/String;Ljava/security/AlgorithmParameters;)Z
3: ifne 5
4: aload 0
dup
getfield sun.security.tools.jarsigner.Main.weakAlg:I
iconst_1
ior
putfield sun.security.tools.jarsigner.Main.weakAlg:I
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.tSADigestAlg:Ljava/lang/String;
ifnull 10
getstatic sun.security.tools.jarsigner.Main.DISABLED_CHECK:Lsun/security/util/DisabledAlgorithmConstraints;
6: getstatic sun.security.tools.jarsigner.Main.DIGEST_PRIMITIVE_SET:Ljava/util/Set;
aload 0
getfield sun.security.tools.jarsigner.Main.tSADigestAlg:Ljava/lang/String;
aconst_null
7: invokevirtual sun.security.util.DisabledAlgorithmConstraints.permits:(Ljava/util/Set;Ljava/lang/String;Ljava/security/AlgorithmParameters;)Z
8: ifne 10
9: aload 0
dup
getfield sun.security.tools.jarsigner.Main.weakAlg:I
iconst_4
ior
putfield sun.security.tools.jarsigner.Main.weakAlg:I
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.sigalg:Ljava/lang/String;
ifnull 15
getstatic sun.security.tools.jarsigner.Main.DISABLED_CHECK:Lsun/security/util/DisabledAlgorithmConstraints;
11: getstatic sun.security.tools.jarsigner.Main.SIG_PRIMITIVE_SET:Ljava/util/Set;
aload 0
getfield sun.security.tools.jarsigner.Main.sigalg:Ljava/lang/String;
aconst_null
12: invokevirtual sun.security.util.DisabledAlgorithmConstraints.permits:(Ljava/util/Set;Ljava/lang/String;Ljava/security/AlgorithmParameters;)Z
13: ifne 15
14: aload 0
dup
getfield sun.security.tools.jarsigner.Main.weakAlg:I
iconst_2
ior
putfield sun.security.tools.jarsigner.Main.weakAlg:I
15: StackMap locals:
StackMap stack:
getstatic sun.security.tools.jarsigner.Main.DISABLED_CHECK:Lsun/security/util/DisabledAlgorithmConstraints;
16: getstatic sun.security.tools.jarsigner.Main.SIG_PRIMITIVE_SET:Ljava/util/Set;
aload 0
getfield sun.security.tools.jarsigner.Main.privateKey:Ljava/security/PrivateKey;
17: invokevirtual sun.security.util.DisabledAlgorithmConstraints.permits:(Ljava/util/Set;Ljava/security/Key;)Z
18: ifne 20
19: aload 0
dup
getfield sun.security.tools.jarsigner.Main.weakAlg:I
bipush 8
ior
putfield sun.security.tools.jarsigner.Main.weakAlg:I
20: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 21: aconst_null
astore 4
start local 4 22: aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
ifnonnull 25
23: aload 0
aload 2
putfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
24: iconst_1
istore 3
25: StackMap locals: int java.security.cert.X509Certificate
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
bipush 8
if_icmple 28
26: aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
iconst_0
bipush 8
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
putfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
27: goto 29
28: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
putfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
29: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 5
start local 5 30: iconst_0
istore 6
start local 6 31: goto 46
32: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
iload 6
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 33: iload 7
bipush 65
if_icmplt 34
iload 7
bipush 90
if_icmple 44
34: StackMap locals: int
StackMap stack:
iload 7
bipush 48
if_icmplt 35
iload 7
bipush 57
if_icmple 44
35: StackMap locals:
StackMap stack:
iload 7
bipush 45
if_icmpeq 44
36: iload 7
bipush 95
if_icmpeq 44
37: iload 3
ifeq 40
38: bipush 95
istore 7
39: goto 44
40: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
41: ldc "signature.filename.must.consist.of.the.following.characters.A.Z.0.9.or."
42: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
43: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
44: StackMap locals:
StackMap stack:
aload 5
iload 7
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 7 45: iinc 6 1
StackMap locals:
StackMap stack:
46: iload 6
aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmplt 32
end local 6 47: aload 0
aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
48: aload 0
getfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
ifnonnull 50
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".sig"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 49: goto 51
end local 6 50: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
astore 6
start local 6 51: StackMap locals: java.lang.String
StackMap stack:
new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 7
start local 7 52: new java.io.File
dup
aload 6
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 8
start local 8 53: aload 0
new java.util.zip.ZipFile
dup
aload 1
invokespecial java.util.zip.ZipFile.<init>:(Ljava/lang/String;)V
putfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
54: goto 57
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File
StackMap stack: java.io.IOException
55: astore 9
start local 9 56: aload 0
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "unable.to.open.jar.file."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 9
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 9 57: StackMap locals:
StackMap stack:
aconst_null
astore 9
start local 9 58: new java.io.FileOutputStream
dup
aload 8
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 9
59: goto 62
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream
StackMap stack: java.io.IOException
60: astore 10
start local 10 61: aload 0
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "unable.to.create."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 10
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 10 62: StackMap locals:
StackMap stack:
ldc "X.509"
invokestatic java.security.cert.CertificateFactory.getInstance:(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
63: aload 0
getfield sun.security.tools.jarsigner.Main.certChain:[Ljava/security/cert/X509Certificate;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.security.cert.CertificateFactory.generateCertPath:(Ljava/util/List;)Ljava/security/cert/CertPath;
64: astore 10
start local 10 65: new jdk.security.jarsigner.JarSigner$Builder
dup
aload 0
getfield sun.security.tools.jarsigner.Main.privateKey:Ljava/security/PrivateKey;
aload 10
invokespecial jdk.security.jarsigner.JarSigner$Builder.<init>:(Ljava/security/PrivateKey;Ljava/security/cert/CertPath;)V
astore 11
start local 11 66: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 68
67: aload 11
invokedynamic accept()Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
sun/security/tools/jarsigner/Main.lambda$1(Ljava/lang/String;Ljava/lang/String;)V (6)
(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual jdk.security.jarsigner.JarSigner$Builder.eventHandler:(Ljava/util/function/BiConsumer;)Ljdk/security/jarsigner/JarSigner$Builder;
pop
68: StackMap locals: java.security.cert.CertPath jdk.security.jarsigner.JarSigner$Builder
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.digestalg:Ljava/lang/String;
ifnull 70
69: aload 11
aload 0
getfield sun.security.tools.jarsigner.Main.digestalg:Ljava/lang/String;
invokevirtual jdk.security.jarsigner.JarSigner$Builder.digestAlgorithm:(Ljava/lang/String;)Ljdk/security/jarsigner/JarSigner$Builder;
pop
70: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.sigalg:Ljava/lang/String;
ifnull 72
71: aload 11
aload 0
getfield sun.security.tools.jarsigner.Main.sigalg:Ljava/lang/String;
invokevirtual jdk.security.jarsigner.JarSigner$Builder.signatureAlgorithm:(Ljava/lang/String;)Ljdk/security/jarsigner/JarSigner$Builder;
pop
72: StackMap locals:
StackMap stack:
aconst_null
astore 12
start local 12 73: aload 0
getfield sun.security.tools.jarsigner.Main.tsaUrl:Ljava/lang/String;
ifnull 76
74: new java.net.URI
dup
aload 0
getfield sun.security.tools.jarsigner.Main.tsaUrl:Ljava/lang/String;
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
astore 12
75: goto 79
StackMap locals: java.net.URI
StackMap stack:
76: aload 0
getfield sun.security.tools.jarsigner.Main.tsaAlias:Ljava/lang/String;
ifnull 79
77: aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.tsaAlias:Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.getTsaCert:(Ljava/lang/String;)Ljava/security/cert/X509Certificate;
astore 4
78: aload 4
invokestatic sun.security.tools.jarsigner.TimestampedSigner.getTimestampingURI:(Ljava/security/cert/X509Certificate;)Ljava/net/URI;
astore 12
79: StackMap locals:
StackMap stack:
aload 12
ifnull 97
80: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 91
81: getstatic java.lang.System.out:Ljava/io/PrintStream;
82: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "requesting.a.signature.timestamp"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
83: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
84: aload 0
getfield sun.security.tools.jarsigner.Main.tsaUrl:Ljava/lang/String;
ifnull 87
85: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "TSA.location."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.tools.jarsigner.Main.tsaUrl:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
86: goto 91
StackMap locals:
StackMap stack:
87: aload 4
ifnull 91
88: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "TSA.certificate."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
89: aload 0
ldc ""
aload 4
iconst_0
aconst_null
iconst_0
invokevirtual sun.security.tools.jarsigner.Main.printCert:(Ljava/lang/String;Ljava/security/cert/Certificate;ZLjava/util/Date;Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
90: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
91: StackMap locals:
StackMap stack:
aload 11
aload 12
invokevirtual jdk.security.jarsigner.JarSigner$Builder.tsa:(Ljava/net/URI;)Ljdk/security/jarsigner/JarSigner$Builder;
pop
92: aload 0
getfield sun.security.tools.jarsigner.Main.tSADigestAlg:Ljava/lang/String;
ifnull 94
93: aload 11
ldc "tsaDigestAlg"
aload 0
getfield sun.security.tools.jarsigner.Main.tSADigestAlg:Ljava/lang/String;
invokevirtual jdk.security.jarsigner.JarSigner$Builder.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljdk/security/jarsigner/JarSigner$Builder;
pop
94: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.tSAPolicyID:Ljava/lang/String;
ifnull 98
95: aload 11
ldc "tsaPolicyId"
aload 0
getfield sun.security.tools.jarsigner.Main.tSAPolicyID:Ljava/lang/String;
invokevirtual jdk.security.jarsigner.JarSigner$Builder.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljdk/security/jarsigner/JarSigner$Builder;
pop
96: goto 98
97: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.noTimestamp:Z
98: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.altSignerClass:Ljava/lang/String;
ifnull 104
99: aload 11
ldc "altSigner"
aload 0
getfield sun.security.tools.jarsigner.Main.altSignerClass:Ljava/lang/String;
invokevirtual jdk.security.jarsigner.JarSigner$Builder.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljdk/security/jarsigner/JarSigner$Builder;
pop
100: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 104
101: getstatic java.lang.System.out:Ljava/io/PrintStream;
102: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "using.an.alternative.signing.mechanism"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
103: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
104: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.altSignerClasspath:Ljava/lang/String;
ifnull 106
105: aload 11
ldc "altSignerPath"
aload 0
getfield sun.security.tools.jarsigner.Main.altSignerClasspath:Ljava/lang/String;
invokevirtual jdk.security.jarsigner.JarSigner$Builder.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljdk/security/jarsigner/JarSigner$Builder;
pop
106: StackMap locals:
StackMap stack:
aload 11
aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
invokevirtual jdk.security.jarsigner.JarSigner$Builder.signerName:(Ljava/lang/String;)Ljdk/security/jarsigner/JarSigner$Builder;
pop
107: aload 11
ldc "sectionsOnly"
aload 0
getfield sun.security.tools.jarsigner.Main.signManifest:Z
ifeq 108
iconst_0
goto 109
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.security.cert.CertPath jdk.security.jarsigner.JarSigner$Builder java.net.URI
StackMap stack: jdk.security.jarsigner.JarSigner$Builder java.lang.String
108: iconst_1
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.security.cert.CertPath jdk.security.jarsigner.JarSigner$Builder java.net.URI
StackMap stack: jdk.security.jarsigner.JarSigner$Builder java.lang.String int
109: invokestatic java.lang.Boolean.toString:(Z)Ljava/lang/String;
invokevirtual jdk.security.jarsigner.JarSigner$Builder.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljdk/security/jarsigner/JarSigner$Builder;
pop
110: aload 11
ldc "internalSF"
aload 0
getfield sun.security.tools.jarsigner.Main.externalSF:Z
ifeq 111
iconst_0
goto 112
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.security.cert.CertPath jdk.security.jarsigner.JarSigner$Builder java.net.URI
StackMap stack: jdk.security.jarsigner.JarSigner$Builder java.lang.String
111: iconst_1
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.security.cert.CertPath jdk.security.jarsigner.JarSigner$Builder java.net.URI
StackMap stack: jdk.security.jarsigner.JarSigner$Builder java.lang.String int
112: invokestatic java.lang.Boolean.toString:(Z)Ljava/lang/String;
invokevirtual jdk.security.jarsigner.JarSigner$Builder.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljdk/security/jarsigner/JarSigner$Builder;
pop
113: aload 11
invokevirtual jdk.security.jarsigner.JarSigner$Builder.build:()Ljdk/security/jarsigner/JarSigner;
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
aload 9
invokevirtual jdk.security.jarsigner.JarSigner.sign:(Ljava/util/zip/ZipFile;Ljava/io/OutputStream;)V
114: goto 140
StackMap locals:
StackMap stack: jdk.security.jarsigner.JarSignerException
115: astore 13
start local 13 116: aload 13
invokevirtual jdk.security.jarsigner.JarSignerException.getCause:()Ljava/lang/Throwable;
astore 14
start local 14 117: aload 14
ifnull 127
aload 14
instanceof java.net.SocketTimeoutException
ifeq 127
118: aload 0
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "unable.to.sign.jar."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
119: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "no.response.from.the.Timestamping.Authority."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
120: ldc "\n -J-Dhttp.proxyHost=<hostname>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
121: ldc "\n -J-Dhttp.proxyPort=<portnumber>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
122: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "or"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
123: ldc "\n -J-Dhttps.proxyHost=<hostname> "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
124: ldc "\n -J-Dhttps.proxyPort=<portnumber> "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 13
125: invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
126: goto 128
127: StackMap locals: jdk.security.jarsigner.JarSignerException java.lang.Throwable
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "unable.to.sign.jar."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 13
invokevirtual jdk.security.jarsigner.JarSignerException.getCause:()Ljava/lang/Throwable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 13
invokevirtual jdk.security.jarsigner.JarSignerException.getCause:()Ljava/lang/Throwable;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 14 end local 13 128: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
ifnull 131
129: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
invokevirtual java.util.zip.ZipFile.close:()V
130: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
131: StackMap locals:
StackMap stack:
aload 9
ifnull 145
132: aload 9
invokevirtual java.io.FileOutputStream.close:()V
goto 145
133: StackMap locals:
StackMap stack: java.lang.Throwable
astore 15
134: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
ifnull 137
135: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
invokevirtual java.util.zip.ZipFile.close:()V
136: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
137: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.security.cert.CertPath jdk.security.jarsigner.JarSigner$Builder java.net.URI top top java.lang.Throwable
StackMap stack:
aload 9
ifnull 139
138: aload 9
invokevirtual java.io.FileOutputStream.close:()V
139: StackMap locals:
StackMap stack:
aload 15
athrow
140: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.security.cert.CertPath jdk.security.jarsigner.JarSigner$Builder java.net.URI
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
ifnull 143
141: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
invokevirtual java.util.zip.ZipFile.close:()V
142: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
143: StackMap locals:
StackMap stack:
aload 9
ifnull 145
144: aload 9
invokevirtual java.io.FileOutputStream.close:()V
145: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
ifnonnull 163
146: aload 8
aload 7
invokevirtual java.io.File.renameTo:(Ljava/io/File;)Z
ifne 163
147: new java.io.File
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".orig"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 13
start local 13 148: aload 7
aload 13
invokevirtual java.io.File.renameTo:(Ljava/io/File;)Z
ifeq 158
149: aload 8
aload 7
invokevirtual java.io.File.renameTo:(Ljava/io/File;)Z
ifeq 152
150: aload 13
invokevirtual java.io.File.delete:()Z
pop
151: goto 163
152: StackMap locals: java.io.File
StackMap stack:
new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
153: ldc "attempt.to.rename.signedJarFile.to.jarFile.failed"
154: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 14
start local 14 155: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 8
aastore
dup
iconst_1
aload 7
aastore
astore 15
start local 15 156: aload 0
aload 14
aload 15
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
end local 15 end local 14 157: goto 163
158: StackMap locals:
StackMap stack:
new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
159: ldc "attempt.to.rename.jarFile.to.origJar.failed"
160: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 14
start local 14 161: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 7
aastore
dup
iconst_1
aload 13
aastore
astore 15
start local 15 162: aload 0
aload 14
aload 15
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
end local 15 end local 14 end local 13 163: StackMap locals:
StackMap stack:
iconst_0
istore 13
start local 13 164: aload 0
getfield sun.security.tools.jarsigner.Main.weakAlg:I
ifne 166
aload 0
getfield sun.security.tools.jarsigner.Main.badKeyUsage:Z
ifne 166
aload 0
getfield sun.security.tools.jarsigner.Main.badExtendedKeyUsage:Z
ifne 166
aload 0
getfield sun.security.tools.jarsigner.Main.badNetscapeCertType:Z
ifne 166
165: aload 0
getfield sun.security.tools.jarsigner.Main.notYetValidCert:Z
ifne 166
aload 0
getfield sun.security.tools.jarsigner.Main.chainNotValidated:Z
ifne 166
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
ifne 166
aload 0
getfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
ifeq 226
166: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.strict:Z
ifeq 171
167: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jar.signed.with.signer.errors."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
168: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
169: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Error."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
170: goto 175
171: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jar.signed."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
172: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
173: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Warning."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
174: iconst_1
istore 13
175: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.badKeyUsage:Z
ifeq 179
176: getstatic java.lang.System.out:Ljava/io/PrintStream;
177: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "The.signer.certificate.s.KeyUsage.extension.doesn.t.allow.code.signing."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
178: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
179: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.badExtendedKeyUsage:Z
ifeq 183
180: getstatic java.lang.System.out:Ljava/io/PrintStream;
181: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "The.signer.certificate.s.ExtendedKeyUsage.extension.doesn.t.allow.code.signing."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
182: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
183: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.badNetscapeCertType:Z
ifeq 187
184: getstatic java.lang.System.out:Ljava/io/PrintStream;
185: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "The.signer.certificate.s.NetscapeCertType.extension.doesn.t.allow.code.signing."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
186: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
187: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
ifeq 192
188: getstatic java.lang.System.out:Ljava/io/PrintStream;
189: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "The.signer.certificate.has.expired."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
190: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
191: goto 196
StackMap locals:
StackMap stack:
192: aload 0
getfield sun.security.tools.jarsigner.Main.notYetValidCert:Z
ifeq 196
193: getstatic java.lang.System.out:Ljava/io/PrintStream;
194: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "The.signer.certificate.is.not.yet.valid."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
195: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
196: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.chainNotValidated:Z
ifeq 201
197: getstatic java.lang.System.out:Ljava/io/PrintStream;
198: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "The.signer.s.certificate.chain.is.not.validated.reason.1"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
199: aload 0
getfield sun.security.tools.jarsigner.Main.chainNotValidatedReason:Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.getLocalizedMessage:()Ljava/lang/String;
aastore
200: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
201: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
ifeq 205
202: getstatic java.lang.System.out:Ljava/io/PrintStream;
203: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "The.signer.s.certificate.is.self.signed."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
204: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
205: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.weakAlg:I
iconst_1
iand
iconst_1
if_icmpne 210
206: getstatic java.lang.System.out:Ljava/io/PrintStream;
207: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "The.1.algorithm.specified.for.the.2.option.is.considered.a.security.risk."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
208: aload 0
getfield sun.security.tools.jarsigner.Main.digestalg:Ljava/lang/String;
aastore
dup
iconst_1
ldc "-digestalg"
aastore
209: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
210: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.weakAlg:I
iconst_2
iand
iconst_2
if_icmpne 215
211: getstatic java.lang.System.out:Ljava/io/PrintStream;
212: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "The.1.algorithm.specified.for.the.2.option.is.considered.a.security.risk."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
213: aload 0
getfield sun.security.tools.jarsigner.Main.sigalg:Ljava/lang/String;
aastore
dup
iconst_1
ldc "-sigalg"
aastore
214: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
215: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.weakAlg:I
iconst_4
iand
iconst_4
if_icmpne 220
216: getstatic java.lang.System.out:Ljava/io/PrintStream;
217: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "The.1.algorithm.specified.for.the.2.option.is.considered.a.security.risk."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
218: aload 0
getfield sun.security.tools.jarsigner.Main.tSADigestAlg:Ljava/lang/String;
aastore
dup
iconst_1
ldc "-tsadigestalg"
aastore
219: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
220: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.weakAlg:I
bipush 8
iand
bipush 8
if_icmpne 227
221: getstatic java.lang.System.out:Ljava/io/PrintStream;
222: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "The.1.signing.key.has.a.keysize.of.2.which.is.considered.a.security.risk."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
223: aload 0
getfield sun.security.tools.jarsigner.Main.privateKey:Ljava/security/PrivateKey;
invokeinterface java.security.PrivateKey.getAlgorithm:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield sun.security.tools.jarsigner.Main.privateKey:Ljava/security/PrivateKey;
invokestatic sun.security.util.KeyUtil.getKeySize:(Ljava/security/Key;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
224: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
225: goto 227
226: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jar.signed."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
227: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiringCert:Z
ifne 228
aload 0
getfield sun.security.tools.jarsigner.Main.noTimestamp:Z
ifeq 239
228: StackMap locals:
StackMap stack:
iload 13
ifne 231
229: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
230: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Warning."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
231: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiringCert:Z
ifeq 235
232: getstatic java.lang.System.out:Ljava/io/PrintStream;
233: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "The.signer.certificate.will.expire.within.six.months."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
234: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
235: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.noTimestamp:Z
ifeq 239
236: getstatic java.lang.System.out:Ljava/io/PrintStream;
237: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "no.timestamp.signing"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
238: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
239: StackMap locals:
StackMap stack:
return
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 240 0 this Lsun/security/tools/jarsigner/Main;
0 240 1 jarName Ljava/lang/String;
0 240 2 alias Ljava/lang/String;
21 240 3 aliasUsed Z
22 240 4 tsaCert Ljava/security/cert/X509Certificate;
30 240 5 tmpSigFile Ljava/lang/StringBuilder;
31 47 6 j I
33 45 7 c C
49 50 6 tmpJarName Ljava/lang/String;
51 240 6 tmpJarName Ljava/lang/String;
52 240 7 jarFile Ljava/io/File;
53 240 8 signedJarFile Ljava/io/File;
56 57 9 ioe Ljava/io/IOException;
58 240 9 fos Ljava/io/FileOutputStream;
61 62 10 ioe Ljava/io/IOException;
65 240 10 cp Ljava/security/cert/CertPath;
66 240 11 builder Ljdk/security/jarsigner/JarSigner$Builder;
73 240 12 tsaURI Ljava/net/URI;
116 128 13 e Ljdk/security/jarsigner/JarSignerException;
117 128 14 cause Ljava/lang/Throwable;
148 163 13 origJar Ljava/io/File;
155 157 14 form Ljava/text/MessageFormat;
156 157 15 source [Ljava/lang/Object;
161 163 14 form Ljava/text/MessageFormat;
162 163 15 source [Ljava/lang/Object;
164 240 13 warningAppeared Z
Exception table:
from to target type
53 54 55 Class java.io.IOException
58 59 60 Class java.io.IOException
113 114 115 Class jdk.security.jarsigner.JarSignerException
113 128 133 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
jarName
alias
private boolean signatureRelated(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.security.util.SignatureFileVerifier.isSigningRelated:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/tools/jarsigner/Main;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private java.lang.String signerInfo(java.security.CodeSigner, java.lang.String);
descriptor: (Ljava/security/CodeSigner;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.security.tools.jarsigner.Main.cacheForSignerInfo:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield sun.security.tools.jarsigner.Main.cacheForSignerInfo:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 3: aload 1
invokevirtual java.security.CodeSigner.getSignerCertPath:()Ljava/security/cert/CertPath;
invokevirtual java.security.cert.CertPath.getCertificates:()Ljava/util/List;
astore 4
start local 4 4: aload 1
invokevirtual java.security.CodeSigner.getTimestamp:()Ljava/security/Timestamp;
astore 6
start local 6 5: aload 6
ifnull 10
6: aload 3
aload 0
aload 2
aload 6
invokevirtual sun.security.tools.jarsigner.Main.printTimestamp:(Ljava/lang/String;Ljava/security/Timestamp;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 3
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: aload 6
invokevirtual java.security.Timestamp.getTimestamp:()Ljava/util/Date;
astore 5
start local 5 9: goto 12
end local 5 10: StackMap locals: sun.security.tools.jarsigner.Main java.security.CodeSigner java.lang.String java.lang.StringBuilder java.util.List top java.security.Timestamp
StackMap stack:
aconst_null
astore 5
start local 5 11: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.noTimestamp:Z
12: StackMap locals: sun.security.tools.jarsigner.Main java.security.CodeSigner java.lang.String java.lang.StringBuilder java.util.List java.util.Date java.security.Timestamp
StackMap stack:
iconst_1
istore 7
start local 7 13: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 18
StackMap locals: sun.security.tools.jarsigner.Main java.security.CodeSigner java.lang.String java.lang.StringBuilder java.util.List java.util.Date java.security.Timestamp int top java.util.Iterator
StackMap stack:
14: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.cert.Certificate
astore 8
start local 8 15: aload 3
aload 0
aload 2
aload 8
iconst_1
aload 5
iload 7
invokevirtual sun.security.tools.jarsigner.Main.printCert:(Ljava/lang/String;Ljava/security/cert/Certificate;ZLjava/util/Date;Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 3
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
17: iconst_0
istore 7
end local 8 18: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
19: aload 0
aload 4
invokevirtual sun.security.tools.jarsigner.Main.validateCertChain:(Ljava/util/List;)V
20: goto 26
StackMap locals: sun.security.tools.jarsigner.Main java.security.CodeSigner java.lang.String java.lang.StringBuilder java.util.List java.util.Date java.security.Timestamp int
StackMap stack: java.lang.Exception
21: astore 8
start local 8 22: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.chainNotValidated:Z
23: aload 0
aload 8
putfield sun.security.tools.jarsigner.Main.chainNotValidatedReason:Ljava/lang/Throwable;
24: aload 3
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc ".CertPath.not.validated."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
25: aload 8
invokevirtual java.lang.Exception.getLocalizedMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 8 26: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 29
27: aload 4
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.security.cert.X509Certificate
invokestatic sun.security.tools.KeyStoreUtil.isSelfSigned:(Ljava/security/cert/X509Certificate;)Z
ifeq 29
28: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
29: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 8
start local 8 30: aload 0
getfield sun.security.tools.jarsigner.Main.cacheForSignerInfo:Ljava/util/Map;
aload 1
aload 8
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
31: aload 8
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lsun/security/tools/jarsigner/Main;
0 32 1 signer Ljava/security/CodeSigner;
0 32 2 tab Ljava/lang/String;
3 32 3 sb Ljava/lang/StringBuilder;
4 32 4 certs Ljava/util/List<+Ljava/security/cert/Certificate;>;
9 10 5 timestamp Ljava/util/Date;
11 32 5 timestamp Ljava/util/Date;
5 32 6 ts Ljava/security/Timestamp;
13 32 7 first Z
15 18 8 c Ljava/security/cert/Certificate;
22 26 8 e Ljava/lang/Exception;
30 32 8 result Ljava/lang/String;
Exception table:
from to target type
19 20 21 Class java.lang.Exception
MethodParameters:
Name Flags
signer
tab
void loadKeyStore(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0000)
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.security.tools.jarsigner.Main.nullStream:Z
ifne 4
aload 1
ifnonnull 4
1: new java.lang.StringBuilder
dup
ldc "user.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc ".keystore"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
4: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
start local 3 5: invokestatic sun.security.tools.KeyStoreUtil.getCacertsKeyStore:()Ljava/security/KeyStore;
astore 4
start local 4 6: aload 4
ifnull 16
7: aload 4
invokevirtual java.security.KeyStore.aliases:()Ljava/util/Enumeration;
astore 5
start local 5 8: goto 13
9: StackMap locals: java.util.Set java.security.KeyStore java.util.Enumeration
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 10: aload 3
new java.security.cert.TrustAnchor
dup
aload 4
aload 6
invokevirtual java.security.KeyStore.getCertificate:(Ljava/lang/String;)Ljava/security/cert/Certificate;
checkcast java.security.cert.X509Certificate
aconst_null
invokespecial java.security.cert.TrustAnchor.<init>:(Ljava/security/cert/X509Certificate;[B)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: goto 13
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.Set java.security.KeyStore java.util.Enumeration java.lang.String
StackMap stack: java.lang.Exception
12: pop
end local 6 13: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 9
end local 5 end local 4 14: goto 16
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.Set
StackMap stack: java.lang.Exception
15: pop
16: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.providerName:Ljava/lang/String;
ifnonnull 19
17: aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
invokestatic java.security.KeyStore.getInstance:(Ljava/lang/String;)Ljava/security/KeyStore;
putfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
18: goto 20
19: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
aload 0
getfield sun.security.tools.jarsigner.Main.providerName:Ljava/lang/String;
invokestatic java.security.KeyStore.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyStore;
putfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
20: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.token:Z
ifeq 26
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnonnull 26
aload 0
getfield sun.security.tools.jarsigner.Main.protectedPath:Z
ifne 26
21: aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
invokestatic sun.security.tools.KeyStoreUtil.isWindowsKeyStore:(Ljava/lang/String;)Z
ifne 26
22: aload 0
aload 0
23: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Enter.Passphrase.for.keystore."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
24: invokevirtual sun.security.tools.jarsigner.Main.getPass:(Ljava/lang/String;)[C
putfield sun.security.tools.jarsigner.Main.storepass:[C
25: goto 30
StackMap locals:
StackMap stack:
26: aload 0
getfield sun.security.tools.jarsigner.Main.token:Z
ifne 30
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnonnull 30
iload 2
ifeq 30
27: aload 0
aload 0
28: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Enter.Passphrase.for.keystore."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
29: invokevirtual sun.security.tools.jarsigner.Main.getPass:(Ljava/lang/String;)[C
putfield sun.security.tools.jarsigner.Main.storepass:[C
30: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.nullStream:Z
ifeq 33
31: aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
aconst_null
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
invokevirtual java.security.KeyStore.load:(Ljava/io/InputStream;[C)V
32: goto 49
33: StackMap locals:
StackMap stack:
aload 1
getstatic java.io.File.separatorChar:C
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 1
34: aconst_null
astore 4
start local 4 35: new java.net.URL
dup
aload 1
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 4
36: goto 39
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.Set java.net.URL
StackMap stack: java.net.MalformedURLException
37: pop
38: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 4
39: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 40: aload 4
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 5
41: aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
aload 5
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
invokevirtual java.security.KeyStore.load:(Ljava/io/InputStream;[C)V
42: goto 47
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.Set java.net.URL java.io.InputStream
StackMap stack: java.lang.Throwable
43: astore 6
44: aload 5
ifnull 46
45: aload 5
invokevirtual java.io.InputStream.close:()V
46: StackMap locals: java.lang.Throwable
StackMap stack:
aload 6
athrow
47: StackMap locals:
StackMap stack:
aload 5
ifnull 49
48: aload 5
invokevirtual java.io.InputStream.close:()V
end local 5 end local 4 49: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
invokevirtual java.security.KeyStore.aliases:()Ljava/util/Enumeration;
astore 4
start local 4 50: goto 58
51: StackMap locals: java.util.Enumeration
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 52: aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
aload 5
invokevirtual java.security.KeyStore.getCertificate:(Ljava/lang/String;)Ljava/security/cert/Certificate;
checkcast java.security.cert.X509Certificate
astore 6
start local 6 53: aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
aload 5
invokevirtual java.security.KeyStore.isCertificateEntry:(Ljava/lang/String;)Z
ifne 55
54: aload 6
invokevirtual java.security.cert.X509Certificate.getSubjectDN:()Ljava/security/Principal;
aload 6
invokevirtual java.security.cert.X509Certificate.getIssuerDN:()Ljava/security/Principal;
invokeinterface java.security.Principal.equals:(Ljava/lang/Object;)Z
ifeq 58
55: StackMap locals: java.lang.String java.security.cert.X509Certificate
StackMap stack:
aload 3
new java.security.cert.TrustAnchor
dup
aload 6
aconst_null
invokespecial java.security.cert.TrustAnchor.<init>:(Ljava/security/cert/X509Certificate;[B)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 6 56: goto 58
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.Set java.util.Enumeration java.lang.String
StackMap stack: java.lang.Exception
57: pop
end local 5 58: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 51
end local 4 59: goto 66
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.Set
StackMap stack: java.lang.Throwable
60: astore 7
61: aload 0
new java.security.cert.PKIXBuilderParameters
dup
aload 3
aconst_null
invokespecial java.security.cert.PKIXBuilderParameters.<init>:(Ljava/util/Set;Ljava/security/cert/CertSelector;)V
putfield sun.security.tools.jarsigner.Main.pkixParameters:Ljava/security/cert/PKIXBuilderParameters;
62: aload 0
getfield sun.security.tools.jarsigner.Main.pkixParameters:Ljava/security/cert/PKIXBuilderParameters;
iconst_0
invokevirtual java.security.cert.PKIXBuilderParameters.setRevocationEnabled:(Z)V
63: goto 65
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.Set top top top java.lang.Throwable
StackMap stack: java.security.InvalidAlgorithmParameterException
64: pop
65: StackMap locals:
StackMap stack:
aload 7
athrow
66: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.Set
StackMap stack:
aload 0
new java.security.cert.PKIXBuilderParameters
dup
aload 3
aconst_null
invokespecial java.security.cert.PKIXBuilderParameters.<init>:(Ljava/util/Set;Ljava/security/cert/CertSelector;)V
putfield sun.security.tools.jarsigner.Main.pkixParameters:Ljava/security/cert/PKIXBuilderParameters;
67: aload 0
getfield sun.security.tools.jarsigner.Main.pkixParameters:Ljava/security/cert/PKIXBuilderParameters;
iconst_0
invokevirtual java.security.cert.PKIXBuilderParameters.setRevocationEnabled:(Z)V
68: goto 93
StackMap locals:
StackMap stack: java.security.InvalidAlgorithmParameterException
69: pop
end local 3 70: goto 93
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int
StackMap stack: java.io.IOException
71: astore 3
start local 3 72: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "keystore.load."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
73: aload 3
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
74: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 75: StackMap locals:
StackMap stack: java.security.cert.CertificateException
astore 3
start local 3 76: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "certificate.exception."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
77: aload 3
invokevirtual java.security.cert.CertificateException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
78: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 79: StackMap locals:
StackMap stack: java.security.NoSuchProviderException
astore 3
start local 3 80: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "keystore.load."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
81: aload 3
invokevirtual java.security.NoSuchProviderException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
82: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 83: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
astore 3
start local 3 84: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "keystore.load."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
85: aload 3
invokevirtual java.security.NoSuchAlgorithmException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
86: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 87: StackMap locals:
StackMap stack: java.security.KeyStoreException
astore 3
start local 3 88: new java.lang.RuntimeException
dup
89: new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "unable.to.instantiate.keystore.class."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
90: aload 3
invokevirtual java.security.KeyStoreException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
91: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
92: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 93: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 94 0 this Lsun/security/tools/jarsigner/Main;
0 94 1 keyStoreName Ljava/lang/String;
0 94 2 prompt Z
5 70 3 tas Ljava/util/Set<Ljava/security/cert/TrustAnchor;>;
6 14 4 caks Ljava/security/KeyStore;
8 14 5 aliases Ljava/util/Enumeration<Ljava/lang/String;>;
10 13 6 a Ljava/lang/String;
35 49 4 url Ljava/net/URL;
40 49 5 is Ljava/io/InputStream;
50 59 4 aliases Ljava/util/Enumeration<Ljava/lang/String;>;
52 58 5 a Ljava/lang/String;
53 56 6 c Ljava/security/cert/X509Certificate;
72 75 3 ioe Ljava/io/IOException;
76 79 3 ce Ljava/security/cert/CertificateException;
80 83 3 pe Ljava/security/NoSuchProviderException;
84 87 3 nsae Ljava/security/NoSuchAlgorithmException;
88 93 3 kse Ljava/security/KeyStoreException;
Exception table:
from to target type
10 11 12 Class java.lang.Exception
5 14 15 Class java.lang.Exception
35 36 37 Class java.net.MalformedURLException
40 43 43 any
52 56 57 Class java.lang.Exception
30 60 60 any
61 63 64 Class java.security.InvalidAlgorithmParameterException
66 68 69 Class java.security.InvalidAlgorithmParameterException
4 70 71 Class java.io.IOException
4 70 75 Class java.security.cert.CertificateException
4 70 79 Class java.security.NoSuchProviderException
4 70 83 Class java.security.NoSuchAlgorithmException
4 70 87 Class java.security.KeyStoreException
MethodParameters:
Name Flags
keyStoreName
prompt
java.security.cert.X509Certificate getTsaCert(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/security/cert/X509Certificate;
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
aload 1
invokevirtual java.security.KeyStore.getCertificate:(Ljava/lang/String;)Ljava/security/cert/Certificate;
astore 2
2: goto 4
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.security.cert.Certificate
StackMap stack: java.security.KeyStoreException
3: pop
4: StackMap locals:
StackMap stack:
aload 2
ifnull 5
aload 2
instanceof java.security.cert.X509Certificate
ifne 10
5: StackMap locals:
StackMap stack:
new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
6: ldc "Certificate.not.found.for.alias.alias.must.reference.a.valid.KeyStore.entry.containing.an.X.509.public.key.certificate.for.the"
7: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 3
start local 3 8: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 1
aastore
astore 4
start local 4 9: aload 0
aload 3
aload 4
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
end local 4 end local 3 10: StackMap locals:
StackMap stack:
aload 2
checkcast java.security.cert.X509Certificate
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/tools/jarsigner/Main;
0 11 1 alias Ljava/lang/String;
1 11 2 cs Ljava/security/cert/Certificate;
8 10 3 form Ljava/text/MessageFormat;
9 10 4 source [Ljava/lang/Object;
Exception table:
from to target type
1 2 3 Class java.security.KeyStoreException
MethodParameters:
Name Flags
alias
void checkCertUsage(java.security.cert.X509Certificate, boolean[]);
descriptor: (Ljava/security/cert/X509Certificate;[Z)V
flags: (0x0000)
Code:
stack=8, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 2
1: aload 2
iconst_0
aload 2
iconst_1
aload 2
iconst_2
iconst_0
dup_x2
bastore
dup_x2
bastore
bastore
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.security.cert.X509Certificate.getKeyUsage:()[Z
astore 3
start local 3 3: aload 3
ifnull 9
4: aload 3
bipush 9
invokestatic java.util.Arrays.copyOf:([ZI)[Z
astore 3
5: aload 3
iconst_0
baload
ifne 9
aload 3
iconst_1
baload
ifne 9
6: aload 2
ifnull 9
7: aload 2
iconst_0
iconst_1
bastore
8: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.badKeyUsage:Z
9: StackMap locals: boolean[]
StackMap stack:
aload 1
invokevirtual java.security.cert.X509Certificate.getExtendedKeyUsage:()Ljava/util/List;
astore 4
start local 4 10: aload 4
ifnull 18
11: aload 4
ldc "2.5.29.37.0"
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 18
12: aload 4
ldc "1.3.6.1.5.5.7.3.3"
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 18
13: aload 2
ifnull 18
14: aload 2
iconst_1
iconst_1
bastore
15: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.badExtendedKeyUsage:Z
end local 4 16: goto 18
StackMap locals:
StackMap stack: java.security.cert.CertificateParsingException
17: pop
18: StackMap locals:
StackMap stack:
aload 1
19: ldc "2.16.840.1.113730.1.1"
20: invokevirtual java.security.cert.X509Certificate.getExtensionValue:(Ljava/lang/String;)[B
astore 4
start local 4 21: aload 4
ifnull 36
22: new sun.security.util.DerInputStream
dup
aload 4
invokespecial sun.security.util.DerInputStream.<init>:([B)V
astore 5
start local 5 23: aload 5
invokevirtual sun.security.util.DerInputStream.getOctetString:()[B
astore 6
start local 6 24: new sun.security.util.DerValue
dup
aload 6
invokespecial sun.security.util.DerValue.<init>:([B)V
invokevirtual sun.security.util.DerValue.getUnalignedBitString:()Lsun/security/util/BitArray;
25: invokevirtual sun.security.util.BitArray.toByteArray:()[B
26: astore 6
27: new sun.security.x509.NetscapeCertTypeExtension
dup
aload 6
invokespecial sun.security.x509.NetscapeCertTypeExtension.<init>:([B)V
28: astore 7
start local 7 29: aload 7
ldc "object_signing"
invokevirtual sun.security.x509.NetscapeCertTypeExtension.get:(Ljava/lang/String;)Ljava/lang/Boolean;
astore 8
start local 8 30: aload 8
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 36
31: aload 2
ifnull 36
32: aload 2
iconst_2
iconst_1
bastore
33: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.badNetscapeCertType:Z
end local 8 end local 7 end local 6 end local 5 end local 4 34: goto 36
StackMap locals:
StackMap stack: java.io.IOException
35: pop
36: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lsun/security/tools/jarsigner/Main;
0 37 1 userCert Ljava/security/cert/X509Certificate;
0 37 2 bad [Z
3 37 3 keyUsage [Z
10 16 4 xKeyUsage Ljava/util/List<Ljava/lang/String;>;
21 34 4 netscapeEx [B
23 34 5 in Lsun/security/util/DerInputStream;
24 34 6 encoded [B
29 34 7 extn Lsun/security/x509/NetscapeCertTypeExtension;
30 34 8 val Ljava/lang/Boolean;
Exception table:
from to target type
9 16 17 Class java.security.cert.CertificateParsingException
18 34 35 Class java.io.IOException
MethodParameters:
Name Flags
userCert
bad
void getAliasInfo(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 0
getfield sun.security.tools.jarsigner.Main.altCertChain:Ljava/lang/String;
ifnull 20
3: aconst_null
astore 4
aconst_null
astore 5
4: new java.io.FileInputStream
dup
aload 0
getfield sun.security.tools.jarsigner.Main.altCertChain:Ljava/lang/String;
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
astore 6
start local 6 5: ldc "X.509"
invokestatic java.security.cert.CertificateFactory.getInstance:(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
6: aload 6
invokevirtual java.security.cert.CertificateFactory.generateCertificates:(Ljava/io/InputStream;)Ljava/util/Collection;
7: iconst_0
anewarray java.security.cert.Certificate
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.security.cert.Certificate[]
8: astore 3
9: aload 6
ifnull 23
aload 6
invokevirtual java.io.FileInputStream.close:()V
goto 23
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.security.Key java.security.cert.Certificate[] java.lang.Throwable java.lang.Throwable java.io.FileInputStream
StackMap stack: java.lang.Throwable
10: astore 4
aload 6
ifnull 11
aload 6
invokevirtual java.io.FileInputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
11: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 5
aload 4
ifnonnull 13
aload 5
astore 4
goto 14
StackMap locals:
StackMap stack:
13: aload 4
aload 5
if_acmpeq 14
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 4
athrow
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.security.Key java.security.cert.Certificate[]
StackMap stack: java.io.FileNotFoundException
15: pop
16: aload 0
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "File.specified.by.certchain.does.not.exist"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
goto 23
17: StackMap locals:
StackMap stack: java.lang.Exception
pop
18: aload 0
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "Cannot.restore.certchain.from.file.specified"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
19: goto 23
20: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
aload 1
invokevirtual java.security.KeyStore.getCertificateChain:(Ljava/lang/String;)[Ljava/security/cert/Certificate;
astore 3
21: goto 23
StackMap locals:
StackMap stack: java.security.KeyStoreException
22: pop
23: StackMap locals:
StackMap stack:
aload 3
ifnull 24
aload 3
arraylength
ifne 34
24: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.altCertChain:Ljava/lang/String;
ifnull 29
25: aload 0
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
26: ldc "Certificate.chain.not.found.in.the.file.specified."
27: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
28: goto 34
29: StackMap locals:
StackMap stack:
new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
30: ldc "Certificate.chain.not.found.for.alias.alias.must.reference.a.valid.KeyStore.key.entry.containing.a.private.key.and"
31: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 4
start local 4 32: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 1
aastore
astore 5
start local 5 33: aload 0
aload 4
aload 5
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
end local 5 end local 4 34: StackMap locals:
StackMap stack:
aload 0
aload 3
arraylength
anewarray java.security.cert.X509Certificate
putfield sun.security.tools.jarsigner.Main.certChain:[Ljava/security/cert/X509Certificate;
35: iconst_0
istore 4
start local 4 36: goto 43
37: StackMap locals: int
StackMap stack:
aload 3
iload 4
aaload
instanceof java.security.cert.X509Certificate
ifne 41
38: aload 0
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
39: ldc "found.non.X.509.certificate.in.signer.s.chain"
40: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
41: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.certChain:[Ljava/security/cert/X509Certificate;
iload 4
aload 3
iload 4
aaload
checkcast java.security.cert.X509Certificate
aastore
42: iinc 4 1
StackMap locals:
StackMap stack:
43: iload 4
aload 3
arraylength
if_icmplt 37
end local 4 44: aload 0
ldc ""
aload 0
getfield sun.security.tools.jarsigner.Main.certChain:[Ljava/security/cert/X509Certificate;
iconst_0
aaload
iconst_1
aconst_null
iconst_1
invokevirtual sun.security.tools.jarsigner.Main.printCert:(Ljava/lang/String;Ljava/security/cert/Certificate;ZLjava/util/Date;Z)Ljava/lang/String;
pop
45: aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.certChain:[Ljava/security/cert/X509Certificate;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual sun.security.tools.jarsigner.Main.validateCertChain:(Ljava/util/List;)V
46: goto 50
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.security.Key java.security.cert.Certificate[]
StackMap stack: java.lang.Exception
47: astore 4
start local 4 48: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.chainNotValidated:Z
49: aload 0
aload 4
putfield sun.security.tools.jarsigner.Main.chainNotValidatedReason:Ljava/lang/Throwable;
end local 4 50: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.certChain:[Ljava/security/cert/X509Certificate;
iconst_0
aaload
invokestatic sun.security.tools.KeyStoreUtil.isSelfSigned:(Ljava/security/cert/X509Certificate;)Z
ifeq 52
51: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
52: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.token:Z
ifne 54
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnonnull 54
53: aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
aload 1
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
invokevirtual java.security.KeyStore.getKey:(Ljava/lang/String;[C)Ljava/security/Key;
astore 2
goto 73
54: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
aload 1
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
invokevirtual java.security.KeyStore.getKey:(Ljava/lang/String;[C)Ljava/security/Key;
astore 2
55: goto 73
StackMap locals:
StackMap stack: java.security.UnrecoverableKeyException
56: astore 4
start local 4 57: aload 0
getfield sun.security.tools.jarsigner.Main.token:Z
ifeq 59
58: aload 4
athrow
59: StackMap locals: java.security.UnrecoverableKeyException
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnonnull 73
60: new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
61: ldc "Enter.key.password.for.alias."
62: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 5
start local 5 63: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
astore 6
start local 6 64: aload 0
aload 0
aload 5
aload 6
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.getPass:(Ljava/lang/String;)[C
putfield sun.security.tools.jarsigner.Main.keypass:[C
65: aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
aload 1
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
invokevirtual java.security.KeyStore.getKey:(Ljava/lang/String;[C)Ljava/security/Key;
astore 2
end local 6 end local 5 end local 4 end local 3 66: goto 73
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.security.Key
StackMap stack: java.security.NoSuchAlgorithmException
67: astore 3
start local 3 68: aload 0
aload 3
invokevirtual java.security.NoSuchAlgorithmException.getMessage:()Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
end local 3 69: goto 73
70: StackMap locals:
StackMap stack: java.security.UnrecoverableKeyException
pop
71: aload 0
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "unable.to.recover.key.from.keystore"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
goto 73
72: StackMap locals:
StackMap stack: java.security.KeyStoreException
pop
73: StackMap locals:
StackMap stack:
aload 2
instanceof java.security.PrivateKey
ifne 80
74: new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
75: ldc "key.associated.with.alias.not.a.private.key"
76: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 3
start local 3 77: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
astore 4
start local 4 78: aload 0
aload 3
aload 4
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
end local 4 end local 3 79: goto 81
80: StackMap locals:
StackMap stack:
aload 0
aload 2
checkcast java.security.PrivateKey
putfield sun.security.tools.jarsigner.Main.privateKey:Ljava/security/PrivateKey;
81: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 82 0 this Lsun/security/tools/jarsigner/Main;
0 82 1 alias Ljava/lang/String;
1 82 2 key Ljava/security/Key;
2 66 3 cs [Ljava/security/cert/Certificate;
5 11 6 fis Ljava/io/FileInputStream;
32 34 4 form Ljava/text/MessageFormat;
33 34 5 source [Ljava/lang/Object;
36 44 4 i I
48 50 4 e Ljava/lang/Exception;
57 66 4 e Ljava/security/UnrecoverableKeyException;
63 66 5 form Ljava/text/MessageFormat;
64 66 6 source [Ljava/lang/Object;
68 69 3 e Ljava/security/NoSuchAlgorithmException;
77 79 3 form Ljava/text/MessageFormat;
78 79 4 source [Ljava/lang/Object;
Exception table:
from to target type
5 9 10 any
4 12 12 any
3 15 15 Class java.io.FileNotFoundException
3 15 17 Class java.security.cert.CertificateException
3 15 17 Class java.io.IOException
20 21 22 Class java.security.KeyStoreException
45 46 47 Class java.lang.Exception
52 55 56 Class java.security.UnrecoverableKeyException
1 66 67 Class java.security.NoSuchAlgorithmException
1 66 70 Class java.security.UnrecoverableKeyException
1 66 72 Class java.security.KeyStoreException
MethodParameters:
Name Flags
alias
void error(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jarsigner."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: iconst_1
invokestatic java.lang.System.exit:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/tools/jarsigner/Main;
0 3 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
void error(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "jarsigner."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: aload 0
getfield sun.security.tools.jarsigner.Main.debug:Z
ifeq 3
2: aload 2
invokevirtual java.lang.Throwable.printStackTrace:()V
3: StackMap locals:
StackMap stack:
iconst_1
invokestatic java.lang.System.exit:(I)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/tools/jarsigner/Main;
0 5 1 message Ljava/lang/String;
0 5 2 e Ljava/lang/Throwable;
MethodParameters:
Name Flags
message
e
void validateCertChain(java.util.List<? extends java.security.cert.Certificate>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: ldc "PKIX"
1: ldc "code signing"
2: aload 0
getfield sun.security.tools.jarsigner.Main.pkixParameters:Ljava/security/cert/PKIXBuilderParameters;
3: invokestatic sun.security.validator.Validator.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/security/cert/PKIXBuilderParameters;)Lsun/security/validator/Validator;
4: aload 1
aload 1
invokeinterface java.util.List.size:()I
anewarray java.security.cert.X509Certificate
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.security.cert.X509Certificate[]
invokevirtual sun.security.validator.Validator.validate:([Ljava/security/cert/X509Certificate;)[Ljava/security/cert/X509Certificate;
pop
5: goto 25
StackMap locals:
StackMap stack: java.lang.Exception
6: astore 2
start local 2 7: aload 0
getfield sun.security.tools.jarsigner.Main.debug:Z
ifeq 9
8: aload 2
invokevirtual java.lang.Exception.printStackTrace:()V
9: StackMap locals: java.lang.Exception
StackMap stack:
aload 2
instanceof sun.security.validator.ValidatorException
ifeq 24
10: aload 2
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
ifnull 19
11: aload 2
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
instanceof java.security.cert.CertPathValidatorException
ifeq 19
12: aload 2
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
checkcast java.lang.Exception
astore 2
13: aload 2
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
astore 3
start local 3 14: aload 3
instanceof java.security.cert.CertificateExpiredException
ifeq 16
15: aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
ifne 18
16: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
instanceof java.security.cert.CertificateNotYetValidException
ifeq 19
17: aload 0
getfield sun.security.tools.jarsigner.Main.notYetValidCert:Z
ifeq 19
18: StackMap locals:
StackMap stack:
return
end local 3 19: StackMap locals:
StackMap stack:
aload 2
instanceof sun.security.validator.ValidatorException
ifeq 24
20: aload 2
checkcast sun.security.validator.ValidatorException
astore 3
start local 3 21: aload 3
invokevirtual sun.security.validator.ValidatorException.getErrorType:()Ljava/lang/Object;
getstatic sun.security.validator.ValidatorException.T_EE_EXTENSIONS:Ljava/lang/Object;
if_acmpne 24
22: aload 0
getfield sun.security.tools.jarsigner.Main.badKeyUsage:Z
ifne 23
aload 0
getfield sun.security.tools.jarsigner.Main.badExtendedKeyUsage:Z
ifne 23
aload 0
getfield sun.security.tools.jarsigner.Main.badNetscapeCertType:Z
ifeq 24
23: StackMap locals: sun.security.validator.ValidatorException
StackMap stack:
return
end local 3 24: StackMap locals:
StackMap stack:
aload 2
athrow
end local 2 25: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/security/tools/jarsigner/Main;
0 26 1 certs Ljava/util/List<+Ljava/security/cert/Certificate;>;
7 25 2 e Ljava/lang/Exception;
14 19 3 t Ljava/lang/Throwable;
21 24 3 ve Lsun/security/validator/ValidatorException;
Exception table:
from to target type
0 5 6 Class java.lang.Exception
Exceptions:
throws java.lang.Exception
Signature: (Ljava/util/List<+Ljava/security/cert/Certificate;>;)V
MethodParameters:
Name Flags
certs
char[] getPass(java.lang.String);
descriptor: (Ljava/lang/String;)[C
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.flush:()V
2: getstatic java.lang.System.in:Ljava/io/InputStream;
invokestatic sun.security.util.Password.readPassword:(Ljava/io/InputStream;)[C
astore 2
start local 2 3: aload 2
ifnonnull 6
4: aload 0
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "you.must.enter.key.password"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
5: goto 10
6: StackMap locals: char[]
StackMap stack:
aload 2
7: areturn
end local 2 8: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String
StackMap stack: java.io.IOException
astore 2
start local 2 9: aload 0
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "unable.to.read.password."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
end local 2 10: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/tools/jarsigner/Main;
0 11 1 prompt Ljava/lang/String;
3 8 2 pass [C
9 10 2 ioe Ljava/io/IOException;
Exception table:
from to target type
2 7 8 Class java.io.IOException
MethodParameters:
Name Flags
prompt
private static boolean lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 0
ldc "-debug"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 x Ljava/lang/String;
private static void lambda$1(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
new java.lang.StringBuilder
dup
ldc "."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 action Ljava/lang/String;
0 2 1 file Ljava/lang/String;
}
SourceFile: "Main.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Category = java.util.Locale$Category of java.util.Locale
public abstract Entry = java.util.Map$Entry of java.util.Map
public Builder = jdk.security.jarsigner.JarSigner$Builder of jdk.security.jarsigner.JarSigner