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 META_INF;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "META-INF/"
private static final java.lang.Class<?>[] PARAM_STRING;
descriptor: [Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: [Ljava/lang/Class<*>;
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 long ONE_YEAR;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 31622400000
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 IN_SCOPE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
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.Vector<java.lang.String> providers;
descriptor: Ljava/util/Vector;
flags: (0x0000)
Signature: Ljava/util/Vector<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.io.ByteArrayOutputStream baos;
descriptor: Ljava/io/ByteArrayOutputStream;
flags: (0x0002) ACC_PRIVATE
private byte[] buffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private com.sun.jarsigner.ContentSigner signingMechanism;
descriptor: Lcom/sun/jarsigner/ContentSigner;
flags: (0x0002) ACC_PRIVATE
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 hasExpiringTsaCert;
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 java.util.Date tsaExpireDate;
descriptor: Ljava/util/Date;
flags: (0x0002) ACC_PRIVATE
boolean hasTimestampBlock;
descriptor: Z
flags: (0x0000)
private int weakAlg;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean hasExpiredCert;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean hasExpiredTsaCert;
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 tsaChainNotValidated;
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 java.lang.Throwable tsaChainNotValidatedReason;
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)
java.util.Set<java.security.cert.X509Certificate> trustedCerts;
descriptor: Ljava/util/Set;
flags: (0x0000)
Signature: Ljava/util/Set<Ljava/security/cert/X509Certificate;>;
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=4, 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: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
putstatic sun.security.tools.jarsigner.Main.PARAM_STRING:[Ljava/lang/Class;
6: new sun.security.util.DisabledAlgorithmConstraints
dup
7: ldc "jdk.jar.disabledAlgorithms"
8: invokespecial sun.security.util.DisabledAlgorithmConstraints.<init>:(Ljava/lang/String;)V
9: putstatic sun.security.tools.jarsigner.Main.DISABLED_CHECK:Lsun/security/util/DisabledAlgorithmConstraints;
10: 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;
11: putstatic sun.security.tools.jarsigner.Main.DIGEST_PRIMITIVE_SET:Ljava/util/Set;
12: 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;
13: putstatic sun.security.tools.jarsigner.Main.SIG_PRIMITIVE_SET:Ljava/util/Set;
14: aconst_null
putstatic sun.security.tools.jarsigner.Main.validityTimeForm:Ljava/text/MessageFormat;
15: aconst_null
putstatic sun.security.tools.jarsigner.Main.notYetTimeForm:Ljava/text/MessageFormat;
16: aconst_null
putstatic sun.security.tools.jarsigner.Main.expiredTimeForm:Ljava/text/MessageFormat;
17: aconst_null
putstatic sun.security.tools.jarsigner.Main.expiringTimeForm:Ljava/text/MessageFormat;
18: 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=4, 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/Vector;
5: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.security.tools.jarsigner.Main.providerArgs:Ljava/util/HashMap;
6: aload 0
ldc "SHA-256"
putfield sun.security.tools.jarsigner.Main.digestalg:Ljava/lang/String;
7: aload 0
ldc "SHA-256"
putfield sun.security.tools.jarsigner.Main.tSADigestAlg:Ljava/lang/String;
8: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.verify:Z
9: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
10: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.showcerts:Z
11: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.debug:Z
12: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.signManifest:Z
13: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.externalSF:Z
14: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.strict:Z
15: aload 0
new java.io.ByteArrayOutputStream
dup
sipush 2048
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
putfield sun.security.tools.jarsigner.Main.baos:Ljava/io/ByteArrayOutputStream;
16: aload 0
sipush 8192
newarray 8
putfield sun.security.tools.jarsigner.Main.buffer:[B
17: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.signingMechanism:Lcom/sun/jarsigner/ContentSigner;
18: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.altSignerClass:Ljava/lang/String;
19: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.altSignerClasspath:Ljava/lang/String;
20: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
21: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.hasExpiringCert:Z
22: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.hasExpiringTsaCert:Z
23: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.noTimestamp:Z
24: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
25: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.tsaExpireDate:Ljava/util/Date;
26: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.hasTimestampBlock:Z
27: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.weakAlg:I
28: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
29: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.hasExpiredTsaCert:Z
30: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.notYetValidCert:Z
31: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.chainNotValidated:Z
32: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.tsaChainNotValidated:Z
33: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.notSignedByAlias:Z
34: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
35: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.hasUnsignedEntry:Z
36: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.badKeyUsage:Z
37: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.badExtendedKeyUsage:Z
38: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.badNetscapeCertType:Z
39: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
40: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.chainNotValidatedReason:Ljava/lang/Throwable;
41: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.tsaChainNotValidatedReason:Ljava/lang/Throwable;
42: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.seeWeak:Z
43: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield sun.security.tools.jarsigner.Main.trustedCerts:Ljava/util/Set;
44: aload 0
new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
putfield sun.security.tools.jarsigner.Main.cacheForInKS:Ljava/util/Map;
45: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield sun.security.tools.jarsigner.Main.storeHash:Ljava/util/Hashtable;
46: aload 0
new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
putfield sun.security.tools.jarsigner.Main.cacheForSignerInfo:Ljava/util/Map;
47: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 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=5, locals=11, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.tools.jarsigner.Main.parseArgs:([Ljava/lang/String;)V
1: aload 0
getfield sun.security.tools.jarsigner.Main.providers:Ljava/util/Vector;
ifnull 25
2: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 3: aload 0
getfield sun.security.tools.jarsigner.Main.providers:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
astore 3
start local 3 4: goto 24
5: StackMap locals: java.lang.ClassLoader java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 6: aload 2
ifnull 9
7: aload 2
aload 4
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 5
start local 5 8: goto 10
end local 5 9: StackMap locals: java.lang.String
StackMap stack:
aload 4
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 5
start local 5 10: StackMap locals: java.lang.Class
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.providerArgs:Ljava/util/HashMap;
aload 4
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 11: aload 6
ifnonnull 14
12: aload 5
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
astore 7
start local 7 13: goto 17
end local 7 14: StackMap locals: java.lang.String
StackMap stack:
aload 5
getstatic sun.security.tools.jarsigner.Main.PARAM_STRING:[Ljava/lang/Class;
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
15: astore 8
start local 8 16: aload 8
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
astore 7
end local 8 start local 7 17: StackMap locals: java.lang.Object
StackMap stack:
aload 7
instanceof java.security.Provider
ifne 23
18: new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
19: ldc "provName.not.a.provider"
20: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 8
start local 8 21: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
astore 9
start local 9 22: new java.lang.Exception
dup
aload 8
aload 9
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
end local 9 end local 8 23: StackMap locals:
StackMap stack:
aload 7
checkcast java.security.Provider
invokestatic java.security.Security.addProvider:(Ljava/security/Provider;)I
pop
end local 7 end local 6 end local 5 end local 4 24: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[] java.lang.ClassLoader java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 5
end local 3 end local 2 25: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verify:Z
ifeq 36
26: 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
27: goto 34
StackMap locals:
StackMap stack: java.lang.Exception
28: astore 2
start local 2 29: aload 0
getfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
ifnonnull 30
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnull 34
30: 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
31: 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;
32: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
33: iconst_1
invokestatic java.lang.System.exit:(I)V
end local 2 34: 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
35: goto 63
36: 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
37: 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
38: aload 0
getfield sun.security.tools.jarsigner.Main.altSignerClass:Ljava/lang/String;
ifnull 42
39: aload 0
aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.altSignerClass:Ljava/lang/String;
40: aload 0
getfield sun.security.tools.jarsigner.Main.altSignerClasspath:Ljava/lang/String;
41: invokevirtual sun.security.tools.jarsigner.Main.loadSigningMechanism:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/jarsigner/ContentSigner;
putfield sun.security.tools.jarsigner.Main.signingMechanism:Lcom/sun/jarsigner/ContentSigner;
42: StackMap locals:
StackMap stack:
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;
aload 1
invokevirtual sun.security.tools.jarsigner.Main.signJar:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V
43: goto 63
StackMap locals:
StackMap stack: java.lang.Exception
44: astore 2
start local 2 45: 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
46: aload 0
getfield sun.security.tools.jarsigner.Main.debug:Z
ifeq 48
47: aload 2
invokevirtual java.lang.Exception.printStackTrace:()V
48: StackMap locals: java.lang.Exception
StackMap stack:
iconst_1
invokestatic java.lang.System.exit:(I)V
end local 2 49: aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnull 52
50: aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
bipush 32
invokestatic java.util.Arrays.fill:([CC)V
51: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.keypass:[C
52: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnull 69
53: aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
bipush 32
invokestatic java.util.Arrays.fill:([CC)V
54: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.storepass:[C
goto 69
55: StackMap locals:
StackMap stack: java.lang.Throwable
astore 10
56: aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnull 59
57: aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
bipush 32
invokestatic java.util.Arrays.fill:([CC)V
58: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.keypass:[C
59: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[] top top top top top top top top java.lang.Throwable
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnull 62
60: aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
bipush 32
invokestatic java.util.Arrays.fill:([CC)V
61: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.storepass:[C
62: StackMap locals:
StackMap stack:
aload 10
athrow
63: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[]
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnull 66
64: aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
bipush 32
invokestatic java.util.Arrays.fill:([CC)V
65: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.keypass:[C
66: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnull 69
67: aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
bipush 32
invokestatic java.util.Arrays.fill:([CC)V
68: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.storepass:[C
69: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.strict:Z
ifeq 84
70: iconst_0
istore 2
start local 2 71: aload 0
getfield sun.security.tools.jarsigner.Main.weakAlg:I
ifne 73
aload 0
getfield sun.security.tools.jarsigner.Main.chainNotValidated:Z
ifne 73
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
ifne 73
72: aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredTsaCert:Z
ifne 73
aload 0
getfield sun.security.tools.jarsigner.Main.notYetValidCert:Z
ifne 73
aload 0
getfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
ifeq 74
73: StackMap locals: int
StackMap stack:
iload 2
iconst_4
ior
istore 2
74: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.badKeyUsage:Z
ifne 75
aload 0
getfield sun.security.tools.jarsigner.Main.badExtendedKeyUsage:Z
ifne 75
aload 0
getfield sun.security.tools.jarsigner.Main.badNetscapeCertType:Z
ifeq 76
75: StackMap locals:
StackMap stack:
iload 2
bipush 8
ior
istore 2
76: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasUnsignedEntry:Z
ifeq 78
77: iload 2
bipush 16
ior
istore 2
78: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.notSignedByAlias:Z
ifne 79
aload 0
getfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
ifeq 80
79: StackMap locals:
StackMap stack:
iload 2
bipush 32
ior
istore 2
80: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.tsaChainNotValidated:Z
ifeq 82
81: iload 2
bipush 64
ior
istore 2
82: StackMap locals:
StackMap stack:
iload 2
ifeq 84
83: iload 2
invokestatic java.lang.System.exit:(I)V
end local 2 84: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 85 0 this Lsun/security/tools/jarsigner/Main;
0 85 1 args [Ljava/lang/String;
3 25 2 cl Ljava/lang/ClassLoader;
4 25 3 e Ljava/util/Enumeration<Ljava/lang/String;>;
6 24 4 provName Ljava/lang/String;
8 9 5 provClass Ljava/lang/Class<*>;
10 24 5 provClass Ljava/lang/Class<*>;
11 24 6 provArg Ljava/lang/String;
13 14 7 obj Ljava/lang/Object;
17 24 7 obj Ljava/lang/Object;
16 17 8 c Ljava/lang/reflect/Constructor<*>;
21 23 8 form Ljava/text/MessageFormat;
22 23 9 source [Ljava/lang/Object;
29 34 2 e Ljava/lang/Exception;
45 49 2 e Ljava/lang/Exception;
71 84 2 exitCode I
Exception table:
from to target type
26 27 28 Class java.lang.Exception
0 43 44 Class java.lang.Exception
0 49 55 any
MethodParameters:
Name Flags
args
void parseArgs(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=6, locals=6, 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:
iconst_0
istore 2
goto 129
3: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
astore 3
start local 3 4: aconst_null
astore 4
start local 4 5: aload 3
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
6: aload 3
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 5
start local 5 7: iload 5
ifle 10
8: aload 3
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
9: aload 3
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
end local 5 10: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 3
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 17
11: aload 0
getfield sun.security.tools.jarsigner.Main.jarfile:Ljava/lang/String;
ifnonnull 14
12: aload 0
aload 3
putfield sun.security.tools.jarsigner.Main.jarfile:Ljava/lang/String;
13: goto 128
14: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield sun.security.tools.jarsigner.Main.alias:Ljava/lang/String;
15: 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
16: goto 128
StackMap locals:
StackMap stack:
17: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-keystore"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 21
18: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 19
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
19: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
20: goto 128
StackMap locals:
StackMap stack:
21: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-storepass"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 25
22: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 23
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
23: StackMap locals:
StackMap stack:
aload 0
aload 4
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
24: goto 128
StackMap locals:
StackMap stack:
25: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-storetype"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 29
26: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 27
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
27: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
28: goto 128
StackMap locals:
StackMap stack:
29: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-providerName"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 33
30: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 31
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
31: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.providerName:Ljava/lang/String;
32: goto 128
StackMap locals:
StackMap stack:
33: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-provider"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifeq 35
34: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-providerClass"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 46
35: StackMap locals:
StackMap stack:
iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 36
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
36: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.providers:Ljava/util/Vector;
ifnonnull 38
37: aload 0
new java.util.Vector
dup
iconst_3
invokespecial java.util.Vector.<init>:(I)V
putfield sun.security.tools.jarsigner.Main.providers:Ljava/util/Vector;
38: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.providers:Ljava/util/Vector;
aload 1
iload 2
aaload
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
39: aload 1
arraylength
iload 2
iconst_1
iadd
if_icmple 128
40: aload 1
iload 2
iconst_1
iadd
aaload
astore 3
41: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-providerArg"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 128
42: aload 1
arraylength
iload 2
iconst_2
iadd
if_icmpne 43
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
43: 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
44: iinc 2 2
45: goto 128
StackMap locals:
StackMap stack:
46: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-protected"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 49
47: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.protectedPath:Z
48: goto 128
StackMap locals:
StackMap stack:
49: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-certchain"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 53
50: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 51
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
51: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.altCertChain:Ljava/lang/String;
52: goto 128
StackMap locals:
StackMap stack:
53: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-tsapolicyid"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 57
54: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 55
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
55: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.tSAPolicyID:Ljava/lang/String;
56: goto 128
StackMap locals:
StackMap stack:
57: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-tsadigestalg"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 61
58: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 59
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
59: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.tSADigestAlg:Ljava/lang/String;
60: goto 128
StackMap locals:
StackMap stack:
61: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-debug"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 64
62: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.debug:Z
63: goto 128
StackMap locals:
StackMap stack:
64: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-keypass"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 68
65: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 66
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
66: StackMap locals:
StackMap stack:
aload 0
aload 4
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
67: goto 128
StackMap locals:
StackMap stack:
68: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-sigfile"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 72
69: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 70
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
70: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
71: goto 128
StackMap locals:
StackMap stack:
72: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-signedjar"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 76
73: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 74
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
74: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
75: goto 128
StackMap locals:
StackMap stack:
76: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-tsa"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 80
77: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 78
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
78: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.tsaUrl:Ljava/lang/String;
79: goto 128
StackMap locals:
StackMap stack:
80: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-tsacert"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 84
81: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 82
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
82: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.tsaAlias:Ljava/lang/String;
83: goto 128
StackMap locals:
StackMap stack:
84: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-altsigner"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 88
85: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 86
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
86: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.altSignerClass:Ljava/lang/String;
87: goto 128
StackMap locals:
StackMap stack:
88: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-altsignerpath"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 92
89: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 90
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
90: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.altSignerClasspath:Ljava/lang/String;
91: goto 128
StackMap locals:
StackMap stack:
92: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-sectionsonly"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 95
93: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.signManifest:Z
94: goto 128
StackMap locals:
StackMap stack:
95: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-internalsf"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 98
96: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.externalSF:Z
97: goto 128
StackMap locals:
StackMap stack:
98: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-verify"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 101
99: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.verify:Z
100: goto 128
StackMap locals:
StackMap stack:
101: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-verbose"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 106
102: aload 0
aload 4
ifnull 103
aload 4
goto 104
StackMap locals:
StackMap stack: sun.security.tools.jarsigner.Main
103: ldc "all"
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String[] int java.lang.String java.lang.String
StackMap stack: sun.security.tools.jarsigner.Main java.lang.String
104: putfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
105: goto 128
StackMap locals:
StackMap stack:
106: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-sigalg"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 110
107: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 108
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
108: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.sigalg:Ljava/lang/String;
109: goto 128
StackMap locals:
StackMap stack:
110: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-digestalg"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 114
111: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 112
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
112: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.digestalg:Ljava/lang/String;
113: goto 128
StackMap locals:
StackMap stack:
114: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-certs"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 117
115: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.showcerts:Z
116: goto 128
StackMap locals:
StackMap stack:
117: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-strict"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 120
118: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.strict:Z
119: goto 128
StackMap locals:
StackMap stack:
120: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-h"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifeq 122
121: getstatic sun.security.tools.jarsigner.Main.collator:Ljava/text/Collator;
aload 3
ldc "-help"
invokevirtual java.text.Collator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ifne 124
122: StackMap locals:
StackMap stack:
invokestatic sun.security.tools.jarsigner.Main.fullusage:()V
123: goto 128
124: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
125: 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 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
126: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
127: invokestatic sun.security.tools.jarsigner.Main.usage:()V
end local 4 end local 3 128: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
129: iload 2
aload 1
arraylength
if_icmplt 3
130: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnonnull 131
aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.showcerts:Z
131: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.jarfile:Ljava/lang/String;
ifnonnull 134
132: 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
133: invokestatic sun.security.tools.jarsigner.Main.usage:()V
134: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verify:Z
ifne 137
aload 0
getfield sun.security.tools.jarsigner.Main.alias:Ljava/lang/String;
ifnonnull 137
135: 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
136: invokestatic sun.security.tools.jarsigner.Main.usage:()V
137: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verify:Z
ifne 140
aload 0
getfield sun.security.tools.jarsigner.Main.ckaliases:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 140
138: 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
139: invokestatic sun.security.tools.jarsigner.Main.usage:()V
140: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
ifnonnull 142
141: aload 0
invokestatic java.security.KeyStore.getDefaultType:()Ljava/lang/String;
putfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
142: 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;
143: aload 0
getfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
ifnull 150
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;
144: 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;
145: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
146: ifeq 150
147: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
148: goto 150
StackMap locals:
StackMap stack: java.io.IOException
149: pop
150: 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 152
151: aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
invokestatic sun.security.tools.KeyStoreUtil.isWindowsKeyStore:(Ljava/lang/String;)Z
ifeq 155
152: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.token:Z
153: aload 0
getfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
ifnonnull 155
154: aload 0
ldc "NONE"
putfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
155: 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 157
156: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.nullStream:Z
157: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.token:Z
ifeq 164
aload 0
getfield sun.security.tools.jarsigner.Main.nullStream:Z
ifne 164
158: getstatic java.lang.System.err:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
159: ldc ".keystore.must.be.NONE.if.storetype.is.{0}"
160: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
161: aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
aastore
162: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
163: invokestatic sun.security.tools.jarsigner.Main.usage:()V
164: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.token:Z
ifeq 171
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnull 171
165: getstatic java.lang.System.err:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
166: ldc ".keypass.can.not.be.specified.if.storetype.is.{0}"
167: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
168: aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
aastore
169: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
170: invokestatic sun.security.tools.jarsigner.Main.usage:()V
171: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.protectedPath:Z
ifeq 177
172: aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnonnull 173
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnull 177
173: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
174: ldc "If.protected.is.specified.then.storepass.and.keypass.must.not.be.specified"
175: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
176: invokestatic sun.security.tools.jarsigner.Main.usage:()V
177: 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 183
178: aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnonnull 179
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnull 183
179: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
180: ldc "If.keystore.is.not.password.protected.then.storepass.and.keypass.must.not.be.specified"
181: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
182: invokestatic sun.security.tools.jarsigner.Main.usage:()V
183: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 184 0 this Lsun/security/tools/jarsigner/Main;
0 184 1 args [Ljava/lang/String;
1 184 2 n I
4 128 3 flags Ljava/lang/String;
5 128 4 modifier Ljava/lang/String;
7 10 5 pos I
Exception table:
from to target type
143 148 149 Class java.io.IOException
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 ".providerClass.class.name.of.cryptographic.service.provider.s"
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.arg.master.class.file.and.constructor.argument"
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 ".strict.treat.warnings.as.errors"
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;
invokevirtual java.io.PrintStream.println:()V
109: iconst_0
invokestatic java.lang.System.exit:(I)V
110: 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 167
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 166
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: iload 20
iconst_2
iand
ifeq 87
iconst_1
goto 88
StackMap locals: int
StackMap stack:
87: iconst_0
StackMap locals:
StackMap stack: int
88: istore 22
start local 22 89: aload 0
dup
getfield sun.security.tools.jarsigner.Main.notSignedByAlias:Z
iload 20
iconst_4
iand
ifeq 90
iconst_1
goto 91
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 int
StackMap stack: sun.security.tools.jarsigner.Main int
90: 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 int
StackMap stack: sun.security.tools.jarsigner.Main int int
91: ior
putfield sun.security.tools.jarsigner.Main.notSignedByAlias:Z
92: aload 0
getfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
ifnull 96
93: aload 0
dup
getfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
iload 19
ifeq 94
iload 21
ifne 94
iload 22
ifne 94
iconst_1
goto 95
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 int
StackMap stack: sun.security.tools.jarsigner.Main int
94: 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 int
StackMap stack: sun.security.tools.jarsigner.Main int int
95: ior
putfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
96: StackMap locals:
StackMap stack:
aconst_null
astore 23
start local 23 97: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 125
98: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 23
99: aload 11
aload 17
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnonnull 103
100: 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 103
101: 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 103
102: iconst_0
goto 104
StackMap locals: java.lang.StringBuffer
StackMap stack:
103: iconst_1
StackMap locals:
StackMap stack: int
104: istore 24
start local 24 105: aload 23
106: new java.lang.StringBuilder
dup
iload 19
ifeq 107
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "s"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
goto 108
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 int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer new 106 new 106
107: 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 int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer new 106 new 106 java.lang.String
108: invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
109: iload 24
ifeq 110
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "m"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
goto 111
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 int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer java.lang.StringBuilder
110: 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 int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer java.lang.StringBuilder java.lang.String
111: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
112: iload 21
ifeq 113
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "k"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
goto 114
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 int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer java.lang.StringBuilder
113: 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 int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer java.lang.StringBuilder java.lang.String
114: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
115: iload 22
ifeq 116
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "i"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
goto 117
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 int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer java.lang.StringBuilder
116: 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 int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer java.lang.StringBuilder java.lang.String
117: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
118: iload 20
iconst_4
iand
ifeq 119
ldc "X"
goto 120
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 int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer java.lang.StringBuilder
119: ldc " "
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 int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer java.lang.StringBuilder java.lang.String
120: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
121: 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.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
122: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
123: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
124: aload 23
ldc "|"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 24 125: StackMap locals:
StackMap stack:
iload 19
ifeq 136
126: aload 0
getfield sun.security.tools.jarsigner.Main.showcerts:Z
ifeq 127
aload 23
bipush 10
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
127: StackMap locals:
StackMap stack:
aload 18
dup
astore 27
arraylength
istore 26
iconst_0
istore 25
goto 134
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 int java.lang.StringBuffer top int int java.security.CodeSigner[]
StackMap stack:
128: aload 27
iload 25
aaload
astore 24
start local 24 129: aload 0
aload 24
aload 15
invokevirtual sun.security.tools.jarsigner.Main.signerInfo:(Ljava/security/CodeSigner;Ljava/lang/String;)Ljava/lang/String;
astore 28
start local 28 130: aload 0
getfield sun.security.tools.jarsigner.Main.showcerts:Z
ifeq 133
131: aload 23
aload 28
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
132: aload 23
bipush 10
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 28 end local 24 133: StackMap locals:
StackMap stack:
iinc 25 1
StackMap locals:
StackMap stack:
134: iload 25
iload 26
if_icmplt 128
135: goto 149
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 int java.lang.StringBuffer
StackMap stack:
136: aload 0
getfield sun.security.tools.jarsigner.Main.showcerts:Z
ifeq 149
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ldc "all"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 149
137: aload 0
aload 17
invokevirtual sun.security.tools.jarsigner.Main.signatureRelated:(Ljava/lang/String;)Z
ifeq 144
138: aload 23
new java.lang.StringBuilder
dup
ldc "\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
139: ldc ".Signature.related.entries."
140: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
141: ldc "\n\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
142: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
143: goto 149
144: StackMap locals:
StackMap stack:
aload 23
new java.lang.StringBuilder
dup
ldc "\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
145: ldc ".Unsigned.entries."
146: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
147: ldc "\n\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
148: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
149: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 166
150: aload 23
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
astore 24
start local 24 151: aload 0
aload 17
invokevirtual sun.security.tools.jarsigner.Main.signatureRelated:(Ljava/lang/String;)Z
ifeq 153
152: new java.lang.StringBuilder
dup
ldc "-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 24
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 24
153: StackMap locals: java.lang.String
StackMap stack:
aload 13
aload 24
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 155
154: aload 13
aload 24
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
155: StackMap locals:
StackMap stack:
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 25
start local 25 156: aload 16
invokevirtual java.util.jar.JarEntry.getSize:()J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
astore 26
start local 26 157: bipush 6
aload 26
invokevirtual java.lang.String.length:()I
isub
istore 27
start local 27 158: goto 161
159: StackMap locals: java.lang.StringBuffer java.lang.String int
StackMap stack:
aload 25
bipush 32
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
160: iinc 27 -1
StackMap locals:
StackMap stack:
161: iload 27
ifgt 159
end local 27 162: aload 25
aload 26
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
bipush 32
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
163: 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.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
164: aload 25
bipush 32
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
aload 17
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
165: aload 13
aload 24
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
aload 25
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 26 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 166: 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 167: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 219
168: aload 13
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 201
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:
169: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 14
start local 14 170: aload 14
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 16
start local 16 171: aload 14
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 17
start local 17 172: aload 17
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpne 174
173: aload 17
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 17
174: 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 175: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ldc "all"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 182
176: aload 16
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 20
goto 180
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:
177: aload 20
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 19
start local 19 178: 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
179: 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 180: StackMap locals:
StackMap stack:
aload 20
invokeinterface java.util.Iterator.hasNext:()Z
ifne 177
181: goto 201
182: 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 188
183: aload 16
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 20
goto 186
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:
184: aload 20
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 19
start local 19 185: 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 186: StackMap locals:
StackMap stack:
aload 20
invokeinterface java.util.Iterator.hasNext:()Z
ifne 184
187: goto 200
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:
188: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ldc "summary"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 200
189: 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
190: aload 16
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 199
191: 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;
192: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
193: ldc ".and.d.more."
194: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
195: aload 16
invokeinterface java.util.List.size:()I
iconst_1
isub
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
196: 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;
197: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
198: goto 200
199: 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
200: 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 201: 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 169
202: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
203: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
204: ldc ".s.signature.was.verified."
205: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
206: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
207: ldc ".m.entry.is.listed.in.manifest"
208: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
209: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
210: ldc ".k.at.least.one.certificate.was.found.in.keystore"
211: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
212: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
213: ldc ".i.at.least.one.certificate.was.found.in.identity.scope"
214: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
215: aload 0
getfield sun.security.tools.jarsigner.Main.ckaliases:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifle 219
216: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
217: ldc ".X.not.signed.by.specified.alias.es."
218: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
219: 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 222
220: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
221: 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
222: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Map.isEmpty:()Z
ifeq 225
223: aload 5
invokeinterface java.util.Map.isEmpty:()Z
ifeq 225
224: aload 7
invokeinterface java.util.Map.isEmpty:()Z
ifne 296
225: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 227
226: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
227: 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 233
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:
228: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 14
start local 14 229: aload 4
aload 14
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 233
230: aload 7
aload 14
231: 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
232: 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 233: StackMap locals:
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 228
234: aload 4
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 290
StackMap locals:
StackMap stack:
235: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 14
start local 14 236: 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 237: aload 16
ifnull 287
238: aload 16
invokevirtual sun.security.pkcs.PKCS7.getSignerInfos:()[Lsun/security/pkcs/SignerInfo;
iconst_0
aaload
astore 18
start local 18 239: aload 18
aload 16
invokevirtual sun.security.pkcs.SignerInfo.getCertificate:(Lsun/security/pkcs/PKCS7;)Ljava/security/cert/X509Certificate;
astore 19
start local 19 240: aload 4
aload 14
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 20
start local 20 241: aload 18
invokevirtual sun.security.pkcs.SignerInfo.getDigestAlgorithmId:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
242: aload 18
invokevirtual sun.security.pkcs.SignerInfo.getDigestEncryptionAlgorithmId:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
243: invokestatic sun.security.x509.AlgorithmId.makeSigAlg:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 21
start local 21 244: aload 19
invokevirtual java.security.cert.X509Certificate.getPublicKey:()Ljava/security/PublicKey;
astore 22
start local 22 245: aload 18
invokevirtual sun.security.pkcs.SignerInfo.getTsToken:()Lsun/security/pkcs/PKCS7;
astore 23
start local 23 246: aload 23
ifnull 273
247: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.hasTimestampBlock:Z
248: aload 23
invokevirtual sun.security.pkcs.PKCS7.getSignerInfos:()[Lsun/security/pkcs/SignerInfo;
iconst_0
aaload
astore 24
start local 24 249: aload 24
aload 23
invokevirtual sun.security.pkcs.SignerInfo.getCertificate:(Lsun/security/pkcs/PKCS7;)Ljava/security/cert/X509Certificate;
astore 25
start local 25 250: aload 23
invokevirtual sun.security.pkcs.PKCS7.getContentInfo:()Lsun/security/pkcs/ContentInfo;
invokevirtual sun.security.pkcs.ContentInfo.getData:()[B
astore 26
start local 26 251: new sun.security.timestamp.TimestampToken
dup
aload 26
invokespecial sun.security.timestamp.TimestampToken.<init>:([B)V
astore 27
start local 27 252: aload 25
invokevirtual java.security.cert.X509Certificate.getPublicKey:()Ljava/security/PublicKey;
astore 28
start local 28 253: 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 254: aload 24
invokevirtual sun.security.pkcs.SignerInfo.getDigestAlgorithmId:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
255: aload 24
invokevirtual sun.security.pkcs.SignerInfo.getDigestEncryptionAlgorithmId:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
256: invokestatic sun.security.x509.AlgorithmId.makeSigAlg:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 30
start local 30 257: ldc "UTC"
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
258: getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
259: invokestatic java.util.Calendar.getInstance:(Ljava/util/TimeZone;Ljava/util/Locale;)Ljava/util/Calendar;
astore 31
start local 31 260: aload 31
aload 27
invokevirtual sun.security.timestamp.TimestampToken.getDate:()Ljava/util/Date;
invokevirtual java.util.Calendar.setTime:(Ljava/util/Date;)V
261: 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
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
dup
iconst_4
266: aload 31
aastore
dup
iconst_5
267: aload 25
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
aastore
dup
bipush 6
268: 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
269: 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
270: aload 0
aload 28
invokevirtual sun.security.tools.jarsigner.Main.withWeak:(Ljava/security/PublicKey;)Ljava/lang/String;
aastore
271: 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 272: goto 284
end local 17 273: 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
274: aload 19
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
aastore
dup
iconst_1
275: 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
276: 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
277: aload 0
aload 22
invokevirtual sun.security.tools.jarsigner.Main.withWeak:(Ljava/security/PublicKey;)Ljava/lang/String;
aastore
278: 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 279: goto 284
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
280: pop
281: 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
282: aload 6
aload 14
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
283: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 17
start local 17 284: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 290
285: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 17
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 17 286: goto 290
287: StackMap locals:
StackMap stack:
aload 7
aload 14
288: 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
289: 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 290: 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 235
291: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 296
292: aload 7
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 295
StackMap locals:
StackMap stack:
293: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 14
start local 14 294: 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 295: StackMap locals:
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 293
296: 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
297: aload 0
getfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
ifne 299
aload 0
getfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
ifnull 299
298: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
299: StackMap locals:
StackMap stack:
iload 2
ifne 314
300: aload 0
getfield sun.security.tools.jarsigner.Main.seeWeak:Z
ifeq 309
301: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 307
302: 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
303: 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
304: 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;
305: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
306: goto 315
307: 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
308: goto 315
StackMap locals:
StackMap stack:
309: iload 12
ifeq 312
310: 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
311: goto 315
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.is.unsigned"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
313: goto 315
314: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual sun.security.tools.jarsigner.Main.displayMessagesAndResult:(Z)V
315: StackMap locals:
StackMap stack:
aload 3
ifnull 317
316: aload 3
invokevirtual java.util.jar.JarFile.close:()V
317: StackMap locals:
StackMap stack:
return
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 318: 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 319: 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
320: aload 0
getfield sun.security.tools.jarsigner.Main.debug:Z
ifeq 322
321: aload 8
invokevirtual java.lang.Exception.printStackTrace:()V
end local 8 322: StackMap locals:
StackMap stack:
aload 3
ifnull 328
323: aload 3
invokevirtual java.util.jar.JarFile.close:()V
goto 328
324: StackMap locals:
StackMap stack: java.lang.Throwable
astore 32
325: aload 3
ifnull 327
326: aload 3
invokevirtual java.util.jar.JarFile.close:()V
327: 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
328: 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
329: 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 330 0 this Lsun/security/tools/jarsigner/Main;
0 330 1 jarName Ljava/lang/String;
1 330 2 anySigned Z
2 330 3 jf Ljava/util/jar/JarFile;
3 330 4 digestMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
4 330 5 sigMap Ljava/util/Map<Ljava/lang/String;Lsun/security/pkcs/PKCS7;>;
5 330 6 sigNameMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
6 330 7 unparsableSignatures Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
8 318 8 entriesVec Ljava/util/Vector<Ljava/util/jar/JarEntry;>;
9 318 9 buffer [B
10 318 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 318 11 man Ljava/util/jar/Manifest;
59 318 12 hasSignature Z
60 318 13 output Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
63 167 14 e Ljava/util/Enumeration<Ljava/util/jar/JarEntry;>;
64 167 15 tab Ljava/lang/String;
66 166 16 je Ljava/util/jar/JarEntry;
67 166 17 name Ljava/lang/String;
73 166 18 signers [Ljava/security/CodeSigner;
76 166 19 isSigned Z
83 166 20 inStoreOrScope I
86 166 21 inStore Z
89 166 22 inScope Z
97 166 23 sb Ljava/lang/StringBuffer;
105 125 24 inManifest Z
129 133 24 signer Ljava/security/CodeSigner;
130 133 28 si Ljava/lang/String;
151 166 24 label Ljava/lang/String;
156 166 25 fb Ljava/lang/StringBuffer;
157 166 26 s Ljava/lang/String;
158 162 27 i I
170 201 14 s Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
171 201 16 files Ljava/util/List<Ljava/lang/String;>;
172 201 17 key Ljava/lang/String;
175 201 18 pipe I
178 180 19 f Ljava/lang/String;
185 186 19 f Ljava/lang/String;
229 233 14 s Ljava/lang/String;
236 290 14 s Ljava/lang/String;
237 290 16 p7 Lsun/security/pkcs/PKCS7;
272 273 17 history Ljava/lang/String;
279 280 17 history Ljava/lang/String;
284 286 17 history Ljava/lang/String;
239 279 18 si Lsun/security/pkcs/SignerInfo;
240 279 19 signer Ljava/security/cert/X509Certificate;
241 279 20 digestAlg Ljava/lang/String;
244 279 21 sigAlg Ljava/lang/String;
245 279 22 key Ljava/security/PublicKey;
246 279 23 tsToken Lsun/security/pkcs/PKCS7;
249 272 24 tsSi Lsun/security/pkcs/SignerInfo;
250 272 25 tsSigner Ljava/security/cert/X509Certificate;
251 272 26 encTsTokenInfo [B
252 272 27 tsTokenInfo Lsun/security/timestamp/TimestampToken;
253 272 28 tsKey Ljava/security/PublicKey;
254 272 29 tsDigestAlg Ljava/lang/String;
257 272 30 tsSigAlg Ljava/lang/String;
260 272 31 c Ljava/util/Calendar;
294 295 14 s Ljava/lang/String;
319 322 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
238 279 280 Class java.lang.Exception
6 315 318 Class java.lang.Exception
6 315 324 any
318 322 324 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
jarName
private void displayMessagesAndResult(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 3: aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
ifnull 6
4: aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
invokevirtual java.util.Date.after:(Ljava/util/Date;)Z
ifne 6
5: iconst_0
goto 7
StackMap locals: sun.security.tools.jarsigner.Main int top java.util.List java.util.List java.util.List
StackMap stack:
6: iconst_1
StackMap locals:
StackMap stack: int
7: istore 6
start local 6 8: aload 0
getfield sun.security.tools.jarsigner.Main.badKeyUsage:Z
ifne 14
aload 0
getfield sun.security.tools.jarsigner.Main.badExtendedKeyUsage:Z
ifne 14
aload 0
getfield sun.security.tools.jarsigner.Main.badNetscapeCertType:Z
ifne 14
9: aload 0
getfield sun.security.tools.jarsigner.Main.notYetValidCert:Z
ifne 14
aload 0
getfield sun.security.tools.jarsigner.Main.chainNotValidated:Z
ifne 14
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
ifne 14
10: aload 0
getfield sun.security.tools.jarsigner.Main.hasUnsignedEntry:Z
ifne 14
aload 0
getfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
ifne 14
aload 0
getfield sun.security.tools.jarsigner.Main.weakAlg:I
ifne 14
11: aload 0
getfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
ifne 14
aload 0
getfield sun.security.tools.jarsigner.Main.notSignedByAlias:Z
ifne 14
12: aload 0
getfield sun.security.tools.jarsigner.Main.tsaChainNotValidated:Z
ifne 14
13: aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredTsaCert:Z
ifeq 101
iload 6
ifne 101
14: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.strict:Z
ifeq 20
15: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
iload 1
ifeq 17
16: ldc "jar.signed.with.signer.errors."
goto 18
17: StackMap locals:
StackMap stack: java.util.ResourceBundle
ldc "jar.verified.with.signer.errors."
18: StackMap locals: sun.security.tools.jarsigner.Main int top java.util.List java.util.List java.util.List int
StackMap stack: java.util.ResourceBundle java.lang.String
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 19: goto 24
end local 2 20: StackMap locals:
StackMap stack:
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
iload 1
ifeq 22
21: ldc "jar.signed."
goto 23
22: StackMap locals:
StackMap stack: java.util.ResourceBundle
ldc "jar.verified."
23: StackMap locals: sun.security.tools.jarsigner.Main int top java.util.List java.util.List java.util.List int
StackMap stack: java.util.ResourceBundle java.lang.String
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 24: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.badKeyUsage:Z
ifeq 29
25: aload 3
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
iload 1
ifeq 27
26: ldc "The.signer.certificate.s.KeyUsage.extension.doesn.t.allow.code.signing."
goto 28
27: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle
ldc "This.jar.contains.entries.whose.signer.certificate.s.KeyUsage.extension.doesn.t.allow.code.signing."
28: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle java.lang.String
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
29: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.badExtendedKeyUsage:Z
ifeq 34
30: aload 3
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
iload 1
ifeq 32
31: ldc "The.signer.certificate.s.ExtendedKeyUsage.extension.doesn.t.allow.code.signing."
goto 33
32: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle
ldc "This.jar.contains.entries.whose.signer.certificate.s.ExtendedKeyUsage.extension.doesn.t.allow.code.signing."
33: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle java.lang.String
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
34: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.badNetscapeCertType:Z
ifeq 39
35: aload 3
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
iload 1
ifeq 37
36: ldc "The.signer.certificate.s.NetscapeCertType.extension.doesn.t.allow.code.signing."
goto 38
37: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle
ldc "This.jar.contains.entries.whose.signer.certificate.s.NetscapeCertType.extension.doesn.t.allow.code.signing."
38: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle java.lang.String
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
39: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasUnsignedEntry:Z
ifeq 43
40: aload 3
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
41: ldc "This.jar.contains.unsigned.entries.which.have.not.been.integrity.checked."
42: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
43: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
ifeq 48
44: aload 3
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
iload 1
ifeq 46
45: ldc "The.signer.certificate.has.expired."
goto 47
46: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle
ldc "This.jar.contains.entries.whose.signer.certificate.has.expired."
47: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle java.lang.String
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
48: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.notYetValidCert:Z
ifeq 53
49: aload 3
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
iload 1
ifeq 51
50: ldc "The.signer.certificate.is.not.yet.valid."
goto 52
51: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle
ldc "This.jar.contains.entries.whose.signer.certificate.is.not.yet.valid."
52: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle java.lang.String
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
53: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.chainNotValidated:Z
ifeq 60
54: aload 3
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
iload 1
ifeq 56
55: ldc "The.signer.s.certificate.chain.is.invalid.reason.1"
goto 57
56: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle
ldc "This.jar.contains.entries.whose.certificate.chain.is.invalid.reason.1"
57: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle java.lang.String
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
58: aload 0
getfield sun.security.tools.jarsigner.Main.chainNotValidatedReason:Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.getLocalizedMessage:()Ljava/lang/String;
aastore
59: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
60: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredTsaCert:Z
ifeq 62
61: aload 3
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "The.timestamp.has.expired."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
62: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.tsaChainNotValidated:Z
ifeq 69
63: aload 3
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
iload 1
ifeq 65
64: ldc "The.tsa.certificate.chain.is.invalid.reason.1"
goto 66
65: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle
ldc "This.jar.contains.entries.whose.tsa.certificate.chain.is.invalid.reason.1"
66: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle java.lang.String
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
67: aload 0
getfield sun.security.tools.jarsigner.Main.tsaChainNotValidatedReason:Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.getLocalizedMessage:()Ljava/lang/String;
aastore
68: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
69: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.notSignedByAlias:Z
ifeq 73
70: aload 3
71: 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;
72: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
73: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
ifeq 75
74: aload 3
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;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
75: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
ifeq 80
76: aload 3
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
iload 1
ifeq 78
77: ldc "The.signer.s.certificate.is.self.signed."
goto 79
78: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle
ldc "This.jar.contains.entries.whose.signer.certificate.is.self.signed."
79: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle java.lang.String
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
80: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.weakAlg:I
iconst_1
iand
iconst_1
if_icmpne 85
81: aload 3
82: 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
83: aload 0
getfield sun.security.tools.jarsigner.Main.digestalg:Ljava/lang/String;
aastore
dup
iconst_1
ldc "-digestalg"
aastore
84: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
85: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.weakAlg:I
iconst_2
iand
iconst_2
if_icmpne 90
86: aload 3
87: 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
88: aload 0
getfield sun.security.tools.jarsigner.Main.sigalg:Ljava/lang/String;
aastore
dup
iconst_1
ldc "-sigalg"
aastore
89: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
90: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.weakAlg:I
iconst_4
iand
iconst_4
if_icmpne 95
91: aload 3
92: 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
93: aload 0
getfield sun.security.tools.jarsigner.Main.tSADigestAlg:Ljava/lang/String;
aastore
dup
iconst_1
ldc "-tsadigestalg"
aastore
94: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
95: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.weakAlg:I
bipush 8
iand
bipush 8
if_icmpne 104
96: aload 3
97: 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
98: 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
99: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
100: goto 104
end local 2 101: StackMap locals: sun.security.tools.jarsigner.Main int top java.util.List java.util.List java.util.List int
StackMap stack:
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
iload 1
ifeq 102
ldc "jar.signed."
goto 103
StackMap locals:
StackMap stack: java.util.ResourceBundle
102: ldc "jar.verified."
StackMap locals: sun.security.tools.jarsigner.Main int top java.util.List java.util.List java.util.List int
StackMap stack: java.util.ResourceBundle java.lang.String
103: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 104: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredTsaCert:Z
ifeq 106
105: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.hasExpiringTsaCert:Z
106: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiringCert:Z
ifne 110
107: aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiringTsaCert:Z
ifeq 108
aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
ifnonnull 110
108: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.noTimestamp:Z
ifeq 109
aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
ifnonnull 110
109: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredTsaCert:Z
ifeq 151
iload 6
ifeq 151
110: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredTsaCert:Z
ifeq 118
iload 6
ifeq 118
111: aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
ifnull 117
112: aload 4
113: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "The.timestamp.expired.1.but.usable.2"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
114: aload 0
getfield sun.security.tools.jarsigner.Main.tsaExpireDate:Ljava/util/Date;
aastore
dup
iconst_1
115: aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
aastore
116: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
117: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.hasExpiredTsaCert:Z
118: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiringCert:Z
ifeq 123
119: aload 4
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
iload 1
ifeq 121
120: ldc "The.signer.certificate.will.expire.within.six.months."
goto 122
121: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle
ldc "This.jar.contains.entries.whose.signer.certificate.will.expire.within.six.months."
122: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle java.lang.String
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
123: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiringTsaCert:Z
ifeq 136
aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
ifnull 136
124: aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
aload 0
getfield sun.security.tools.jarsigner.Main.tsaExpireDate:Ljava/util/Date;
invokevirtual java.util.Date.after:(Ljava/util/Date;)Z
ifeq 131
125: aload 4
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
126: ldc "The.timestamp.will.expire.within.one.year.on.1.but.2"
127: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
128: aload 0
getfield sun.security.tools.jarsigner.Main.tsaExpireDate:Ljava/util/Date;
aastore
dup
iconst_1
aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
aastore
129: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
130: goto 136
131: StackMap locals:
StackMap stack:
aload 4
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
132: ldc "The.timestamp.will.expire.within.one.year.on.1"
133: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
134: aload 0
getfield sun.security.tools.jarsigner.Main.tsaExpireDate:Ljava/util/Date;
aastore
135: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
136: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.noTimestamp:Z
ifeq 151
aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
ifnull 151
137: aload 0
getfield sun.security.tools.jarsigner.Main.hasTimestampBlock:Z
ifeq 145
138: aload 4
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
iload 1
ifeq 140
139: ldc "invalid.timestamp.signing"
goto 141
140: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle
ldc "bad.timestamp.verifying"
141: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle java.lang.String
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
142: aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
aastore
143: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
144: goto 151
145: StackMap locals:
StackMap stack:
aload 4
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
iload 1
ifeq 147
146: ldc "no.timestamp.signing"
goto 148
147: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle
ldc "no.timestamp.verifying"
148: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack: java.util.List java.util.ResourceBundle java.lang.String
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
149: aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
aastore
150: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
151: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 2
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
152: aload 0
getfield sun.security.tools.jarsigner.Main.strict:Z
ifeq 162
153: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifne 157
154: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
155: 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
156: aload 3
getstatic java.lang.System.out:Ljava/io/PrintStream;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/io/PrintStream;)Ljava/util/function/Consumer;
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;)V
java/io/PrintStream.println(Ljava/lang/String;)V (5)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
157: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 167
158: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
159: 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
160: aload 4
getstatic java.lang.System.out:Ljava/io/PrintStream;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/io/PrintStream;)Ljava/util/function/Consumer;
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;)V
java/io/PrintStream.println(Ljava/lang/String;)V (5)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
161: goto 167
162: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 163
aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 167
163: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
164: 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
165: aload 3
getstatic java.lang.System.out:Ljava/io/PrintStream;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/io/PrintStream;)Ljava/util/function/Consumer;
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;)V
java/io/PrintStream.println(Ljava/lang/String;)V (5)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
166: aload 4
getstatic java.lang.System.out:Ljava/io/PrintStream;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/io/PrintStream;)Ljava/util/function/Consumer;
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;)V
java/io/PrintStream.println(Ljava/lang/String;)V (5)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
167: StackMap locals:
StackMap stack:
iload 1
ifne 173
aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 168
aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 173
168: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 169
aload 0
getfield sun.security.tools.jarsigner.Main.showcerts:Z
ifne 173
169: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
170: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
171: ldc "Re.run.with.the.verbose.and.certs.options.for.more.details."
172: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
173: StackMap locals:
StackMap stack:
iload 1
ifne 174
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 196
174: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiringCert:Z
ifne 181
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
ifne 181
175: aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
ifnull 181
iload 6
ifeq 181
176: aload 5
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
177: ldc "The.signer.certificate.will.expire.on.1."
178: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
179: aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
aastore
180: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
181: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.noTimestamp:Z
ifne 196
182: aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiringTsaCert:Z
ifne 196
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredTsaCert:Z
ifne 196
aload 0
getfield sun.security.tools.jarsigner.Main.tsaExpireDate:Ljava/util/Date;
ifnull 196
183: iload 6
ifeq 190
184: aload 5
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
185: ldc "The.timestamp.will.expire.on.1."
186: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
187: aload 0
getfield sun.security.tools.jarsigner.Main.tsaExpireDate:Ljava/util/Date;
aastore
188: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
189: goto 196
190: StackMap locals:
StackMap stack:
aload 5
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
191: ldc "signer.cert.expired.1.but.timestamp.good.2."
192: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
193: aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
aastore
dup
iconst_1
194: aload 0
getfield sun.security.tools.jarsigner.Main.tsaExpireDate:Ljava/util/Date;
aastore
195: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
196: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.isEmpty:()Z
ifne 199
197: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
198: aload 5
getstatic java.lang.System.out:Ljava/io/PrintStream;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/io/PrintStream;)Ljava/util/function/Consumer;
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;)V
java/io/PrintStream.println(Ljava/lang/String;)V (5)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
199: StackMap locals:
StackMap stack:
return
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 200 0 this Lsun/security/tools/jarsigner/Main;
0 200 1 isSigning Z
19 20 2 result Ljava/lang/String;
24 101 2 result Ljava/lang/String;
104 200 2 result Ljava/lang/String;
1 200 3 errors Ljava/util/List<Ljava/lang/String;>;
2 200 4 warnings Ljava/util/List<Ljava/lang/String;>;
3 200 5 info Ljava/util/List<Ljava/lang/String;>;
8 200 6 signerNotExpired Z
MethodParameters:
Name Flags
isSigning
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(boolean, java.lang.String, java.security.cert.Certificate, java.util.Date, boolean);
descriptor: (ZLjava/lang/String;Ljava/security/cert/Certificate;Ljava/util/Date;Z)Ljava/lang/String;
flags: (0x0000)
Code:
stack=6, locals=15, 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 3
instanceof java.security.cert.X509Certificate
ifeq 9
4: aload 3
checkcast java.security.cert.X509Certificate
astore 8
5: aload 6
aload 2
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 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
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 3
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:
aload 8
ifnull 93
14: aload 6
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
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 0
getfield sun.security.tools.jarsigner.Main.trustedCerts:Ljava/util/Set;
aload 8
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 18
16: aload 6
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "trusted.certificate"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: goto 73
18: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.security.cert.X509Certificate.getNotAfter:()Ljava/util/Date;
astore 10
start local 10 19: iconst_1
istore 11
start local 11 20: iload 1
ifeq 24
21: aload 0
getfield sun.security.tools.jarsigner.Main.tsaExpireDate:Ljava/util/Date;
ifnull 22
aload 0
getfield sun.security.tools.jarsigner.Main.tsaExpireDate:Ljava/util/Date;
aload 10
invokevirtual java.util.Date.after:(Ljava/util/Date;)Z
ifeq 26
22: StackMap locals: java.util.Date int
StackMap stack:
aload 0
aload 10
putfield sun.security.tools.jarsigner.Main.tsaExpireDate:Ljava/util/Date;
23: goto 26
24: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
ifnull 25
aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
aload 10
invokevirtual java.util.Date.after:(Ljava/util/Date;)Z
ifeq 26
25: StackMap locals:
StackMap stack:
aload 0
aload 10
putfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
26: StackMap locals:
StackMap stack:
aload 4
ifnonnull 44
27: aload 8
invokevirtual java.security.cert.X509Certificate.checkValidity:()V
28: iload 1
ifeq 29
ldc 31622400000
goto 30
StackMap locals:
StackMap stack:
29: ldc 15552000000
StackMap locals:
StackMap stack: long
30: lstore 12
start local 12 31: aload 10
invokevirtual java.util.Date.getTime:()J
invokestatic java.lang.System.currentTimeMillis:()J
lload 12
ladd
lcmp
ifge 45
32: iload 1
ifeq 35
33: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.hasExpiringTsaCert:Z
34: goto 36
35: StackMap locals: long
StackMap stack:
aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.hasExpiringCert:Z
36: StackMap locals:
StackMap stack:
getstatic sun.security.tools.jarsigner.Main.expiringTimeForm:Ljava/text/MessageFormat;
ifnonnull 40
37: new java.text.MessageFormat
dup
38: 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;
39: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
putstatic sun.security.tools.jarsigner.Main.expiringTimeForm:Ljava/text/MessageFormat;
40: StackMap locals:
StackMap stack:
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 10
aastore
astore 14
start local 14 41: aload 6
getstatic sun.security.tools.jarsigner.Main.expiringTimeForm:Ljava/text/MessageFormat;
aload 14
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
42: iconst_0
istore 11
end local 14 end local 12 43: goto 45
44: StackMap locals:
StackMap stack:
aload 8
aload 4
invokevirtual java.security.cert.X509Certificate.checkValidity:(Ljava/util/Date;)V
45: StackMap locals:
StackMap stack:
iload 11
ifeq 73
46: getstatic sun.security.tools.jarsigner.Main.validityTimeForm:Ljava/text/MessageFormat;
ifnonnull 50
47: new java.text.MessageFormat
dup
48: 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;
49: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
putstatic sun.security.tools.jarsigner.Main.validityTimeForm:Ljava/text/MessageFormat;
50: 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 51: 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 52: goto 73
StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.security.cert.Certificate 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
53: pop
54: iload 1
ifeq 57
55: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.hasExpiredTsaCert:Z
56: goto 58
57: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
58: StackMap locals:
StackMap stack:
getstatic sun.security.tools.jarsigner.Main.expiredTimeForm:Ljava/text/MessageFormat;
ifnonnull 62
59: new java.text.MessageFormat
dup
60: 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;
61: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
putstatic sun.security.tools.jarsigner.Main.expiredTimeForm:Ljava/text/MessageFormat;
62: StackMap locals:
StackMap stack:
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 10
aastore
astore 11
start local 11 63: 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 64: goto 73
65: StackMap locals:
StackMap stack: java.security.cert.CertificateNotYetValidException
pop
66: iload 1
ifne 67
aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.notYetValidCert:Z
67: StackMap locals:
StackMap stack:
getstatic sun.security.tools.jarsigner.Main.notYetTimeForm:Ljava/text/MessageFormat;
ifnonnull 71
68: new java.text.MessageFormat
dup
69: 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;
70: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
putstatic sun.security.tools.jarsigner.Main.notYetTimeForm:Ljava/text/MessageFormat;
71: 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 72: 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 end local 10 73: StackMap locals:
StackMap stack:
aload 6
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
74: iload 5
ifeq 93
75: iconst_3
newarray 4
astore 10
start local 10 76: aload 0
aload 8
aload 10
invokevirtual sun.security.tools.jarsigner.Main.checkCertUsage:(Ljava/security/cert/X509Certificate;[Z)V
77: aload 10
iconst_0
baload
ifne 78
aload 10
iconst_1
baload
ifne 78
aload 10
iconst_2
baload
ifeq 93
78: StackMap locals: boolean[]
StackMap stack:
ldc ""
astore 11
start local 11 79: aload 10
iconst_0
baload
ifeq 81
80: ldc "KeyUsage"
astore 11
81: StackMap locals: java.lang.String
StackMap stack:
aload 10
iconst_1
baload
ifeq 84
82: aload 11
invokevirtual java.lang.String.length:()I
ifle 83
new java.lang.StringBuilder
dup
aload 11
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 11
83: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 11
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 11
84: StackMap locals:
StackMap stack:
aload 10
iconst_2
baload
ifeq 87
85: aload 11
invokevirtual java.lang.String.length:()I
ifle 86
new java.lang.StringBuilder
dup
aload 11
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 11
86: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 11
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 11
87: StackMap locals:
StackMap stack:
aload 6
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
88: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
89: ldc ".{0}.extension.does.not.support.code.signing."
90: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
91: aload 11
aastore
92: 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 11 end local 10 93: 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 94 0 this Lsun/security/tools/jarsigner/Main;
0 94 1 isTsCert Z
0 94 2 tab Ljava/lang/String;
0 94 3 c Ljava/security/cert/Certificate;
0 94 4 timestamp Ljava/util/Date;
0 94 5 checkUsage Z
1 94 6 certStr Ljava/lang/StringBuilder;
2 94 7 space Ljava/lang/String;
3 94 8 x509Cert Ljava/security/cert/X509Certificate;
11 94 9 alias Ljava/lang/String;
19 73 10 notAfter Ljava/util/Date;
20 52 11 printValidity Z
31 43 12 age J
41 43 14 source [Ljava/lang/Object;
51 52 12 source [Ljava/lang/Object;
63 64 11 source [Ljava/lang/Object;
72 73 11 source [Ljava/lang/Object;
76 93 10 bad [Z
79 93 11 x Ljava/lang/String;
Exception table:
from to target type
19 52 53 Class java.security.cert.CertificateExpiredException
19 52 65 Class java.security.cert.CertificateNotYetValidException
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
isTsCert
tab
c
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 25
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 16
8: aload 6
ldc "("
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
9: iload 2
iconst_1
ior
istore 2
10: goto 13
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:
11: aload 6
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
12: iload 2
iconst_2
ior
istore 2
13: StackMap locals:
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 25
14: iload 2
bipush 8
ior
istore 2
15: goto 25
16: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
ifnull 23
17: 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
18: goto 20
StackMap locals:
StackMap stack: java.security.KeyStoreException
19: pop
20: StackMap locals:
StackMap stack:
aload 6
ifnull 23
21: 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
22: iload 2
iconst_1
ior
istore 2
23: 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 25
24: iload 2
bipush 8
ior
istore 2
end local 6 end local 4 25: 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
26: 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
27: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/security/tools/jarsigner/Main;
0 28 1 signer Ljava/security/CodeSigner;
3 28 2 result I
4 28 3 certs Ljava/util/List<+Ljava/security/cert/Certificate;>;
6 25 4 c Ljava/security/cert/Certificate;
7 25 6 alias Ljava/lang/String;
Exception table:
from to target type
17 18 19 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, java.lang.String[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=12, locals=36, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new sun.security.util.DisabledAlgorithmConstraints
dup
1: ldc "jdk.certpath.disabledAlgorithms"
2: invokespecial sun.security.util.DisabledAlgorithmConstraints.<init>:(Ljava/lang/String;)V
3: astore 4
start local 4 4: aload 0
getfield sun.security.tools.jarsigner.Main.digestalg:Ljava/lang/String;
ifnull 9
aload 4
5: getstatic java.security.CryptoPrimitive.MESSAGE_DIGEST:Ljava/security/CryptoPrimitive;
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
aload 0
getfield sun.security.tools.jarsigner.Main.digestalg:Ljava/lang/String;
aconst_null
6: invokevirtual sun.security.util.DisabledAlgorithmConstraints.permits:(Ljava/util/Set;Ljava/lang/String;Ljava/security/AlgorithmParameters;)Z
7: ifne 9
8: aload 0
dup
getfield sun.security.tools.jarsigner.Main.weakAlg:I
iconst_1
ior
putfield sun.security.tools.jarsigner.Main.weakAlg:I
9: StackMap locals: sun.security.util.DisabledAlgorithmConstraints
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.tSADigestAlg:Ljava/lang/String;
ifnull 14
aload 4
10: getstatic java.security.CryptoPrimitive.MESSAGE_DIGEST:Ljava/security/CryptoPrimitive;
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
aload 0
getfield sun.security.tools.jarsigner.Main.tSADigestAlg:Ljava/lang/String;
aconst_null
11: invokevirtual sun.security.util.DisabledAlgorithmConstraints.permits:(Ljava/util/Set;Ljava/lang/String;Ljava/security/AlgorithmParameters;)Z
12: ifne 14
13: aload 0
dup
getfield sun.security.tools.jarsigner.Main.weakAlg:I
iconst_4
ior
putfield sun.security.tools.jarsigner.Main.weakAlg:I
14: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.sigalg:Ljava/lang/String;
ifnull 19
aload 4
15: getstatic java.security.CryptoPrimitive.SIGNATURE:Ljava/security/CryptoPrimitive;
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
aload 0
getfield sun.security.tools.jarsigner.Main.sigalg:Ljava/lang/String;
aconst_null
16: invokevirtual sun.security.util.DisabledAlgorithmConstraints.permits:(Ljava/util/Set;Ljava/lang/String;Ljava/security/AlgorithmParameters;)Z
17: ifne 19
18: aload 0
dup
getfield sun.security.tools.jarsigner.Main.weakAlg:I
iconst_2
ior
putfield sun.security.tools.jarsigner.Main.weakAlg:I
19: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 20: aconst_null
astore 6
start local 6 21: aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
ifnonnull 24
22: aload 0
aload 2
putfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
23: iconst_1
istore 5
24: 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 27
25: 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;
26: goto 28
27: 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;
28: 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 7
start local 7 29: iconst_0
istore 8
start local 8 30: goto 45
31: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
iload 8
invokevirtual java.lang.String.charAt:(I)C
istore 9
start local 9 32: iload 9
bipush 65
if_icmplt 33
iload 9
bipush 90
if_icmple 43
33: StackMap locals: int
StackMap stack:
iload 9
bipush 48
if_icmplt 34
iload 9
bipush 57
if_icmple 43
34: StackMap locals:
StackMap stack:
iload 9
bipush 45
if_icmpeq 43
35: iload 9
bipush 95
if_icmpeq 43
36: iload 5
ifeq 39
37: bipush 95
istore 9
38: goto 43
39: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
40: ldc "signature.filename.must.consist.of.the.following.characters.A.Z.0.9.or."
41: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
42: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
43: StackMap locals:
StackMap stack:
aload 7
iload 9
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 9 44: iinc 8 1
StackMap locals:
StackMap stack:
45: iload 8
aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmplt 31
end local 8 46: aload 0
aload 7
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
47: aload 0
getfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
ifnonnull 49
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 8
start local 8 48: goto 50
end local 8 49: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
astore 8
start local 8 50: StackMap locals: java.lang.String
StackMap stack:
new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 9
start local 9 51: new java.io.File
dup
aload 8
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 10
start local 10 52: 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;
53: goto 56
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.lang.String[] sun.security.util.DisabledAlgorithmConstraints int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File
StackMap stack: java.io.IOException
54: astore 11
start local 11 55: 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 11
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 11 56: StackMap locals:
StackMap stack:
aconst_null
astore 11
start local 11 57: new java.io.FileOutputStream
dup
aload 10
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 11
58: goto 61
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.lang.String[] sun.security.util.DisabledAlgorithmConstraints 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
59: astore 12
start local 12 60: 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 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 12
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 12 61: StackMap locals:
StackMap stack:
new java.io.PrintStream
dup
aload 11
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
astore 12
start local 12 62: new java.util.zip.ZipOutputStream
dup
aload 12
invokespecial java.util.zip.ZipOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 13
start local 13 63: new java.lang.StringBuilder
dup
ldc "META-INF/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".SF"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 14
start local 14 64: new java.lang.StringBuilder
dup
ldc "META-INF/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".DSA"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 15
start local 15 65: new java.util.jar.Manifest
dup
invokespecial java.util.jar.Manifest.<init>:()V
astore 16
start local 16 66: aload 16
invokevirtual java.util.jar.Manifest.getEntries:()Ljava/util/Map;
astore 17
start local 17 67: aconst_null
astore 18
start local 18 68: iconst_0
istore 19
start local 19 69: iconst_0
istore 20
start local 20 70: aconst_null
astore 21
start local 21 71: iconst_1
anewarray java.security.MessageDigest
dup
iconst_0
aload 0
getfield sun.security.tools.jarsigner.Main.digestalg:Ljava/lang/String;
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
aastore
astore 22
start local 22 72: aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
invokevirtual sun.security.tools.jarsigner.Main.getManifestFile:(Ljava/util/zip/ZipFile;)Ljava/util/zip/ZipEntry;
dup
astore 23
start local 23 73: ifnull 78
74: aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
aload 23
invokevirtual sun.security.tools.jarsigner.Main.getBytes:(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipEntry;)[B
astore 21
75: aload 16
new java.io.ByteArrayInputStream
dup
aload 21
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
invokevirtual java.util.jar.Manifest.read:(Ljava/io/InputStream;)V
76: aload 16
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
invokevirtual java.util.jar.Attributes.clone:()Ljava/lang/Object;
checkcast java.util.jar.Attributes
astore 18
77: goto 89
78: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.lang.String[] sun.security.util.DisabledAlgorithmConstraints int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.io.PrintStream java.util.zip.ZipOutputStream java.lang.String java.lang.String java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[] java.security.MessageDigest[] java.util.zip.ZipEntry
StackMap stack:
aload 16
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
astore 24
start local 24 79: aload 24
getstatic java.util.jar.Attributes$Name.MANIFEST_VERSION:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes$Name.toString:()Ljava/lang/String;
80: ldc "1.0"
81: invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
82: ldc "java.vendor"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 25
start local 25 83: ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 26
start local 26 84: aload 24
ldc "Created-By"
new java.lang.StringBuilder
dup
aload 26
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;
aload 25
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
85: ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
86: invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
87: new java.util.zip.ZipEntry
dup
ldc "META-INF/MANIFEST.MF"
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 23
88: iconst_1
istore 20
end local 26 end local 25 end local 24 89: StackMap locals:
StackMap stack:
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 24
start local 24 90: iconst_0
istore 25
start local 25 91: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
invokevirtual java.util.zip.ZipFile.entries:()Ljava/util/Enumeration;
astore 26
start local 26 92: goto 115
93: StackMap locals: java.util.Vector int java.util.Enumeration
StackMap stack:
aload 26
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 27
start local 27 94: aload 27
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
ldc "META-INF/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 102
95: aload 24
aload 27
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
96: aload 27
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
97: invokestatic sun.security.util.SignatureFileVerifier.isBlockOrSF:(Ljava/lang/String;)Z
98: ifeq 100
99: iconst_1
istore 25
100: StackMap locals: java.util.zip.ZipEntry
StackMap stack:
aload 0
aload 27
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.signatureRelated:(Ljava/lang/String;)Z
ifeq 102
101: goto 115
102: StackMap locals:
StackMap stack:
aload 16
aload 27
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnull 109
103: aload 0
aload 27
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
aload 22
104: aload 16
105: invokevirtual sun.security.tools.jarsigner.Main.updateDigests:(Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;Ljava/util/jar/Manifest;)Z
106: ifeq 115
107: iconst_1
istore 19
108: goto 115
StackMap locals:
StackMap stack:
109: aload 27
invokevirtual java.util.zip.ZipEntry.isDirectory:()Z
ifne 115
110: aload 0
aload 27
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
111: aload 22
112: invokevirtual sun.security.tools.jarsigner.Main.getDigestAttributes:(Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;)Ljava/util/jar/Attributes;
astore 28
start local 28 113: aload 17
aload 27
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 28
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
114: iconst_1
istore 19
end local 28 end local 27 115: StackMap locals:
StackMap stack:
aload 26
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 93
end local 26 116: iload 19
ifeq 141
117: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 26
start local 26 118: aload 16
aload 26
invokevirtual java.util.jar.Manifest.write:(Ljava/io/OutputStream;)V
119: iload 25
ifeq 140
120: aload 26
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 27
start local 27 121: aload 21
ifnull 138
122: aload 18
aload 16
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
invokevirtual java.util.jar.Attributes.equals:(Ljava/lang/Object;)Z
ifeq 138
123: aload 0
aload 27
invokevirtual sun.security.tools.jarsigner.Main.findHeaderEnd:([B)I
istore 28
start local 28 124: aload 0
aload 21
invokevirtual sun.security.tools.jarsigner.Main.findHeaderEnd:([B)I
istore 29
start local 29 125: iload 28
iload 29
if_icmpne 128
126: aload 21
iconst_0
aload 27
iconst_0
iload 29
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
127: goto 138
128: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.lang.String[] sun.security.util.DisabledAlgorithmConstraints int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.io.PrintStream java.util.zip.ZipOutputStream java.lang.String java.lang.String java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[] java.security.MessageDigest[] java.util.zip.ZipEntry java.util.Vector int java.io.ByteArrayOutputStream byte[] int int
StackMap stack:
iload 29
129: aload 27
arraylength
130: iadd
131: iload 28
132: isub
newarray 8
astore 30
start local 30 133: aload 21
iconst_0
aload 30
iconst_0
iload 29
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
134: aload 27
iload 28
aload 30
iload 29
135: aload 27
arraylength
iload 28
isub
136: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
137: aload 30
astore 27
end local 30 end local 29 end local 28 138: StackMap locals:
StackMap stack:
aload 27
astore 21
end local 27 139: goto 141
140: StackMap locals:
StackMap stack:
aload 26
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 21
end local 26 141: StackMap locals:
StackMap stack:
iload 19
ifeq 143
142: new java.util.zip.ZipEntry
dup
ldc "META-INF/MANIFEST.MF"
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 23
143: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 153
144: iload 20
ifeq 149
145: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc ".adding."
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
146: aload 23
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
147: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
148: goto 153
StackMap locals:
StackMap stack:
149: iload 19
ifeq 153
150: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc ".updating."
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
151: aload 23
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
152: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
153: StackMap locals:
StackMap stack:
aload 13
aload 23
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
154: aload 13
aload 21
invokevirtual java.util.zip.ZipOutputStream.write:([B)V
155: new sun.security.util.ManifestDigester
dup
aload 21
invokespecial sun.security.util.ManifestDigester.<init>:([B)V
astore 26
start local 26 156: new sun.security.tools.jarsigner.SignatureFile
dup
aload 22
aload 16
aload 26
157: aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
aload 0
getfield sun.security.tools.jarsigner.Main.signManifest:Z
158: invokespecial sun.security.tools.jarsigner.SignatureFile.<init>:([Ljava/security/MessageDigest;Ljava/util/jar/Manifest;Lsun/security/util/ManifestDigester;Ljava/lang/String;Z)V
astore 27
start local 27 159: aload 0
getfield sun.security.tools.jarsigner.Main.tsaAlias:Ljava/lang/String;
ifnull 161
160: 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 6
161: StackMap locals: sun.security.util.ManifestDigester sun.security.tools.jarsigner.SignatureFile
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.tsaUrl:Ljava/lang/String;
ifnonnull 163
aload 6
ifnonnull 163
162: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.noTimestamp:Z
163: StackMap locals:
StackMap stack:
aconst_null
astore 28
start local 28 164: aload 27
aload 0
getfield sun.security.tools.jarsigner.Main.privateKey:Ljava/security/PrivateKey;
aload 0
getfield sun.security.tools.jarsigner.Main.sigalg:Ljava/lang/String;
aload 0
getfield sun.security.tools.jarsigner.Main.certChain:[Ljava/security/cert/X509Certificate;
165: aload 0
getfield sun.security.tools.jarsigner.Main.externalSF:Z
aload 0
getfield sun.security.tools.jarsigner.Main.tsaUrl:Ljava/lang/String;
aload 6
aload 0
getfield sun.security.tools.jarsigner.Main.tSAPolicyID:Ljava/lang/String;
aload 0
getfield sun.security.tools.jarsigner.Main.tSADigestAlg:Ljava/lang/String;
166: aload 0
getfield sun.security.tools.jarsigner.Main.signingMechanism:Lcom/sun/jarsigner/ContentSigner;
aload 3
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
167: invokevirtual sun.security.tools.jarsigner.SignatureFile.generateBlock:(Ljava/security/PrivateKey;Ljava/lang/String;[Ljava/security/cert/X509Certificate;ZLjava/lang/String;Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/lang/String;Lcom/sun/jarsigner/ContentSigner;[Ljava/lang/String;Ljava/util/zip/ZipFile;)Lsun/security/tools/jarsigner/SignatureFile$Block;
168: astore 28
169: goto 179
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.lang.String[] sun.security.util.DisabledAlgorithmConstraints int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.io.PrintStream java.util.zip.ZipOutputStream java.lang.String java.lang.String java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[] java.security.MessageDigest[] java.util.zip.ZipEntry java.util.Vector int sun.security.util.ManifestDigester sun.security.tools.jarsigner.SignatureFile sun.security.tools.jarsigner.SignatureFile$Block
StackMap stack: java.net.SocketTimeoutException
170: astore 29
start local 29 171: 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
172: 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;
173: ldc "\n -J-Dhttp.proxyHost=<hostname>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
174: ldc "\n -J-Dhttp.proxyPort=<portnumber>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
175: 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;
176: ldc "\n -J-Dhttps.proxyHost=<hostname> "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
177: 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 29
178: invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 29 179: StackMap locals:
StackMap stack:
aload 27
invokevirtual sun.security.tools.jarsigner.SignatureFile.getMetaName:()Ljava/lang/String;
astore 14
180: aload 28
invokevirtual sun.security.tools.jarsigner.SignatureFile$Block.getMetaName:()Ljava/lang/String;
astore 15
181: new java.util.zip.ZipEntry
dup
aload 14
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 29
start local 29 182: new java.util.zip.ZipEntry
dup
aload 15
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 30
start local 30 183: invokestatic java.lang.System.currentTimeMillis:()J
lstore 31
start local 31 184: aload 29
lload 31
invokevirtual java.util.zip.ZipEntry.setTime:(J)V
185: aload 30
lload 31
invokevirtual java.util.zip.ZipEntry.setTime:(J)V
186: aload 13
aload 29
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
187: aload 27
aload 13
invokevirtual sun.security.tools.jarsigner.SignatureFile.write:(Ljava/io/OutputStream;)V
188: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 197
189: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
aload 14
invokevirtual java.util.zip.ZipFile.getEntry:(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
ifnull 194
190: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc ".updating."
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
191: aload 14
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
192: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
193: goto 197
194: StackMap locals: java.util.zip.ZipEntry java.util.zip.ZipEntry long
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 ".adding."
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
195: aload 14
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
196: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
197: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 217
198: aload 0
getfield sun.security.tools.jarsigner.Main.tsaUrl:Ljava/lang/String;
ifnonnull 199
aload 6
ifnull 202
199: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
200: 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;
201: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
202: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.tsaUrl:Ljava/lang/String;
ifnull 204
203: 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
204: StackMap locals:
StackMap stack:
aload 6
ifnull 213
205: aload 6
invokestatic sun.security.tools.jarsigner.TimestampedSigner.getTimestampingURI:(Ljava/security/cert/X509Certificate;)Ljava/net/URI;
astore 33
start local 33 206: aload 33
ifnull 210
207: 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
208: aload 33
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
209: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
210: StackMap locals: java.net.URI
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 "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
211: aload 0
iconst_1
ldc ""
aload 6
aconst_null
iconst_0
invokevirtual sun.security.tools.jarsigner.Main.printCert:(ZLjava/lang/String;Ljava/security/cert/Certificate;Ljava/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;
212: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 33 213: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.signingMechanism:Lcom/sun/jarsigner/ContentSigner;
ifnull 217
214: getstatic java.lang.System.out:Ljava/io/PrintStream;
215: 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;
216: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
217: StackMap locals:
StackMap stack:
aload 13
aload 30
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
218: aload 28
aload 13
invokevirtual sun.security.tools.jarsigner.SignatureFile$Block.write:(Ljava/io/OutputStream;)V
219: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 228
220: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
aload 15
invokevirtual java.util.zip.ZipFile.getEntry:(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
ifnull 225
221: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc ".updating."
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
222: aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
223: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
224: goto 228
225: StackMap locals:
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 ".adding."
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
226: aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
227: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
228: StackMap locals:
StackMap stack:
iconst_0
istore 33
start local 33 229: goto 236
230: StackMap locals: int
StackMap stack:
aload 24
iload 33
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 34
start local 34 231: aload 34
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
ldc "META-INF/MANIFEST.MF"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 235
232: aload 34
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 14
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 235
233: aload 34
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 15
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 235
234: aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
aload 13
aload 34
invokevirtual sun.security.tools.jarsigner.Main.writeEntry:(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipOutputStream;Ljava/util/zip/ZipEntry;)V
end local 34 235: StackMap locals:
StackMap stack:
iinc 33 1
StackMap locals:
StackMap stack:
236: iload 33
aload 24
invokevirtual java.util.Vector.size:()I
if_icmplt 230
end local 33 237: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
invokevirtual java.util.zip.ZipFile.entries:()Ljava/util/Enumeration;
astore 33
start local 33 238: goto 251
239: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.lang.String[] sun.security.util.DisabledAlgorithmConstraints int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.io.PrintStream java.util.zip.ZipOutputStream java.lang.String java.lang.String java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[] java.security.MessageDigest[] java.util.zip.ZipEntry java.util.Vector int sun.security.util.ManifestDigester sun.security.tools.jarsigner.SignatureFile sun.security.tools.jarsigner.SignatureFile$Block java.util.zip.ZipEntry java.util.zip.ZipEntry long java.util.Enumeration
StackMap stack:
aload 33
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 34
start local 34 240: aload 34
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
ldc "META-INF/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 251
241: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 250
242: aload 16
aload 34
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnull 247
243: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc ".signing."
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
244: aload 34
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
245: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
246: goto 250
247: StackMap locals: java.util.zip.ZipEntry
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 ".adding."
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
248: aload 34
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
249: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
250: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
aload 13
aload 34
invokevirtual sun.security.tools.jarsigner.Main.writeEntry:(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipOutputStream;Ljava/util/zip/ZipEntry;)V
end local 34 251: StackMap locals:
StackMap stack:
aload 33
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 239
end local 33 end local 31 end local 30 end local 29 end local 28 end local 27 end local 26 end local 25 end local 24 end local 23 end local 22 252: goto 267
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.lang.String[] sun.security.util.DisabledAlgorithmConstraints int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.io.PrintStream java.util.zip.ZipOutputStream java.lang.String java.lang.String java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[]
StackMap stack: java.io.IOException
253: astore 22
start local 22 254: 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 22
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 22
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 22 255: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
ifnull 258
256: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
invokevirtual java.util.zip.ZipFile.close:()V
257: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
258: StackMap locals:
StackMap stack:
aload 13
ifnull 272
259: aload 13
invokevirtual java.util.zip.ZipOutputStream.close:()V
goto 272
260: StackMap locals:
StackMap stack: java.lang.Throwable
astore 35
261: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
ifnull 264
262: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
invokevirtual java.util.zip.ZipFile.close:()V
263: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
264: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.lang.String[] sun.security.util.DisabledAlgorithmConstraints int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.io.PrintStream java.util.zip.ZipOutputStream java.lang.String java.lang.String java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[] top top top top top top top top top top top top top java.lang.Throwable
StackMap stack:
aload 13
ifnull 266
265: aload 13
invokevirtual java.util.zip.ZipOutputStream.close:()V
266: StackMap locals:
StackMap stack:
aload 35
athrow
267: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.lang.String[] sun.security.util.DisabledAlgorithmConstraints int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.io.PrintStream java.util.zip.ZipOutputStream java.lang.String java.lang.String java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[]
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
ifnull 270
268: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
invokevirtual java.util.zip.ZipFile.close:()V
269: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
270: StackMap locals:
StackMap stack:
aload 13
ifnull 272
271: aload 13
invokevirtual java.util.zip.ZipOutputStream.close:()V
272: StackMap locals:
StackMap stack:
aconst_null
astore 22
aconst_null
astore 23
273: new java.util.jar.JarFile
dup
aload 10
invokespecial java.util.jar.JarFile.<init>:(Ljava/io/File;)V
astore 24
start local 24 274: new sun.security.pkcs.PKCS7
dup
aload 24
aload 24
275: new java.lang.StringBuilder
dup
ldc "META-INF/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.tools.jarsigner.Main.sigfile: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;
aload 0
getfield sun.security.tools.jarsigner.Main.privateKey:Ljava/security/PrivateKey;
invokeinterface java.security.PrivateKey.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
276: invokevirtual java.util.jar.JarFile.getEntry:(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
invokevirtual java.util.jar.JarFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
invokespecial sun.security.pkcs.PKCS7.<init>:(Ljava/io/InputStream;)V
astore 25
start local 25 277: aconst_null
astore 26
start local 26 278: aload 25
invokevirtual sun.security.pkcs.PKCS7.getSignerInfos:()[Lsun/security/pkcs/SignerInfo;
iconst_0
aaload
astore 27
start local 27 279: aload 27
invokevirtual sun.security.pkcs.SignerInfo.getTsToken:()Lsun/security/pkcs/PKCS7;
ifnull 281
280: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.hasTimestampBlock:Z
281: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.lang.String[] sun.security.util.DisabledAlgorithmConstraints int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.io.PrintStream java.util.zip.ZipOutputStream java.lang.String java.lang.String java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[] java.lang.Throwable java.lang.Throwable java.util.jar.JarFile sun.security.pkcs.PKCS7 java.security.Timestamp sun.security.pkcs.SignerInfo
StackMap stack:
aload 27
invokevirtual sun.security.pkcs.SignerInfo.getTimestamp:()Ljava/security/Timestamp;
astore 26
end local 27 282: goto 286
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.lang.String[] sun.security.util.DisabledAlgorithmConstraints int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.io.PrintStream java.util.zip.ZipOutputStream java.lang.String java.lang.String java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[] java.lang.Throwable java.lang.Throwable java.util.jar.JarFile sun.security.pkcs.PKCS7 java.security.Timestamp
StackMap stack: java.lang.Exception
283: astore 27
start local 27 284: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.tsaChainNotValidated:Z
285: aload 0
aload 27
putfield sun.security.tools.jarsigner.Main.tsaChainNotValidatedReason:Ljava/lang/Throwable;
end local 27 286: StackMap locals:
StackMap stack:
aload 0
ldc ""
ldc " "
aload 0
getfield sun.security.tools.jarsigner.Main.certChain:[Ljava/security/cert/X509Certificate;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aload 26
invokevirtual sun.security.tools.jarsigner.Main.certsAndTSInfo:(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/security/Timestamp;)Ljava/lang/String;
astore 27
start local 27 287: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 289
288: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 27
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 27 end local 26 end local 25 289: StackMap locals:
StackMap stack:
aload 24
ifnull 298
aload 24
invokevirtual java.util.jar.JarFile.close:()V
goto 298
StackMap locals:
StackMap stack: java.lang.Throwable
290: astore 22
aload 24
ifnull 291
aload 24
invokevirtual java.util.jar.JarFile.close:()V
end local 24 StackMap locals:
StackMap stack:
291: aload 22
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
292: astore 23
aload 22
ifnonnull 293
aload 23
astore 22
goto 294
StackMap locals:
StackMap stack:
293: aload 22
aload 23
if_acmpeq 294
aload 22
aload 23
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
294: aload 22
athrow
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.lang.String[] sun.security.util.DisabledAlgorithmConstraints int java.security.cert.X509Certificate java.lang.StringBuilder java.lang.String java.io.File java.io.File java.io.FileOutputStream java.io.PrintStream java.util.zip.ZipOutputStream java.lang.String java.lang.String java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[]
StackMap stack: java.lang.Exception
295: astore 22
start local 22 296: aload 0
getfield sun.security.tools.jarsigner.Main.debug:Z
ifeq 298
297: aload 22
invokevirtual java.lang.Exception.printStackTrace:()V
end local 22 298: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
ifnonnull 316
299: aload 10
aload 9
invokevirtual java.io.File.renameTo:(Ljava/io/File;)Z
ifne 316
300: 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 22
start local 22 301: aload 9
aload 22
invokevirtual java.io.File.renameTo:(Ljava/io/File;)Z
ifeq 311
302: aload 10
aload 9
invokevirtual java.io.File.renameTo:(Ljava/io/File;)Z
ifeq 305
303: aload 22
invokevirtual java.io.File.delete:()Z
pop
304: goto 316
305: StackMap locals: java.io.File
StackMap stack:
new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
306: ldc "attempt.to.rename.signedJarFile.to.jarFile.failed"
307: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 23
start local 23 308: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 10
aastore
dup
iconst_1
aload 9
aastore
astore 24
start local 24 309: aload 0
aload 23
aload 24
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
end local 24 end local 23 310: goto 316
311: StackMap locals:
StackMap stack:
new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
312: ldc "attempt.to.rename.jarFile.to.origJar.failed"
313: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 23
start local 23 314: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
dup
iconst_1
aload 22
aastore
astore 24
start local 24 315: aload 0
aload 23
aload 24
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
end local 24 end local 23 end local 22 316: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual sun.security.tools.jarsigner.Main.displayMessagesAndResult:(Z)V
317: return
end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 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 318 0 this Lsun/security/tools/jarsigner/Main;
0 318 1 jarName Ljava/lang/String;
0 318 2 alias Ljava/lang/String;
0 318 3 args [Ljava/lang/String;
4 318 4 dac Lsun/security/util/DisabledAlgorithmConstraints;
20 318 5 aliasUsed Z
21 318 6 tsaCert Ljava/security/cert/X509Certificate;
29 318 7 tmpSigFile Ljava/lang/StringBuilder;
30 46 8 j I
32 44 9 c C
48 49 8 tmpJarName Ljava/lang/String;
50 318 8 tmpJarName Ljava/lang/String;
51 318 9 jarFile Ljava/io/File;
52 318 10 signedJarFile Ljava/io/File;
55 56 11 ioe Ljava/io/IOException;
57 318 11 fos Ljava/io/FileOutputStream;
60 61 12 ioe Ljava/io/IOException;
62 318 12 ps Ljava/io/PrintStream;
63 318 13 zos Ljava/util/zip/ZipOutputStream;
64 318 14 sfFilename Ljava/lang/String;
65 318 15 bkFilename Ljava/lang/String;
66 318 16 manifest Ljava/util/jar/Manifest;
67 318 17 mfEntries Ljava/util/Map<Ljava/lang/String;Ljava/util/jar/Attributes;>;
68 318 18 oldAttr Ljava/util/jar/Attributes;
69 318 19 mfModified Z
70 318 20 mfCreated Z
71 318 21 mfRawBytes [B
72 252 22 digests [Ljava/security/MessageDigest;
73 252 23 mfFile Ljava/util/zip/ZipEntry;
79 89 24 mattr Ljava/util/jar/Attributes;
83 89 25 javaVendor Ljava/lang/String;
84 89 26 jdkVersion Ljava/lang/String;
90 252 24 mfFiles Ljava/util/Vector<Ljava/util/zip/ZipEntry;>;
91 252 25 wasSigned Z
92 116 26 enum_ Ljava/util/Enumeration<+Ljava/util/zip/ZipEntry;>;
94 115 27 ze Ljava/util/zip/ZipEntry;
113 115 28 attrs Ljava/util/jar/Attributes;
118 141 26 baos Ljava/io/ByteArrayOutputStream;
121 139 27 newBytes [B
124 138 28 newPos I
125 138 29 oldPos I
133 138 30 lastBytes [B
156 252 26 manDig Lsun/security/util/ManifestDigester;
159 252 27 sf Lsun/security/tools/jarsigner/SignatureFile;
164 252 28 block Lsun/security/tools/jarsigner/SignatureFile$Block;
171 179 29 e Ljava/net/SocketTimeoutException;
182 252 29 sfFile Ljava/util/zip/ZipEntry;
183 252 30 bkFile Ljava/util/zip/ZipEntry;
184 252 31 time J
206 213 33 tsaURI Ljava/net/URI;
229 237 33 i I
231 235 34 ze Ljava/util/zip/ZipEntry;
238 252 33 enum_ Ljava/util/Enumeration<+Ljava/util/zip/ZipEntry;>;
240 251 34 ze Ljava/util/zip/ZipEntry;
254 255 22 ioe Ljava/io/IOException;
274 291 24 check Ljava/util/jar/JarFile;
277 289 25 p7 Lsun/security/pkcs/PKCS7;
278 289 26 ts Ljava/security/Timestamp;
279 282 27 si Lsun/security/pkcs/SignerInfo;
284 286 27 e Ljava/lang/Exception;
287 289 27 result Ljava/lang/String;
296 298 22 e Ljava/lang/Exception;
301 316 22 origJar Ljava/io/File;
308 310 23 form Ljava/text/MessageFormat;
309 310 24 source [Ljava/lang/Object;
314 316 23 form Ljava/text/MessageFormat;
315 316 24 source [Ljava/lang/Object;
Exception table:
from to target type
52 53 54 Class java.io.IOException
57 58 59 Class java.io.IOException
164 169 170 Class java.net.SocketTimeoutException
71 252 253 Class java.io.IOException
71 255 260 any
278 282 283 Class java.lang.Exception
274 289 290 any
273 292 292 any
272 295 295 Class java.lang.Exception
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
jarName
alias
args
private int findHeaderEnd(byte[]);
descriptor: ([B)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: aload 1
arraylength
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 11
4: StackMap locals: int int int
StackMap stack:
aload 1
iload 4
baload
tableswitch { // 10 - 13
10: 6
11: 9
12: 9
13: 5
default: 9
}
5: StackMap locals:
StackMap stack:
iload 4
iload 3
iconst_1
isub
if_icmpge 6
aload 1
iload 4
iconst_1
iadd
baload
bipush 10
if_icmpne 6
iinc 4 1
6: StackMap locals:
StackMap stack:
iload 2
ifeq 7
iload 4
iconst_1
iadd
ireturn
7: StackMap locals:
StackMap stack:
iconst_1
istore 2
8: goto 10
9: StackMap locals:
StackMap stack:
iconst_0
istore 2
10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 3
if_icmplt 4
end local 4 12: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/tools/jarsigner/Main;
0 13 1 bs [B
1 13 2 newline Z
2 13 3 len I
3 12 4 i I
MethodParameters:
Name Flags
bs
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=5, locals=7, 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:
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 3: aload 1
invokevirtual java.security.CodeSigner.getTimestamp:()Ljava/security/Timestamp;
astore 4
start local 4 4: ldc ""
astore 5
start local 5 5: aload 4
ifnull 7
6: new java.lang.StringBuilder
dup
aload 0
aload 2
aload 4
invokevirtual sun.security.tools.jarsigner.Main.printTimestamp:(Ljava/lang/String;Ljava/security/Timestamp;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
7: StackMap locals: java.util.List java.security.Timestamp java.lang.String
StackMap stack:
aload 0
aload 2
aload 2
aload 3
aload 4
invokevirtual sun.security.tools.jarsigner.Main.certsAndTSInfo:(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/security/Timestamp;)Ljava/lang/String;
astore 6
start local 6 8: aload 0
getfield sun.security.tools.jarsigner.Main.cacheForSignerInfo:Ljava/util/Map;
aload 1
new java.lang.StringBuilder
dup
aload 5
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;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 6
areturn
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 10 0 this Lsun/security/tools/jarsigner/Main;
0 10 1 signer Ljava/security/CodeSigner;
0 10 2 tab Ljava/lang/String;
3 10 3 certs Ljava/util/List<+Ljava/security/cert/Certificate;>;
4 10 4 ts Ljava/security/Timestamp;
5 10 5 tsLine Ljava/lang/String;
8 10 6 result Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
signer
tab
private java.lang.String certsAndTSInfo(java.lang.String, java.lang.String, java.util.List<? extends java.security.cert.Certificate>, java.security.Timestamp);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/security/Timestamp;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
ifnull 4
1: aload 4
invokevirtual java.security.Timestamp.getTimestamp:()Ljava/util/Date;
astore 5
start local 5 2: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.noTimestamp:Z
3: goto 5
end local 5 4: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 5: StackMap locals: java.util.Date
StackMap stack:
iconst_1
istore 6
start local 6 6: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 7
start local 7 7: aload 7
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "...Signer"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 13
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.util.List java.security.Timestamp java.util.Date int java.lang.StringBuilder top java.util.Iterator
StackMap stack:
9: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.cert.Certificate
astore 8
start local 8 10: aload 7
aload 0
iconst_0
aload 2
aload 8
aload 5
iload 6
invokevirtual sun.security.tools.jarsigner.Main.printCert:(ZLjava/lang/String;Ljava/security/cert/Certificate;Ljava/util/Date;Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 7
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: iconst_0
istore 6
end local 8 13: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
14: aload 0
ldc "code signing"
aload 3
aload 4
invokevirtual sun.security.tools.jarsigner.Main.validateCertChain:(Ljava/lang/String;Ljava/util/List;Ljava/security/Timestamp;)V
15: goto 21
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.util.List java.security.Timestamp java.util.Date int java.lang.StringBuilder
StackMap stack: java.lang.Exception
16: astore 8
start local 8 17: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.chainNotValidated:Z
18: aload 0
aload 8
putfield sun.security.tools.jarsigner.Main.chainNotValidatedReason:Ljava/lang/Throwable;
19: aload 7
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc ".Invalid.certificate.chain."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: 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 21: StackMap locals:
StackMap stack:
aload 4
ifnull 37
22: aload 7
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "...TSA"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
23: aload 4
invokevirtual java.security.Timestamp.getSignerCertPath:()Ljava/security/cert/CertPath;
invokevirtual java.security.cert.CertPath.getCertificates:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 27
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.util.List java.security.Timestamp java.util.Date int java.lang.StringBuilder top java.util.Iterator
StackMap stack:
24: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.cert.Certificate
astore 8
start local 8 25: aload 7
aload 0
iconst_1
aload 2
aload 8
aconst_null
iconst_0
invokevirtual sun.security.tools.jarsigner.Main.printCert:(ZLjava/lang/String;Ljava/security/cert/Certificate;Ljava/util/Date;Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: aload 7
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 8 27: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 24
28: aload 0
ldc "tsa server"
29: aload 4
invokevirtual java.security.Timestamp.getSignerCertPath:()Ljava/security/cert/CertPath;
invokevirtual java.security.cert.CertPath.getCertificates:()Ljava/util/List;
aconst_null
30: invokevirtual sun.security.tools.jarsigner.Main.validateCertChain:(Ljava/lang/String;Ljava/util/List;Ljava/security/Timestamp;)V
31: goto 37
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.util.List java.security.Timestamp java.util.Date int java.lang.StringBuilder
StackMap stack: java.lang.Exception
32: astore 8
start local 8 33: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.tsaChainNotValidated:Z
34: aload 0
aload 8
putfield sun.security.tools.jarsigner.Main.tsaChainNotValidatedReason:Ljava/lang/Throwable;
35: aload 7
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc ".Invalid.TSA.certificate.chain."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
36: 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 37: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 40
38: aload 3
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 40
39: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
40: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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 41 0 this Lsun/security/tools/jarsigner/Main;
0 41 1 tab1 Ljava/lang/String;
0 41 2 tab2 Ljava/lang/String;
0 41 3 certs Ljava/util/List<+Ljava/security/cert/Certificate;>;
0 41 4 ts Ljava/security/Timestamp;
2 4 5 timestamp Ljava/util/Date;
5 41 5 timestamp Ljava/util/Date;
6 41 6 first Z
7 41 7 sb Ljava/lang/StringBuilder;
10 13 8 c Ljava/security/cert/Certificate;
17 21 8 e Ljava/lang/Exception;
25 27 8 c Ljava/security/cert/Certificate;
33 37 8 e Ljava/lang/Exception;
Exception table:
from to target type
14 15 16 Class java.lang.Exception
28 31 32 Class java.lang.Exception
Exceptions:
throws java.lang.Exception
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/util/List<+Ljava/security/cert/Certificate;>;Ljava/security/Timestamp;)Ljava/lang/String;
MethodParameters:
Name Flags
tab1
tab2
certs
ts
private void writeEntry(java.util.zip.ZipFile, java.util.zip.ZipOutputStream, java.util.zip.ZipEntry);
descriptor: (Ljava/util/zip/ZipFile;Ljava/util/zip/ZipOutputStream;Ljava/util/zip/ZipEntry;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.zip.ZipEntry
dup
aload 3
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 4
start local 4 1: aload 4
aload 3
invokevirtual java.util.zip.ZipEntry.getMethod:()I
invokevirtual java.util.zip.ZipEntry.setMethod:(I)V
2: aload 4
aload 3
invokevirtual java.util.zip.ZipEntry.getTime:()J
invokevirtual java.util.zip.ZipEntry.setTime:(J)V
3: aload 4
aload 3
invokevirtual java.util.zip.ZipEntry.getComment:()Ljava/lang/String;
invokevirtual java.util.zip.ZipEntry.setComment:(Ljava/lang/String;)V
4: aload 4
aload 3
invokevirtual java.util.zip.ZipEntry.getExtra:()[B
invokevirtual java.util.zip.ZipEntry.setExtra:([B)V
5: aload 3
invokevirtual java.util.zip.ZipEntry.getMethod:()I
ifne 8
6: aload 4
aload 3
invokevirtual java.util.zip.ZipEntry.getSize:()J
invokevirtual java.util.zip.ZipEntry.setSize:(J)V
7: aload 4
aload 3
invokevirtual java.util.zip.ZipEntry.getCrc:()J
invokevirtual java.util.zip.ZipEntry.setCrc:(J)V
8: StackMap locals: java.util.zip.ZipEntry
StackMap stack:
aload 2
aload 4
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
9: aload 0
aload 1
aload 3
aload 2
invokevirtual sun.security.tools.jarsigner.Main.writeBytes:(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipOutputStream;)V
10: return
end local 4 end local 3 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 zf Ljava/util/zip/ZipFile;
0 11 2 os Ljava/util/zip/ZipOutputStream;
0 11 3 ze Ljava/util/zip/ZipEntry;
1 11 4 ze2 Ljava/util/zip/ZipEntry;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
zf
os
ze
private synchronized void writeBytes(java.util.zip.ZipFile, java.util.zip.ZipEntry, java.util.zip.ZipOutputStream);
descriptor: (Ljava/util/zip/ZipFile;Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipOutputStream;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 5
start local 5 1: aload 1
aload 2
invokevirtual java.util.zip.ZipFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
astore 5
2: aload 2
invokevirtual java.util.zip.ZipEntry.getSize:()J
lstore 6
start local 6 3: goto 6
start local 4 4: StackMap locals: int java.io.InputStream long
StackMap stack:
aload 3
aload 0
getfield sun.security.tools.jarsigner.Main.buffer:[B
iconst_0
iload 4
invokevirtual java.util.zip.ZipOutputStream.write:([BII)V
5: lload 6
iload 4
i2l
lsub
lstore 6
end local 4 6: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipFile java.util.zip.ZipEntry java.util.zip.ZipOutputStream top java.io.InputStream long
StackMap stack:
lload 6
lconst_0
lcmp
ifle 13
aload 5
aload 0
getfield sun.security.tools.jarsigner.Main.buffer:[B
iconst_0
aload 0
getfield sun.security.tools.jarsigner.Main.buffer:[B
arraylength
invokevirtual java.io.InputStream.read:([BII)I
dup
istore 4
start local 4 7: iconst_m1
if_icmpne 4
end local 6 end local 4 8: goto 13
StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipFile java.util.zip.ZipEntry java.util.zip.ZipOutputStream top java.io.InputStream
StackMap stack: java.lang.Throwable
9: astore 8
10: aload 5
ifnull 12
11: aload 5
invokevirtual java.io.InputStream.close:()V
12: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipFile java.util.zip.ZipEntry java.util.zip.ZipOutputStream top java.io.InputStream top top java.lang.Throwable
StackMap stack:
aload 8
athrow
13: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipFile java.util.zip.ZipEntry java.util.zip.ZipOutputStream top java.io.InputStream
StackMap stack:
aload 5
ifnull 15
14: aload 5
invokevirtual java.io.InputStream.close:()V
15: StackMap locals:
StackMap stack:
return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/security/tools/jarsigner/Main;
0 16 1 zf Ljava/util/zip/ZipFile;
0 16 2 ze Ljava/util/zip/ZipEntry;
0 16 3 os Ljava/util/zip/ZipOutputStream;
4 6 4 n I
7 8 4 n I
1 16 5 is Ljava/io/InputStream;
3 8 6 left J
Exception table:
from to target type
1 9 9 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
zf
ze
os
void loadKeyStore(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0000)
Code:
stack=6, locals=7, 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:
invokestatic sun.security.tools.KeyStoreUtil.getCacertsKeyStore:()Ljava/security/KeyStore;
astore 3
start local 3 5: aload 3
ifnull 15
6: aload 3
invokevirtual java.security.KeyStore.aliases:()Ljava/util/Enumeration;
astore 4
start local 4 7: goto 12
8: StackMap locals: java.security.KeyStore java.util.Enumeration
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 9: aload 0
getfield sun.security.tools.jarsigner.Main.trustedCerts:Ljava/util/Set;
aload 3
aload 5
invokevirtual java.security.KeyStore.getCertificate:(Ljava/lang/String;)Ljava/security/cert/Certificate;
checkcast java.security.cert.X509Certificate
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
10: goto 12
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.security.KeyStore java.util.Enumeration java.lang.String
StackMap stack: java.lang.Exception
11: pop
end local 5 12: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 8
end local 4 end local 3 13: goto 15
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int
StackMap stack: java.lang.Exception
14: pop
15: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.providerName:Ljava/lang/String;
ifnonnull 18
16: 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;
17: goto 19
18: 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;
19: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.token:Z
ifeq 25
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnonnull 25
aload 0
getfield sun.security.tools.jarsigner.Main.protectedPath:Z
ifne 25
20: aload 0
getfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
invokestatic sun.security.tools.KeyStoreUtil.isWindowsKeyStore:(Ljava/lang/String;)Z
ifne 25
21: aload 0
aload 0
22: 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;
23: invokevirtual sun.security.tools.jarsigner.Main.getPass:(Ljava/lang/String;)[C
putfield sun.security.tools.jarsigner.Main.storepass:[C
24: goto 29
StackMap locals:
StackMap stack:
25: aload 0
getfield sun.security.tools.jarsigner.Main.token:Z
ifne 29
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
ifnonnull 29
iload 2
ifeq 29
26: aload 0
aload 0
27: 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;
28: invokevirtual sun.security.tools.jarsigner.Main.getPass:(Ljava/lang/String;)[C
putfield sun.security.tools.jarsigner.Main.storepass:[C
29: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.nullStream:Z
ifeq 32
30: 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
31: goto 48
32: 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
33: aconst_null
astore 3
start local 3 34: new java.net.URL
dup
aload 1
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 3
35: goto 38
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.net.URL
StackMap stack: java.net.MalformedURLException
36: pop
37: 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 3
38: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 39: aload 3
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 4
40: aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
aload 4
aload 0
getfield sun.security.tools.jarsigner.Main.storepass:[C
invokevirtual java.security.KeyStore.load:(Ljava/io/InputStream;[C)V
41: goto 46
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.net.URL java.io.InputStream
StackMap stack: java.lang.Throwable
42: astore 5
43: aload 4
ifnull 45
44: aload 4
invokevirtual java.io.InputStream.close:()V
45: StackMap locals: java.lang.Throwable
StackMap stack:
aload 5
athrow
46: StackMap locals:
StackMap stack:
aload 4
ifnull 48
47: aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 end local 3 48: 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 3
start local 3 49: goto 57
50: StackMap locals: java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 51: aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
aload 4
invokevirtual java.security.KeyStore.getCertificate:(Ljava/lang/String;)Ljava/security/cert/Certificate;
checkcast java.security.cert.X509Certificate
astore 5
start local 5 52: aload 0
getfield sun.security.tools.jarsigner.Main.store:Ljava/security/KeyStore;
aload 4
invokevirtual java.security.KeyStore.isCertificateEntry:(Ljava/lang/String;)Z
ifne 54
53: aload 5
invokevirtual java.security.cert.X509Certificate.getSubjectDN:()Ljava/security/Principal;
aload 5
invokevirtual java.security.cert.X509Certificate.getIssuerDN:()Ljava/security/Principal;
invokeinterface java.security.Principal.equals:(Ljava/lang/Object;)Z
ifeq 57
54: StackMap locals: java.lang.String java.security.cert.X509Certificate
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.trustedCerts:Ljava/util/Set;
aload 5
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 5 55: goto 57
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.Enumeration java.lang.String
StackMap stack: java.lang.Exception
56: pop
end local 4 57: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 50
end local 3 58: goto 70
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int
StackMap stack: java.lang.Throwable
59: astore 6
60: aload 0
new java.security.cert.PKIXBuilderParameters
dup
61: aload 0
getfield sun.security.tools.jarsigner.Main.trustedCerts:Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
62: invokedynamic apply()Ljava/util/function/Function;
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;
sun/security/tools/jarsigner/Main.lambda$5(Ljava/security/cert/X509Certificate;)Ljava/security/cert/TrustAnchor; (6)
(Ljava/security/cert/X509Certificate;)Ljava/security/cert/TrustAnchor;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
63: invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
64: aconst_null
invokespecial java.security.cert.PKIXBuilderParameters.<init>:(Ljava/util/Set;Ljava/security/cert/CertSelector;)V
65: putfield sun.security.tools.jarsigner.Main.pkixParameters:Ljava/security/cert/PKIXBuilderParameters;
66: aload 0
getfield sun.security.tools.jarsigner.Main.pkixParameters:Ljava/security/cert/PKIXBuilderParameters;
iconst_0
invokevirtual java.security.cert.PKIXBuilderParameters.setRevocationEnabled:(Z)V
67: goto 69
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int top top top java.lang.Throwable
StackMap stack: java.security.InvalidAlgorithmParameterException
68: pop
69: StackMap locals:
StackMap stack:
aload 6
athrow
70: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int
StackMap stack:
aload 0
new java.security.cert.PKIXBuilderParameters
dup
71: aload 0
getfield sun.security.tools.jarsigner.Main.trustedCerts:Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
72: invokedynamic apply()Ljava/util/function/Function;
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;
sun/security/tools/jarsigner/Main.lambda$5(Ljava/security/cert/X509Certificate;)Ljava/security/cert/TrustAnchor; (6)
(Ljava/security/cert/X509Certificate;)Ljava/security/cert/TrustAnchor;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
73: invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
74: aconst_null
invokespecial java.security.cert.PKIXBuilderParameters.<init>:(Ljava/util/Set;Ljava/security/cert/CertSelector;)V
75: putfield sun.security.tools.jarsigner.Main.pkixParameters:Ljava/security/cert/PKIXBuilderParameters;
76: aload 0
getfield sun.security.tools.jarsigner.Main.pkixParameters:Ljava/security/cert/PKIXBuilderParameters;
iconst_0
invokevirtual java.security.cert.PKIXBuilderParameters.setRevocationEnabled:(Z)V
77: goto 102
StackMap locals:
StackMap stack: java.security.InvalidAlgorithmParameterException
78: pop
79: goto 102
StackMap locals:
StackMap stack: java.io.IOException
80: astore 3
start local 3 81: 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
82: 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;
83: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 84: StackMap locals:
StackMap stack: java.security.cert.CertificateException
astore 3
start local 3 85: 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
86: 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;
87: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 88: StackMap locals:
StackMap stack: java.security.NoSuchProviderException
astore 3
start local 3 89: 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
90: 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;
91: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 92: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
astore 3
start local 3 93: 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
94: 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;
95: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 96: StackMap locals:
StackMap stack: java.security.KeyStoreException
astore 3
start local 3 97: new java.lang.RuntimeException
dup
98: 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
99: aload 3
invokevirtual java.security.KeyStoreException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
100: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
101: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 102: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 103 0 this Lsun/security/tools/jarsigner/Main;
0 103 1 keyStoreName Ljava/lang/String;
0 103 2 prompt Z
5 13 3 caks Ljava/security/KeyStore;
7 13 4 aliases Ljava/util/Enumeration<Ljava/lang/String;>;
9 12 5 a Ljava/lang/String;
34 48 3 url Ljava/net/URL;
39 48 4 is Ljava/io/InputStream;
49 58 3 aliases Ljava/util/Enumeration<Ljava/lang/String;>;
51 57 4 a Ljava/lang/String;
52 55 5 c Ljava/security/cert/X509Certificate;
81 84 3 ioe Ljava/io/IOException;
85 88 3 ce Ljava/security/cert/CertificateException;
89 92 3 pe Ljava/security/NoSuchProviderException;
93 96 3 nsae Ljava/security/NoSuchAlgorithmException;
97 102 3 kse Ljava/security/KeyStoreException;
Exception table:
from to target type
9 10 11 Class java.lang.Exception
4 13 14 Class java.lang.Exception
34 35 36 Class java.net.MalformedURLException
39 42 42 any
51 55 56 Class java.lang.Exception
29 59 59 any
60 67 68 Class java.security.InvalidAlgorithmParameterException
70 77 78 Class java.security.InvalidAlgorithmParameterException
4 79 80 Class java.io.IOException
4 79 84 Class java.security.cert.CertificateException
4 79 88 Class java.security.NoSuchProviderException
4 79 92 Class java.security.NoSuchAlgorithmException
4 79 96 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=4, 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
getfield sun.security.tools.jarsigner.Main.token:Z
ifne 46
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnonnull 46
45: 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 65
46: 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
47: goto 65
StackMap locals:
StackMap stack: java.security.UnrecoverableKeyException
48: astore 4
start local 4 49: aload 0
getfield sun.security.tools.jarsigner.Main.token:Z
ifeq 51
50: aload 4
athrow
51: StackMap locals: java.security.UnrecoverableKeyException
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnonnull 65
52: new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
53: ldc "Enter.key.password.for.alias."
54: 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 55: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
astore 6
start local 6 56: 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
57: 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 58: goto 65
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.security.Key
StackMap stack: java.security.NoSuchAlgorithmException
59: astore 3
start local 3 60: 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 61: goto 65
62: StackMap locals:
StackMap stack: java.security.UnrecoverableKeyException
pop
63: 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 65
64: StackMap locals:
StackMap stack: java.security.KeyStoreException
pop
65: StackMap locals:
StackMap stack:
aload 2
instanceof java.security.PrivateKey
ifne 72
66: new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
67: ldc "key.associated.with.alias.not.a.private.key"
68: 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 69: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
astore 4
start local 4 70: 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 71: goto 73
72: StackMap locals:
StackMap stack:
aload 0
aload 2
checkcast java.security.PrivateKey
putfield sun.security.tools.jarsigner.Main.privateKey:Ljava/security/PrivateKey;
73: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 74 0 this Lsun/security/tools/jarsigner/Main;
0 74 1 alias Ljava/lang/String;
1 74 2 key Ljava/security/Key;
2 58 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
49 58 4 e Ljava/security/UnrecoverableKeyException;
55 58 5 form Ljava/text/MessageFormat;
56 58 6 source [Ljava/lang/Object;
60 61 3 e Ljava/security/NoSuchAlgorithmException;
69 71 3 form Ljava/text/MessageFormat;
70 71 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
44 47 48 Class java.security.UnrecoverableKeyException
1 58 59 Class java.security.NoSuchAlgorithmException
1 58 62 Class java.security.UnrecoverableKeyException
1 58 64 Class java.security.KeyStoreException
Exceptions:
throws java.lang.Exception
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.Exception);
descriptor: (Ljava/lang/String;Ljava/lang/Exception;)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.Exception.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/Exception;
MethodParameters:
Name Flags
message
e
void validateCertChain(java.lang.String, java.util.List<? extends java.security.cert.Certificate>, java.security.Timestamp);
descriptor: (Ljava/lang/String;Ljava/util/List;Ljava/security/Timestamp;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "PKIX"
1: aload 1
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 2
aload 2
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[]
5: aconst_null
aload 3
6: invokevirtual sun.security.validator.Validator.validate:([Ljava/security/cert/X509Certificate;Ljava/util/Collection;Ljava/lang/Object;)[Ljava/security/cert/X509Certificate;
pop
7: goto 37
StackMap locals:
StackMap stack: java.lang.Exception
8: astore 4
start local 4 9: aload 0
getfield sun.security.tools.jarsigner.Main.debug:Z
ifeq 11
10: aload 4
invokevirtual java.lang.Exception.printStackTrace:()V
11: StackMap locals: java.lang.Exception
StackMap stack:
aload 1
ldc "tsa server"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
12: aload 4
instanceof sun.security.validator.ValidatorException
ifeq 20
13: aload 4
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
ifnull 20
14: aload 4
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
instanceof java.security.cert.CertPathValidatorException
ifeq 20
15: aload 4
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
checkcast java.lang.Exception
astore 4
16: aload 4
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
astore 5
start local 5 17: aload 5
instanceof java.security.cert.CertificateExpiredException
ifeq 20
18: aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredTsaCert:Z
ifeq 20
19: return
end local 5 20: StackMap locals:
StackMap stack:
aload 1
ldc "code signing"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 36
21: aload 4
instanceof sun.security.validator.ValidatorException
ifeq 36
22: aload 4
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
ifnull 31
23: aload 4
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
instanceof java.security.cert.CertPathValidatorException
ifeq 31
24: aload 4
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
checkcast java.lang.Exception
astore 4
25: aload 4
invokevirtual java.lang.Exception.getCause:()Ljava/lang/Throwable;
astore 5
start local 5 26: aload 5
instanceof java.security.cert.CertificateExpiredException
ifeq 28
27: aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
ifne 30
28: StackMap locals: java.lang.Throwable
StackMap stack:
aload 5
instanceof java.security.cert.CertificateNotYetValidException
ifeq 31
29: aload 0
getfield sun.security.tools.jarsigner.Main.notYetValidCert:Z
ifeq 31
30: StackMap locals:
StackMap stack:
return
end local 5 31: StackMap locals:
StackMap stack:
aload 4
instanceof sun.security.validator.ValidatorException
ifeq 36
32: aload 4
checkcast sun.security.validator.ValidatorException
astore 5
start local 5 33: aload 5
invokevirtual sun.security.validator.ValidatorException.getErrorType:()Ljava/lang/Object;
getstatic sun.security.validator.ValidatorException.T_EE_EXTENSIONS:Ljava/lang/Object;
if_acmpne 36
34: aload 0
getfield sun.security.tools.jarsigner.Main.badKeyUsage:Z
ifne 35
aload 0
getfield sun.security.tools.jarsigner.Main.badExtendedKeyUsage:Z
ifne 35
aload 0
getfield sun.security.tools.jarsigner.Main.badNetscapeCertType:Z
ifeq 36
35: StackMap locals: sun.security.validator.ValidatorException
StackMap stack:
return
end local 5 36: StackMap locals:
StackMap stack:
aload 4
athrow
end local 4 37: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lsun/security/tools/jarsigner/Main;
0 38 1 variant Ljava/lang/String;
0 38 2 certs Ljava/util/List<+Ljava/security/cert/Certificate;>;
0 38 3 parameter Ljava/security/Timestamp;
9 37 4 e Ljava/lang/Exception;
17 20 5 t Ljava/lang/Throwable;
26 31 5 t Ljava/lang/Throwable;
33 36 5 ve Lsun/security/validator/ValidatorException;
Exception table:
from to target type
0 7 8 Class java.lang.Exception
Exceptions:
throws java.lang.Exception
Signature: (Ljava/lang/String;Ljava/util/List<+Ljava/security/cert/Certificate;>;Ljava/security/Timestamp;)V
MethodParameters:
Name Flags
variant
certs
parameter
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 synchronized byte[] getBytes(java.util.zip.ZipFile, java.util.zip.ZipEntry);
descriptor: (Ljava/util/zip/ZipFile;Ljava/util/zip/ZipEntry;)[B
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 4
start local 4 1: aload 1
aload 2
invokevirtual java.util.zip.ZipFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
astore 4
2: aload 0
getfield sun.security.tools.jarsigner.Main.baos:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
3: aload 2
invokevirtual java.util.zip.ZipEntry.getSize:()J
lstore 5
start local 5 4: goto 7
start local 3 5: StackMap locals: int java.io.InputStream long
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.baos:Ljava/io/ByteArrayOutputStream;
aload 0
getfield sun.security.tools.jarsigner.Main.buffer:[B
iconst_0
iload 3
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
6: lload 5
iload 3
i2l
lsub
lstore 5
end local 3 7: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipFile java.util.zip.ZipEntry top java.io.InputStream long
StackMap stack:
lload 5
lconst_0
lcmp
ifle 14
aload 4
aload 0
getfield sun.security.tools.jarsigner.Main.buffer:[B
iconst_0
aload 0
getfield sun.security.tools.jarsigner.Main.buffer:[B
arraylength
invokevirtual java.io.InputStream.read:([BII)I
dup
istore 3
start local 3 8: iconst_m1
if_icmpne 5
end local 5 end local 3 9: goto 14
StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipFile java.util.zip.ZipEntry top java.io.InputStream
StackMap stack: java.lang.Throwable
10: astore 7
11: aload 4
ifnull 13
12: aload 4
invokevirtual java.io.InputStream.close:()V
13: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipFile java.util.zip.ZipEntry top java.io.InputStream top top java.lang.Throwable
StackMap stack:
aload 7
athrow
14: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipFile java.util.zip.ZipEntry top java.io.InputStream
StackMap stack:
aload 4
ifnull 16
15: aload 4
invokevirtual java.io.InputStream.close:()V
16: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.baos:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/security/tools/jarsigner/Main;
0 17 1 zf Ljava/util/zip/ZipFile;
0 17 2 ze Ljava/util/zip/ZipEntry;
5 7 3 n I
8 9 3 n I
1 17 4 is Ljava/io/InputStream;
4 9 5 left J
Exception table:
from to target type
1 10 10 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
zf
ze
private java.util.zip.ZipEntry getManifestFile(java.util.zip.ZipFile);
descriptor: (Ljava/util/zip/ZipFile;)Ljava/util/zip/ZipEntry;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc "META-INF/MANIFEST.MF"
invokevirtual java.util.zip.ZipFile.getEntry:(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
astore 2
start local 2 1: aload 2
ifnonnull 11
2: aload 1
invokevirtual java.util.zip.ZipFile.entries:()Ljava/util/Enumeration;
astore 3
start local 3 3: goto 10
4: StackMap locals: java.util.zip.ZipEntry java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 2
5: ldc "META-INF/MANIFEST.MF"
6: aload 2
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
7: invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
8: ifne 10
9: aconst_null
astore 2
10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifeq 11
aload 2
ifnull 4
end local 3 11: StackMap locals:
StackMap stack:
aload 2
areturn
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 zf Ljava/util/zip/ZipFile;
1 12 2 ze Ljava/util/zip/ZipEntry;
3 11 3 enum_ Ljava/util/Enumeration<+Ljava/util/zip/ZipEntry;>;
MethodParameters:
Name Flags
zf
private synchronized java.lang.String[] getDigests(java.util.zip.ZipEntry, java.util.zip.ZipFile, java.security.MessageDigest[]);
descriptor: (Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;)[Ljava/lang/String;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 6
start local 6 1: aload 2
aload 1
invokevirtual java.util.zip.ZipFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
astore 6
2: aload 1
invokevirtual java.util.zip.ZipEntry.getSize:()J
lstore 7
start local 7 3: goto 10
start local 4 4: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] int top java.io.InputStream long
StackMap stack:
iconst_0
istore 5
start local 5 5: goto 8
6: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] int int java.io.InputStream long
StackMap stack:
aload 3
iload 5
aaload
aload 0
getfield sun.security.tools.jarsigner.Main.buffer:[B
iconst_0
iload 4
invokevirtual java.security.MessageDigest.update:([BII)V
7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
aload 3
arraylength
if_icmplt 6
9: lload 7
iload 4
i2l
lsub
lstore 7
end local 5 end local 4 10: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] top top java.io.InputStream long
StackMap stack:
lload 7
lconst_0
lcmp
ifle 18
11: aload 6
aload 0
getfield sun.security.tools.jarsigner.Main.buffer:[B
iconst_0
aload 0
getfield sun.security.tools.jarsigner.Main.buffer:[B
arraylength
invokevirtual java.io.InputStream.read:([BII)I
dup
istore 4
start local 4 12: iconst_m1
if_icmpne 4
end local 7 end local 4 13: goto 18
StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] top top java.io.InputStream
StackMap stack: java.lang.Throwable
14: astore 9
15: aload 6
ifnull 17
16: aload 6
invokevirtual java.io.InputStream.close:()V
17: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] top top java.io.InputStream top top java.lang.Throwable
StackMap stack:
aload 9
athrow
18: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] top top java.io.InputStream
StackMap stack:
aload 6
ifnull 20
19: aload 6
invokevirtual java.io.InputStream.close:()V
20: StackMap locals:
StackMap stack:
aload 3
arraylength
anewarray java.lang.String
astore 7
start local 7 21: iconst_0
istore 5
start local 5 22: goto 25
23: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] top int java.io.InputStream java.lang.String[]
StackMap stack:
aload 7
iload 5
invokestatic java.util.Base64.getEncoder:()Ljava/util/Base64$Encoder;
aload 3
iload 5
aaload
invokevirtual java.security.MessageDigest.digest:()[B
invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
aastore
24: iinc 5 1
StackMap locals:
StackMap stack:
25: iload 5
aload 3
arraylength
if_icmplt 23
26: aload 7
areturn
end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/security/tools/jarsigner/Main;
0 27 1 ze Ljava/util/zip/ZipEntry;
0 27 2 zf Ljava/util/zip/ZipFile;
0 27 3 digests [Ljava/security/MessageDigest;
4 10 4 n I
12 13 4 n I
5 10 5 i I
22 27 5 i I
1 27 6 is Ljava/io/InputStream;
3 13 7 left J
21 27 7 base64Digests [Ljava/lang/String;
Exception table:
from to target type
1 14 14 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ze
zf
digests
private java.util.jar.Attributes getDigestAttributes(java.util.zip.ZipEntry, java.util.zip.ZipFile, java.security.MessageDigest[]);
descriptor: (Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;)Ljava/util/jar/Attributes;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual sun.security.tools.jarsigner.Main.getDigests:(Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;)[Ljava/lang/String;
astore 4
start local 4 1: new java.util.jar.Attributes
dup
invokespecial java.util.jar.Attributes.<init>:()V
astore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 8
4: StackMap locals: java.lang.String[] java.util.jar.Attributes int
StackMap stack:
aload 5
new java.lang.StringBuilder
dup
aload 3
iload 6
aaload
invokevirtual java.security.MessageDigest.getAlgorithm:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-Digest"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: aload 4
iload 6
aaload
6: invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
7: iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
aload 3
arraylength
if_icmplt 4
end local 6 9: aload 5
areturn
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 10 0 this Lsun/security/tools/jarsigner/Main;
0 10 1 ze Ljava/util/zip/ZipEntry;
0 10 2 zf Ljava/util/zip/ZipFile;
0 10 3 digests [Ljava/security/MessageDigest;
1 10 4 base64Digests [Ljava/lang/String;
2 10 5 attrs Ljava/util/jar/Attributes;
3 9 6 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ze
zf
digests
private boolean updateDigests(java.util.zip.ZipEntry, java.util.zip.ZipFile, java.security.MessageDigest[], java.util.jar.Manifest);
descriptor: (Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;Ljava/util/jar/Manifest;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=15, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_0
istore 5
start local 5 1: aload 4
aload 1
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
astore 6
start local 6 2: aload 0
aload 1
aload 2
aload 3
invokevirtual sun.security.tools.jarsigner.Main.getDigests:(Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;)[Ljava/lang/String;
astore 7
start local 7 3: iconst_0
istore 8
start local 8 4: goto 29
5: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] java.util.jar.Manifest int java.util.jar.Attributes java.lang.String[] int
StackMap stack:
aconst_null
astore 9
start local 9 6: aload 3
iload 8
aaload
invokevirtual java.security.MessageDigest.getAlgorithm:()Ljava/lang/String;
invokestatic sun.security.x509.AlgorithmId.get:(Ljava/lang/String;)Lsun/security/x509/AlgorithmId;
astore 10
start local 10 7: aload 6
invokevirtual java.util.jar.Attributes.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 12
goto 16
StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] java.util.jar.Manifest int java.util.jar.Attributes java.lang.String[] int java.lang.String sun.security.x509.AlgorithmId top java.util.Iterator
StackMap stack:
8: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 11
start local 11 9: aload 11
instanceof java.util.jar.Attributes$Name
ifeq 16
10: aload 11
checkcast java.util.jar.Attributes$Name
invokevirtual java.util.jar.Attributes$Name.toString:()Ljava/lang/String;
astore 13
start local 13 11: aload 13
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc "-DIGEST"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 16
12: aload 13
iconst_0
aload 13
invokevirtual java.lang.String.length:()I
bipush 7
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 14
start local 14 13: aload 14
invokestatic sun.security.x509.AlgorithmId.get:(Ljava/lang/String;)Lsun/security/x509/AlgorithmId;
aload 10
invokevirtual sun.security.x509.AlgorithmId.equals:(Lsun/security/x509/AlgorithmId;)Z
ifeq 16
14: aload 13
astore 9
15: goto 19
end local 14 end local 13 end local 11 16: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 10 17: goto 19
StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] java.util.jar.Manifest int java.util.jar.Attributes java.lang.String[] int java.lang.String
StackMap stack: java.security.NoSuchAlgorithmException
18: pop
19: StackMap locals:
StackMap stack:
aload 9
ifnonnull 24
20: new java.lang.StringBuilder
dup
aload 3
iload 8
aaload
invokevirtual java.security.MessageDigest.getAlgorithm:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-Digest"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
21: aload 6
aload 9
aload 7
iload 8
aaload
invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
22: iconst_1
istore 5
23: goto 28
24: StackMap locals:
StackMap stack:
aload 6
aload 9
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 25: aload 10
aload 7
iload 8
aaload
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 28
26: aload 6
aload 9
aload 7
iload 8
aaload
invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
27: iconst_1
istore 5
end local 10 end local 9 28: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
29: iload 8
aload 3
arraylength
if_icmplt 5
end local 8 30: iload 5
ireturn
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 31 0 this Lsun/security/tools/jarsigner/Main;
0 31 1 ze Ljava/util/zip/ZipEntry;
0 31 2 zf Ljava/util/zip/ZipFile;
0 31 3 digests [Ljava/security/MessageDigest;
0 31 4 mf Ljava/util/jar/Manifest;
1 31 5 update Z
2 31 6 attrs Ljava/util/jar/Attributes;
3 31 7 base64Digests [Ljava/lang/String;
4 30 8 i I
6 28 9 name Ljava/lang/String;
7 17 10 aid Lsun/security/x509/AlgorithmId;
9 16 11 key Ljava/lang/Object;
11 16 13 n Ljava/lang/String;
13 16 14 tmp Ljava/lang/String;
25 28 10 mfDigest Ljava/lang/String;
Exception table:
from to target type
6 17 18 Class java.security.NoSuchAlgorithmException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ze
zf
digests
mf
private com.sun.jarsigner.ContentSigner loadSigningMechanism(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lcom/sun/jarsigner/ContentSigner;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: ldc "env.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokestatic sun.security.tools.PathList.appendPath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
2: ldc "java.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokestatic sun.security.tools.PathList.appendPath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
3: aload 2
aload 3
invokestatic sun.security.tools.PathList.appendPath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
4: aload 3
invokestatic sun.security.tools.PathList.pathToURLs:(Ljava/lang/String;)[Ljava/net/URL;
astore 4
start local 4 5: new java.net.URLClassLoader
dup
aload 4
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;)V
astore 5
start local 5 6: aload 5
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 6
start local 6 7: aload 6
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
astore 7
start local 7 8: aload 7
instanceof com.sun.jarsigner.ContentSigner
ifne 14
9: new java.text.MessageFormat
dup
10: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "signerClass.is.not.a.signing.mechanism"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
11: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 8
start local 8 12: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
astore 9
start local 9 13: new java.lang.IllegalArgumentException
dup
aload 8
aload 9
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 9 end local 8 14: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.lang.String java.lang.String java.net.URL[] java.lang.ClassLoader java.lang.Class java.lang.Object
StackMap stack:
aload 7
checkcast com.sun.jarsigner.ContentSigner
areturn
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 15 0 this Lsun/security/tools/jarsigner/Main;
0 15 1 signerClassName Ljava/lang/String;
0 15 2 signerClassPath Ljava/lang/String;
1 15 3 cpString Ljava/lang/String;
5 15 4 urls [Ljava/net/URL;
6 15 5 appClassLoader Ljava/lang/ClassLoader;
7 15 6 signerClass Ljava/lang/Class<*>;
8 15 7 signer Ljava/lang/Object;
12 14 8 form Ljava/text/MessageFormat;
13 14 9 source [Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
signerClassName
signerClassPath
private static java.security.cert.TrustAnchor lambda$5(java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;)Ljava/security/cert/TrustAnchor;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.security.cert.TrustAnchor
dup
aload 0
aconst_null
invokespecial java.security.cert.TrustAnchor.<init>:(Ljava/security/cert/X509Certificate;[B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljava/security/cert/X509Certificate;
}
SourceFile: "Main.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Encoder = java.util.Base64$Encoder of java.util.Base64
public final Category = java.util.Locale$Category of java.util.Locale
public abstract Entry = java.util.Map$Entry of java.util.Map
public Name = java.util.jar.Attributes$Name of java.util.jar.Attributes
public Block = sun.security.tools.jarsigner.SignatureFile$Block of sun.security.tools.jarsigner.SignatureFile