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
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
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpne 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:
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 14
11: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 12
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
12: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
13: goto 128
StackMap locals:
StackMap stack:
14: 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 18
15: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 16
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
16: 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
17: goto 128
StackMap locals:
StackMap stack:
18: 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 22
19: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 20
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
20: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.storetype:Ljava/lang/String;
21: goto 128
StackMap locals:
StackMap stack:
22: 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 26
23: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 24
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
24: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.providerName:Ljava/lang/String;
25: goto 128
StackMap locals:
StackMap stack:
26: 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 28
27: 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 39
28: StackMap locals:
StackMap stack:
iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 29
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
29: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.providers:Ljava/util/Vector;
ifnonnull 31
30: 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;
31: 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
32: aload 1
arraylength
iload 2
iconst_1
iadd
if_icmple 128
33: aload 1
iload 2
iconst_1
iadd
aaload
astore 3
34: 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
35: aload 1
arraylength
iload 2
iconst_2
iadd
if_icmpne 36
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
36: 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
37: iinc 2 2
38: goto 128
StackMap locals:
StackMap stack:
39: 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 42
40: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.protectedPath:Z
41: goto 128
StackMap locals:
StackMap stack:
42: 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 46
43: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 44
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
44: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.altCertChain:Ljava/lang/String;
45: goto 128
StackMap locals:
StackMap stack:
46: 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 50
47: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 48
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
48: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.tSAPolicyID:Ljava/lang/String;
49: goto 128
StackMap locals:
StackMap stack:
50: 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 54
51: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 52
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
52: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.tSADigestAlg:Ljava/lang/String;
53: goto 128
StackMap locals:
StackMap stack:
54: 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 57
55: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.debug:Z
56: goto 128
StackMap locals:
StackMap stack:
57: 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 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 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
60: goto 128
StackMap locals:
StackMap stack:
61: 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 65
62: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 63
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
63: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
64: goto 128
StackMap locals:
StackMap stack:
65: 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 69
66: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 67
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
67: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
68: goto 128
StackMap locals:
StackMap stack:
69: 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 73
70: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 71
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
71: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.tsaUrl:Ljava/lang/String;
72: goto 128
StackMap locals:
StackMap stack:
73: 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 77
74: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 75
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
75: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.tsaAlias:Ljava/lang/String;
76: goto 128
StackMap locals:
StackMap stack:
77: 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 81
78: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 79
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
79: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.altSignerClass:Ljava/lang/String;
80: goto 128
StackMap locals:
StackMap stack:
81: 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 85
82: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 83
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
83: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.altSignerClasspath:Ljava/lang/String;
84: goto 128
StackMap locals:
StackMap stack:
85: 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 88
86: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.signManifest:Z
87: goto 128
StackMap locals:
StackMap stack:
88: 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 91
89: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.externalSF:Z
90: goto 128
StackMap locals:
StackMap stack:
91: 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 94
92: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.verify:Z
93: goto 128
StackMap locals:
StackMap stack:
94: 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 99
95: aload 0
aload 4
ifnull 96
aload 4
goto 97
StackMap locals:
StackMap stack: sun.security.tools.jarsigner.Main
96: 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
97: putfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
98: goto 128
StackMap locals:
StackMap stack:
99: 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 103
100: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 101
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
101: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.sigalg:Ljava/lang/String;
102: goto 128
StackMap locals:
StackMap stack:
103: 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 107
104: iinc 2 1
iload 2
aload 1
arraylength
if_icmpne 105
invokestatic sun.security.tools.jarsigner.Main.usageNoArg:()V
105: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aaload
putfield sun.security.tools.jarsigner.Main.digestalg:Ljava/lang/String;
106: goto 128
StackMap locals:
StackMap stack:
107: 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 110
108: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.showcerts:Z
109: goto 128
StackMap locals:
StackMap stack:
110: 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 113
111: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.strict:Z
112: goto 128
StackMap locals:
StackMap stack:
113: 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 115
114: 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 117
115: StackMap locals:
StackMap stack:
invokestatic sun.security.tools.jarsigner.Main.fullusage:()V
116: goto 128
117: StackMap locals:
StackMap stack:
aload 3
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 124
118: aload 0
getfield sun.security.tools.jarsigner.Main.jarfile:Ljava/lang/String;
ifnonnull 121
119: aload 0
aload 3
putfield sun.security.tools.jarsigner.Main.jarfile:Ljava/lang/String;
120: goto 128
121: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield sun.security.tools.jarsigner.Main.alias:Ljava/lang/String;
122: 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
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 58
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 51
17: aload 15
invokestatic sun.security.util.SignatureFileVerifier.isBlockOrSF:(Ljava/lang/String;)Z
ifeq 51
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 42
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 52
35: aload 7
aload 16
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 52
36: aload 7
aload 16
37: 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
38: aload 15
aastore
39: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
40: invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 18 end local 17 41: goto 52
42: 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
43: 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
44: goto 52
StackMap locals:
StackMap stack: java.io.IOException
45: pop
46: aload 7
aload 16
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 52
47: aload 7
aload 16
48: 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
49: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 16 50: goto 52
51: StackMap locals:
StackMap stack:
aload 14
aload 9
iconst_0
aload 9
arraylength
invokevirtual java.io.InputStream.read:([BII)I
iconst_m1
if_icmpne 51
end local 15 52: StackMap locals:
StackMap stack:
aload 14
ifnull 58
aload 14
invokevirtual java.io.InputStream.close:()V
goto 58
StackMap locals:
StackMap stack: java.lang.Throwable
53: astore 12
aload 14
ifnull 54
aload 14
invokevirtual java.io.InputStream.close:()V
end local 14 StackMap locals:
StackMap stack:
54: aload 12
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
55: astore 13
aload 12
ifnonnull 56
aload 13
astore 12
goto 57
StackMap locals:
StackMap stack:
56: aload 12
aload 13
if_acmpeq 57
aload 12
aload 13
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
57: aload 12
athrow
end local 11 58: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 11
59: aload 3
invokevirtual java.util.jar.JarFile.getManifest:()Ljava/util/jar/Manifest;
astore 11
start local 11 60: iconst_0
istore 12
start local 12 61: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 13
start local 13 62: aload 11
ifnull 169
63: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 64
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
64: 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 65: 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 66: goto 168
67: 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 68: aload 16
invokevirtual java.util.jar.JarEntry.getName:()Ljava/lang/String;
astore 17
start local 17 69: iload 12
ifne 72
70: aload 17
invokestatic sun.security.util.SignatureFileVerifier.isBlockOrSF:(Ljava/lang/String;)Z
ifne 72
71: iconst_0
goto 73
StackMap locals: java.util.jar.JarEntry java.lang.String
StackMap stack:
72: iconst_1
StackMap locals:
StackMap stack: int
73: istore 12
74: aload 16
invokevirtual java.util.jar.JarEntry.getCodeSigners:()[Ljava/security/CodeSigner;
astore 18
start local 18 75: aload 18
ifnull 76
iconst_1
goto 77
StackMap locals: java.security.CodeSigner[]
StackMap stack:
76: iconst_0
StackMap locals:
StackMap stack: int
77: istore 19
start local 19 78: iload 2
iload 19
ior
istore 2
79: aload 0
dup
getfield sun.security.tools.jarsigner.Main.hasUnsignedEntry:Z
aload 16
invokevirtual java.util.jar.JarEntry.isDirectory:()Z
ifne 81
iload 19
ifne 81
80: aload 0
aload 17
invokevirtual sun.security.tools.jarsigner.Main.signatureRelated:(Ljava/lang/String;)Z
ifne 81
iconst_1
goto 82
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
81: 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
82: ior
83: putfield sun.security.tools.jarsigner.Main.hasUnsignedEntry:Z
84: aload 0
aload 18
invokevirtual sun.security.tools.jarsigner.Main.inKeyStore:([Ljava/security/CodeSigner;)I
istore 20
start local 20 85: iload 20
iconst_1
iand
ifeq 86
iconst_1
goto 87
StackMap locals: int
StackMap stack:
86: iconst_0
StackMap locals:
StackMap stack: int
87: istore 21
start local 21 88: iload 20
iconst_2
iand
ifeq 89
iconst_1
goto 90
StackMap locals: int
StackMap stack:
89: iconst_0
StackMap locals:
StackMap stack: int
90: istore 22
start local 22 91: aload 0
dup
getfield sun.security.tools.jarsigner.Main.notSignedByAlias:Z
iload 20
iconst_4
iand
ifeq 92
iconst_1
goto 93
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
92: 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
93: ior
putfield sun.security.tools.jarsigner.Main.notSignedByAlias:Z
94: aload 0
getfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
ifnull 98
95: aload 0
dup
getfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
iload 19
ifeq 96
iload 21
ifne 96
iload 22
ifne 96
iconst_1
goto 97
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
96: 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
97: ior
putfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
98: StackMap locals:
StackMap stack:
aconst_null
astore 23
start local 23 99: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 127
100: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 23
101: aload 11
aload 17
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnonnull 105
102: 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 105
103: 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 105
104: iconst_0
goto 106
StackMap locals: java.lang.StringBuffer
StackMap stack:
105: iconst_1
StackMap locals:
StackMap stack: int
106: istore 24
start local 24 107: aload 23
108: new java.lang.StringBuilder
dup
iload 19
ifeq 109
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "s"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
goto 110
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 108 new 108
109: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "SPACE"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Enumeration java.lang.String java.util.jar.JarEntry java.lang.String java.security.CodeSigner[] int int int int java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer new 108 new 108 java.lang.String
110: invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
111: iload 24
ifeq 112
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "m"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
goto 113
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
112: 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
113: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
114: iload 21
ifeq 115
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "k"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
goto 116
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
115: 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
116: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
117: iload 22
ifeq 118
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
ldc "i"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
goto 119
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
118: 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
119: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
120: iload 20
iconst_4
iand
ifeq 121
ldc "X"
goto 122
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
121: 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
122: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
123: 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;
124: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
125: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
126: aload 23
ldc "|"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 24 127: StackMap locals:
StackMap stack:
iload 19
ifeq 138
128: aload 0
getfield sun.security.tools.jarsigner.Main.showcerts:Z
ifeq 129
aload 23
bipush 10
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
129: StackMap locals:
StackMap stack:
aload 18
dup
astore 27
arraylength
istore 26
iconst_0
istore 25
goto 136
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:
130: aload 27
iload 25
aaload
astore 24
start local 24 131: 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 132: aload 0
getfield sun.security.tools.jarsigner.Main.showcerts:Z
ifeq 135
133: aload 23
aload 28
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
134: aload 23
bipush 10
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 28 end local 24 135: StackMap locals:
StackMap stack:
iinc 25 1
StackMap locals:
StackMap stack:
136: iload 25
iload 26
if_icmplt 130
137: goto 151
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:
138: aload 0
getfield sun.security.tools.jarsigner.Main.showcerts:Z
ifeq 151
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ldc "all"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 151
139: aload 0
aload 17
invokevirtual sun.security.tools.jarsigner.Main.signatureRelated:(Ljava/lang/String;)Z
ifeq 146
140: 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;
141: ldc ".Signature.related.entries."
142: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
143: ldc "\n\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
144: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
145: goto 151
146: 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;
147: ldc ".Unsigned.entries."
148: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
149: ldc "\n\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
150: invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
151: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 168
152: aload 23
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
astore 24
start local 24 153: aload 0
aload 17
invokevirtual sun.security.tools.jarsigner.Main.signatureRelated:(Ljava/lang/String;)Z
ifeq 155
154: 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
155: StackMap locals: java.lang.String
StackMap stack:
aload 13
aload 24
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 157
156: 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
157: StackMap locals:
StackMap stack:
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 25
start local 25 158: aload 16
invokevirtual java.util.jar.JarEntry.getSize:()J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
astore 26
start local 26 159: bipush 6
aload 26
invokevirtual java.lang.String.length:()I
isub
istore 27
start local 27 160: goto 163
161: 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
162: iinc 27 -1
StackMap locals:
StackMap stack:
163: iload 27
ifgt 161
end local 27 164: 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;
165: 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
166: 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
167: 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 168: 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 67
end local 15 end local 14 169: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 221
170: aload 13
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 203
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:
171: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 14
start local 14 172: aload 14
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
astore 16
start local 16 173: aload 14
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 17
start local 17 174: aload 17
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpne 176
175: aload 17
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 17
176: StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int java.util.jar.JarFile java.util.Map java.util.Map java.util.Map java.util.Map java.util.Vector byte[] java.util.Enumeration java.util.jar.Manifest int java.util.Map java.util.Map$Entry java.util.Iterator java.util.List java.lang.String
StackMap stack:
aload 17
bipush 124
invokevirtual java.lang.String.indexOf:(I)I
istore 18
start local 18 177: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ldc "all"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 184
178: aload 16
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 20
goto 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 top java.util.Iterator
StackMap stack:
179: aload 20
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 19
start local 19 180: 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
181: 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 182: StackMap locals:
StackMap stack:
aload 20
invokeinterface java.util.Iterator.hasNext:()Z
ifne 179
183: goto 203
184: 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 190
185: aload 16
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 20
goto 188
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:
186: aload 20
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 19
start local 19 187: 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 188: StackMap locals:
StackMap stack:
aload 20
invokeinterface java.util.Iterator.hasNext:()Z
ifne 186
189: goto 202
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:
190: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ldc "summary"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 202
191: 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
192: aload 16
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 201
193: 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;
194: getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
195: ldc ".and.d.more."
196: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
197: aload 16
invokeinterface java.util.List.size:()I
iconst_1
isub
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
198: 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;
199: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
200: goto 202
201: 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
202: 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 203: 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 171
204: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
205: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
206: ldc ".s.signature.was.verified."
207: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
208: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
209: ldc ".m.entry.is.listed.in.manifest"
210: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
211: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
212: ldc ".k.at.least.one.certificate.was.found.in.keystore"
213: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
214: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
215: ldc ".i.at.least.one.certificate.was.found.in.identity.scope"
216: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
217: aload 0
getfield sun.security.tools.jarsigner.Main.ckaliases:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifle 221
218: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
219: ldc ".X.not.signed.by.specified.alias.es."
220: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
221: 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 224
222: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
223: 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
224: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Map.isEmpty:()Z
ifeq 227
225: aload 5
invokeinterface java.util.Map.isEmpty:()Z
ifeq 227
226: aload 7
invokeinterface java.util.Map.isEmpty:()Z
ifne 300
227: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 229
228: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
229: 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 236
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:
230: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 14
start local 14 231: aload 4
aload 14
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 236
232: aload 7
aload 14
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 236
233: aload 7
aload 14
234: 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
235: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 14 236: StackMap locals:
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 230
237: aload 4
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 294
StackMap locals:
StackMap stack:
238: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 14
start local 14 239: 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 240: aload 16
ifnull 290
241: aload 16
invokevirtual sun.security.pkcs.PKCS7.getSignerInfos:()[Lsun/security/pkcs/SignerInfo;
iconst_0
aaload
astore 18
start local 18 242: aload 18
aload 16
invokevirtual sun.security.pkcs.SignerInfo.getCertificate:(Lsun/security/pkcs/PKCS7;)Ljava/security/cert/X509Certificate;
astore 19
start local 19 243: aload 4
aload 14
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 20
start local 20 244: aload 18
invokevirtual sun.security.pkcs.SignerInfo.getDigestAlgorithmId:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
245: aload 18
invokevirtual sun.security.pkcs.SignerInfo.getDigestEncryptionAlgorithmId:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
246: invokestatic sun.security.x509.AlgorithmId.makeSigAlg:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 21
start local 21 247: aload 19
invokevirtual java.security.cert.X509Certificate.getPublicKey:()Ljava/security/PublicKey;
astore 22
start local 22 248: aload 18
invokevirtual sun.security.pkcs.SignerInfo.getTsToken:()Lsun/security/pkcs/PKCS7;
astore 23
start local 23 249: aload 23
ifnull 276
250: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.hasTimestampBlock:Z
251: aload 23
invokevirtual sun.security.pkcs.PKCS7.getSignerInfos:()[Lsun/security/pkcs/SignerInfo;
iconst_0
aaload
astore 24
start local 24 252: aload 24
aload 23
invokevirtual sun.security.pkcs.SignerInfo.getCertificate:(Lsun/security/pkcs/PKCS7;)Ljava/security/cert/X509Certificate;
astore 25
start local 25 253: aload 23
invokevirtual sun.security.pkcs.PKCS7.getContentInfo:()Lsun/security/pkcs/ContentInfo;
invokevirtual sun.security.pkcs.ContentInfo.getData:()[B
astore 26
start local 26 254: new sun.security.timestamp.TimestampToken
dup
aload 26
invokespecial sun.security.timestamp.TimestampToken.<init>:([B)V
astore 27
start local 27 255: aload 25
invokevirtual java.security.cert.X509Certificate.getPublicKey:()Ljava/security/PublicKey;
astore 28
start local 28 256: 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 257: aload 24
invokevirtual sun.security.pkcs.SignerInfo.getDigestAlgorithmId:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
258: aload 24
invokevirtual sun.security.pkcs.SignerInfo.getDigestEncryptionAlgorithmId:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
259: invokestatic sun.security.x509.AlgorithmId.makeSigAlg:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 30
start local 30 260: ldc "UTC"
invokestatic java.util.TimeZone.getTimeZone:(Ljava/lang/String;)Ljava/util/TimeZone;
261: getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
262: invokestatic java.util.Calendar.getInstance:(Ljava/util/TimeZone;Ljava/util/Locale;)Ljava/util/Calendar;
astore 31
start local 31 263: aload 31
aload 27
invokevirtual sun.security.timestamp.TimestampToken.getDate:()Ljava/util/Date;
invokevirtual java.util.Calendar.setTime:(Ljava/util/Date;)V
264: 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
265: aload 19
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
aastore
dup
iconst_1
266: 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
267: 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
268: aload 0
aload 22
invokevirtual sun.security.tools.jarsigner.Main.withWeak:(Ljava/security/PublicKey;)Ljava/lang/String;
aastore
dup
iconst_4
269: aload 31
aastore
dup
iconst_5
270: aload 25
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
aastore
dup
bipush 6
271: 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
272: 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
273: aload 0
aload 28
invokevirtual sun.security.tools.jarsigner.Main.withWeak:(Ljava/security/PublicKey;)Ljava/lang/String;
aastore
274: 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 275: goto 287
end local 17 276: 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
277: aload 19
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
aastore
dup
iconst_1
278: 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
279: 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
280: aload 0
aload 22
invokevirtual sun.security.tools.jarsigner.Main.withWeak:(Ljava/security/PublicKey;)Ljava/lang/String;
aastore
281: 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 282: goto 287
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
283: pop
284: 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
285: aload 6
aload 14
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
286: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 17
start local 17 287: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 294
288: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 17
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 17 289: goto 294
290: StackMap locals:
StackMap stack:
aload 7
aload 14
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 294
291: aload 7
aload 14
292: 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
293: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 16 end local 14 294: 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 238
295: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 300
296: aload 7
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 299
StackMap locals:
StackMap stack:
297: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 14
start local 14 298: 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 299: StackMap locals:
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 297
300: 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
301: aload 0
getfield sun.security.tools.jarsigner.Main.aliasNotInStore:Z
ifne 303
aload 0
getfield sun.security.tools.jarsigner.Main.keystore:Ljava/lang/String;
ifnull 303
302: aload 0
iconst_0
putfield sun.security.tools.jarsigner.Main.signerSelfSigned:Z
303: StackMap locals:
StackMap stack:
iload 2
ifne 318
304: aload 0
getfield sun.security.tools.jarsigner.Main.seeWeak:Z
ifeq 313
305: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 311
306: 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
307: 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
308: 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;
309: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
310: goto 319
311: 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
312: goto 319
StackMap locals:
StackMap stack:
313: iload 12
ifeq 316
314: 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
315: goto 319
316: 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
317: goto 319
318: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual sun.security.tools.jarsigner.Main.displayMessagesAndResult:(Z)V
319: StackMap locals:
StackMap stack:
aload 3
ifnull 321
320: aload 3
invokevirtual java.util.jar.JarFile.close:()V
321: StackMap locals:
StackMap stack:
return
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 322: 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 323: 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
324: aload 0
getfield sun.security.tools.jarsigner.Main.debug:Z
ifeq 326
325: aload 8
invokevirtual java.lang.Exception.printStackTrace:()V
end local 8 326: StackMap locals:
StackMap stack:
aload 3
ifnull 332
327: aload 3
invokevirtual java.util.jar.JarFile.close:()V
goto 332
328: StackMap locals:
StackMap stack: java.lang.Throwable
astore 32
329: aload 3
ifnull 331
330: aload 3
invokevirtual java.util.jar.JarFile.close:()V
331: 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
332: 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
333: 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 334 0 this Lsun/security/tools/jarsigner/Main;
0 334 1 jarName Ljava/lang/String;
1 334 2 anySigned Z
2 334 3 jf Ljava/util/jar/JarFile;
3 334 4 digestMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
4 334 5 sigMap Ljava/util/Map<Ljava/lang/String;Lsun/security/pkcs/PKCS7;>;
5 334 6 sigNameMap Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
6 334 7 unparsableSignatures Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
8 322 8 entriesVec Ljava/util/Vector<Ljava/util/jar/JarEntry;>;
9 322 9 buffer [B
10 322 10 entries Ljava/util/Enumeration<Ljava/util/jar/JarEntry;>;
12 58 11 je Ljava/util/jar/JarEntry;
15 54 14 is Ljava/io/InputStream;
16 52 15 name Ljava/lang/String;
21 50 16 alias Ljava/lang/String;
23 41 17 sf Ljava/util/jar/Manifest;
24 41 18 found Z
26 33 19 obj Ljava/lang/Object;
27 33 21 key Ljava/lang/String;
60 322 11 man Ljava/util/jar/Manifest;
61 322 12 hasSignature Z
62 322 13 output Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
65 169 14 e Ljava/util/Enumeration<Ljava/util/jar/JarEntry;>;
66 169 15 tab Ljava/lang/String;
68 168 16 je Ljava/util/jar/JarEntry;
69 168 17 name Ljava/lang/String;
75 168 18 signers [Ljava/security/CodeSigner;
78 168 19 isSigned Z
85 168 20 inStoreOrScope I
88 168 21 inStore Z
91 168 22 inScope Z
99 168 23 sb Ljava/lang/StringBuffer;
107 127 24 inManifest Z
131 135 24 signer Ljava/security/CodeSigner;
132 135 28 si Ljava/lang/String;
153 168 24 label Ljava/lang/String;
158 168 25 fb Ljava/lang/StringBuffer;
159 168 26 s Ljava/lang/String;
160 164 27 i I
172 203 14 s Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
173 203 16 files Ljava/util/List<Ljava/lang/String;>;
174 203 17 key Ljava/lang/String;
177 203 18 pipe I
180 182 19 f Ljava/lang/String;
187 188 19 f Ljava/lang/String;
231 236 14 s Ljava/lang/String;
239 294 14 s Ljava/lang/String;
240 294 16 p7 Lsun/security/pkcs/PKCS7;
275 276 17 history Ljava/lang/String;
282 283 17 history Ljava/lang/String;
287 289 17 history Ljava/lang/String;
242 282 18 si Lsun/security/pkcs/SignerInfo;
243 282 19 signer Ljava/security/cert/X509Certificate;
244 282 20 digestAlg Ljava/lang/String;
247 282 21 sigAlg Ljava/lang/String;
248 282 22 key Ljava/security/PublicKey;
249 282 23 tsToken Lsun/security/pkcs/PKCS7;
252 275 24 tsSi Lsun/security/pkcs/SignerInfo;
253 275 25 tsSigner Ljava/security/cert/X509Certificate;
254 275 26 encTsTokenInfo [B
255 275 27 tsTokenInfo Lsun/security/timestamp/TimestampToken;
256 275 28 tsKey Ljava/security/PublicKey;
257 275 29 tsDigestAlg Ljava/lang/String;
260 275 30 tsSigAlg Ljava/lang/String;
263 275 31 c Ljava/util/Calendar;
298 299 14 s Ljava/lang/String;
323 326 8 e Ljava/lang/Exception;
Exception table:
from to target type
21 44 45 Class java.io.IOException
15 52 53 any
14 55 55 any
241 282 283 Class java.lang.Exception
6 319 322 Class java.lang.Exception
6 319 328 any
322 326 328 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=9, 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 168
153: aload 3
invokeinterface java.util.List.isEmpty:()Z
ifne 160
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
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 159
StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int top java.util.Iterator
StackMap stack:
157: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 158: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 7
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 7 159: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 157
160: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack:
aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 179
161: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
162: 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
163: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 166
StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int top java.util.Iterator
StackMap stack:
164: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 165: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 7
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 7 166: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 164
167: goto 179
168: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack:
aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 169
aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 179
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;
ldc "Warning."
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
171: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 174
StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int top java.util.Iterator
StackMap stack:
172: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 173: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 7
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 7 174: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 172
175: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 178
StackMap locals:
StackMap stack:
176: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 177: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 7
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 7 178: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 176
179: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
StackMap stack:
iload 1
ifne 185
aload 3
invokeinterface java.util.List.isEmpty:()Z
ifeq 180
aload 4
invokeinterface java.util.List.isEmpty:()Z
ifne 185
180: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 181
aload 0
getfield sun.security.tools.jarsigner.Main.showcerts:Z
ifne 185
181: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
182: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
183: ldc "Re.run.with.the.verbose.and.certs.options.for.more.details."
184: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
185: StackMap locals:
StackMap stack:
iload 1
ifne 186
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 208
186: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiringCert:Z
ifne 193
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredCert:Z
ifne 193
187: aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
ifnull 193
iload 6
ifeq 193
188: aload 5
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
189: ldc "The.signer.certificate.will.expire.on.1."
190: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
191: aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
aastore
192: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
193: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.noTimestamp:Z
ifne 208
194: aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiringTsaCert:Z
ifne 208
aload 0
getfield sun.security.tools.jarsigner.Main.hasExpiredTsaCert:Z
ifne 208
aload 0
getfield sun.security.tools.jarsigner.Main.tsaExpireDate:Ljava/util/Date;
ifnull 208
195: iload 6
ifeq 202
196: aload 5
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
197: ldc "The.timestamp.will.expire.on.1."
198: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
199: aload 0
getfield sun.security.tools.jarsigner.Main.tsaExpireDate:Ljava/util/Date;
aastore
200: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
201: goto 208
202: StackMap locals:
StackMap stack:
aload 5
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
203: ldc "signer.cert.expired.1.but.timestamp.good.2."
204: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
iconst_2
anewarray java.lang.Object
dup
iconst_0
205: aload 0
getfield sun.security.tools.jarsigner.Main.expireDate:Ljava/util/Date;
aastore
dup
iconst_1
206: aload 0
getfield sun.security.tools.jarsigner.Main.tsaExpireDate:Ljava/util/Date;
aastore
207: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
208: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.isEmpty:()Z
ifne 214
209: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
210: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 213
StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int top java.util.Iterator
StackMap stack:
211: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 212: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 7
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 7 213: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 211
214: StackMap locals: sun.security.tools.jarsigner.Main int java.lang.String java.util.List java.util.List java.util.List int
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 215 0 this Lsun/security/tools/jarsigner/Main;
0 215 1 isSigning Z
19 20 2 result Ljava/lang/String;
24 101 2 result Ljava/lang/String;
104 215 2 result Ljava/lang/String;
1 215 3 errors Ljava/util/List<Ljava/lang/String;>;
2 215 4 warnings Ljava/util/List<Ljava/lang/String;>;
3 215 5 info Ljava/util/List<Ljava/lang/String;>;
8 215 6 signerNotExpired Z
158 159 7 s Ljava/lang/String;
165 166 7 s Ljava/lang/String;
173 174 7 s Ljava/lang/String;
177 178 7 s Ljava/lang/String;
212 213 7 s Ljava/lang/String;
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=37, 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 sun.security.tools.jarsigner.JarBASE64Encoder
dup
invokespecial sun.security.tools.jarsigner.JarBASE64Encoder.<init>:()V
astore 24
start local 24 90: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 25
start local 25 91: iconst_0
istore 26
start local 26 92: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
invokevirtual java.util.zip.ZipFile.entries:()Ljava/util/Enumeration;
astore 27
start local 27 93: goto 117
94: 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 sun.misc.BASE64Encoder java.util.Vector int java.util.Enumeration
StackMap stack:
aload 27
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 28
start local 28 95: aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
ldc "META-INF/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 103
96: aload 25
aload 28
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
97: aload 28
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;
98: invokestatic sun.security.util.SignatureFileVerifier.isBlockOrSF:(Ljava/lang/String;)Z
99: ifeq 101
100: iconst_1
istore 26
101: StackMap locals: java.util.zip.ZipEntry
StackMap stack:
aload 0
aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.signatureRelated:(Ljava/lang/String;)Z
ifeq 103
102: goto 117
103: StackMap locals:
StackMap stack:
aload 16
aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnull 110
104: aload 0
aload 28
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
aload 22
aload 24
105: aload 16
106: invokevirtual sun.security.tools.jarsigner.Main.updateDigests:(Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;Lsun/misc/BASE64Encoder;Ljava/util/jar/Manifest;)Z
107: ifeq 117
108: iconst_1
istore 19
109: goto 117
StackMap locals:
StackMap stack:
110: aload 28
invokevirtual java.util.zip.ZipEntry.isDirectory:()Z
ifne 117
111: aload 0
aload 28
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
112: aload 22
113: aload 24
114: invokevirtual sun.security.tools.jarsigner.Main.getDigestAttributes:(Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;Lsun/misc/BASE64Encoder;)Ljava/util/jar/Attributes;
astore 29
start local 29 115: aload 17
aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 29
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
116: iconst_1
istore 19
end local 29 end local 28 117: StackMap locals:
StackMap stack:
aload 27
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 94
end local 27 118: iload 19
ifeq 143
119: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 27
start local 27 120: aload 16
aload 27
invokevirtual java.util.jar.Manifest.write:(Ljava/io/OutputStream;)V
121: iload 26
ifeq 142
122: aload 27
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 28
start local 28 123: aload 21
ifnull 140
124: 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 140
125: aload 0
aload 28
invokevirtual sun.security.tools.jarsigner.Main.findHeaderEnd:([B)I
istore 29
start local 29 126: aload 0
aload 21
invokevirtual sun.security.tools.jarsigner.Main.findHeaderEnd:([B)I
istore 30
start local 30 127: iload 29
iload 30
if_icmpne 130
128: aload 21
iconst_0
aload 28
iconst_0
iload 30
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
129: goto 140
130: 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 sun.misc.BASE64Encoder java.util.Vector int java.io.ByteArrayOutputStream byte[] int int
StackMap stack:
iload 30
131: aload 28
arraylength
132: iadd
133: iload 29
134: isub
newarray 8
astore 31
start local 31 135: aload 21
iconst_0
aload 31
iconst_0
iload 30
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
136: aload 28
iload 29
aload 31
iload 30
137: aload 28
arraylength
iload 29
isub
138: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
139: aload 31
astore 28
end local 31 end local 30 end local 29 140: StackMap locals:
StackMap stack:
aload 28
astore 21
end local 28 141: goto 143
142: StackMap locals:
StackMap stack:
aload 27
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 21
end local 27 143: StackMap locals:
StackMap stack:
iload 19
ifeq 145
144: new java.util.zip.ZipEntry
dup
ldc "META-INF/MANIFEST.MF"
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 23
145: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 155
146: iload 20
ifeq 151
147: 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
148: 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;
149: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
150: goto 155
StackMap locals:
StackMap stack:
151: iload 19
ifeq 155
152: 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
153: 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;
154: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
155: StackMap locals:
StackMap stack:
aload 13
aload 23
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
156: aload 13
aload 21
invokevirtual java.util.zip.ZipOutputStream.write:([B)V
157: new sun.security.util.ManifestDigester
dup
aload 21
invokespecial sun.security.util.ManifestDigester.<init>:([B)V
astore 27
start local 27 158: new sun.security.tools.jarsigner.SignatureFile
dup
aload 22
aload 16
aload 27
159: aload 0
getfield sun.security.tools.jarsigner.Main.sigfile:Ljava/lang/String;
aload 0
getfield sun.security.tools.jarsigner.Main.signManifest:Z
160: invokespecial sun.security.tools.jarsigner.SignatureFile.<init>:([Ljava/security/MessageDigest;Ljava/util/jar/Manifest;Lsun/security/util/ManifestDigester;Ljava/lang/String;Z)V
astore 28
start local 28 161: aload 0
getfield sun.security.tools.jarsigner.Main.tsaAlias:Ljava/lang/String;
ifnull 163
162: 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
163: 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 165
aload 6
ifnonnull 165
164: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.noTimestamp:Z
165: StackMap locals:
StackMap stack:
aconst_null
astore 29
start local 29 166: aload 28
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;
167: 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;
168: 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;
169: 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;
170: astore 29
171: goto 181
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 sun.misc.BASE64Encoder java.util.Vector int sun.security.util.ManifestDigester sun.security.tools.jarsigner.SignatureFile sun.security.tools.jarsigner.SignatureFile$Block
StackMap stack: java.net.SocketTimeoutException
172: astore 30
start local 30 173: 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
174: 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;
175: ldc "\n -J-Dhttp.proxyHost=<hostname>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
176: ldc "\n -J-Dhttp.proxyPort=<portnumber>\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
177: 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;
178: ldc "\n -J-Dhttps.proxyHost=<hostname> "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
179: 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 30
180: invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;Ljava/lang/Exception;)V
end local 30 181: StackMap locals:
StackMap stack:
aload 28
invokevirtual sun.security.tools.jarsigner.SignatureFile.getMetaName:()Ljava/lang/String;
astore 14
182: aload 29
invokevirtual sun.security.tools.jarsigner.SignatureFile$Block.getMetaName:()Ljava/lang/String;
astore 15
183: new java.util.zip.ZipEntry
dup
aload 14
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 30
start local 30 184: new java.util.zip.ZipEntry
dup
aload 15
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 31
start local 31 185: invokestatic java.lang.System.currentTimeMillis:()J
lstore 32
start local 32 186: aload 30
lload 32
invokevirtual java.util.zip.ZipEntry.setTime:(J)V
187: aload 31
lload 32
invokevirtual java.util.zip.ZipEntry.setTime:(J)V
188: aload 13
aload 30
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
189: aload 28
aload 13
invokevirtual sun.security.tools.jarsigner.SignatureFile.write:(Ljava/io/OutputStream;)V
190: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 199
191: 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 196
192: 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
193: aload 14
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
194: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
195: goto 199
196: 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
197: aload 14
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
198: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
199: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 219
200: aload 0
getfield sun.security.tools.jarsigner.Main.tsaUrl:Ljava/lang/String;
ifnonnull 201
aload 6
ifnull 204
201: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
202: 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;
203: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
204: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.tsaUrl:Ljava/lang/String;
ifnull 206
205: 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
206: StackMap locals:
StackMap stack:
aload 6
ifnull 215
207: aload 6
invokestatic sun.security.tools.jarsigner.TimestampedSigner.getTimestampingURI:(Ljava/security/cert/X509Certificate;)Ljava/net/URI;
astore 34
start local 34 208: aload 34
ifnull 212
209: 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
210: aload 34
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
211: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
212: 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
213: 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;
214: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 34 215: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.signingMechanism:Lcom/sun/jarsigner/ContentSigner;
ifnull 219
216: getstatic java.lang.System.out:Ljava/io/PrintStream;
217: 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;
218: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
219: StackMap locals:
StackMap stack:
aload 13
aload 31
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
220: aload 29
aload 13
invokevirtual sun.security.tools.jarsigner.SignatureFile$Block.write:(Ljava/io/OutputStream;)V
221: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 230
222: 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 227
223: 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
224: aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
225: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
226: goto 230
227: 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
228: aload 15
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
229: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
230: StackMap locals:
StackMap stack:
iconst_0
istore 34
start local 34 231: goto 238
232: StackMap locals: int
StackMap stack:
aload 25
iload 34
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 35
start local 35 233: aload 35
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
ldc "META-INF/MANIFEST.MF"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 237
234: aload 35
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 14
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 237
235: aload 35
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 15
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 237
236: aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
aload 13
aload 35
invokevirtual sun.security.tools.jarsigner.Main.writeEntry:(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipOutputStream;Ljava/util/zip/ZipEntry;)V
end local 35 237: StackMap locals:
StackMap stack:
iinc 34 1
StackMap locals:
StackMap stack:
238: iload 34
aload 25
invokevirtual java.util.Vector.size:()I
if_icmplt 232
end local 34 239: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
invokevirtual java.util.zip.ZipFile.entries:()Ljava/util/Enumeration;
astore 34
start local 34 240: goto 253
241: 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 sun.misc.BASE64Encoder 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 34
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 35
start local 35 242: aload 35
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
ldc "META-INF/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 253
243: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 252
244: aload 16
aload 35
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnull 249
245: 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
246: aload 35
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;
247: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
248: goto 252
249: 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
250: aload 35
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;
251: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
252: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
aload 13
aload 35
invokevirtual sun.security.tools.jarsigner.Main.writeEntry:(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipOutputStream;Ljava/util/zip/ZipEntry;)V
end local 35 253: StackMap locals:
StackMap stack:
aload 34
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 241
end local 34 end local 32 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 254: goto 269
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
255: astore 22
start local 22 256: 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 257: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
ifnull 260
258: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
invokevirtual java.util.zip.ZipFile.close:()V
259: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
260: StackMap locals:
StackMap stack:
aload 13
ifnull 274
261: aload 13
invokevirtual java.util.zip.ZipOutputStream.close:()V
goto 274
262: StackMap locals:
StackMap stack: java.lang.Throwable
astore 36
263: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
ifnull 266
264: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
invokevirtual java.util.zip.ZipFile.close:()V
265: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
266: 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 top java.lang.Throwable
StackMap stack:
aload 13
ifnull 268
267: aload 13
invokevirtual java.util.zip.ZipOutputStream.close:()V
268: StackMap locals:
StackMap stack:
aload 36
athrow
269: 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 272
270: aload 0
getfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
invokevirtual java.util.zip.ZipFile.close:()V
271: aload 0
aconst_null
putfield sun.security.tools.jarsigner.Main.zipFile:Ljava/util/zip/ZipFile;
272: StackMap locals:
StackMap stack:
aload 13
ifnull 274
273: aload 13
invokevirtual java.util.zip.ZipOutputStream.close:()V
274: StackMap locals:
StackMap stack:
aconst_null
astore 22
aconst_null
astore 23
275: new java.util.jar.JarFile
dup
aload 10
invokespecial java.util.jar.JarFile.<init>:(Ljava/io/File;)V
astore 24
start local 24 276: new sun.security.pkcs.PKCS7
dup
aload 24
aload 24
277: 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;
278: 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 279: aconst_null
astore 26
start local 26 280: aload 25
invokevirtual sun.security.pkcs.PKCS7.getSignerInfos:()[Lsun/security/pkcs/SignerInfo;
iconst_0
aaload
astore 27
start local 27 281: aload 27
invokevirtual sun.security.pkcs.SignerInfo.getTsToken:()Lsun/security/pkcs/PKCS7;
ifnull 283
282: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.hasTimestampBlock:Z
283: 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 284: goto 288
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
285: astore 27
start local 27 286: aload 0
iconst_1
putfield sun.security.tools.jarsigner.Main.tsaChainNotValidated:Z
287: aload 0
aload 27
putfield sun.security.tools.jarsigner.Main.tsaChainNotValidatedReason:Ljava/lang/Throwable;
end local 27 288: 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 289: aload 0
getfield sun.security.tools.jarsigner.Main.verbose:Ljava/lang/String;
ifnull 291
290: 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 291: StackMap locals:
StackMap stack:
aload 24
ifnull 300
aload 24
invokevirtual java.util.jar.JarFile.close:()V
goto 300
StackMap locals:
StackMap stack: java.lang.Throwable
292: astore 22
aload 24
ifnull 293
aload 24
invokevirtual java.util.jar.JarFile.close:()V
end local 24 StackMap locals:
StackMap stack:
293: aload 22
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
294: astore 23
aload 22
ifnonnull 295
aload 23
astore 22
goto 296
StackMap locals:
StackMap stack:
295: aload 22
aload 23
if_acmpeq 296
aload 22
aload 23
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
296: 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
297: astore 22
start local 22 298: aload 0
getfield sun.security.tools.jarsigner.Main.debug:Z
ifeq 300
299: aload 22
invokevirtual java.lang.Exception.printStackTrace:()V
end local 22 300: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.signedjar:Ljava/lang/String;
ifnonnull 318
301: aload 10
aload 9
invokevirtual java.io.File.renameTo:(Ljava/io/File;)Z
ifne 318
302: 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 303: aload 9
aload 22
invokevirtual java.io.File.renameTo:(Ljava/io/File;)Z
ifeq 313
304: aload 10
aload 9
invokevirtual java.io.File.renameTo:(Ljava/io/File;)Z
ifeq 307
305: aload 22
invokevirtual java.io.File.delete:()Z
pop
306: goto 318
307: StackMap locals: java.io.File
StackMap stack:
new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
308: ldc "attempt.to.rename.signedJarFile.to.jarFile.failed"
309: 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 310: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 10
aastore
dup
iconst_1
aload 9
aastore
astore 24
start local 24 311: 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 312: goto 318
313: StackMap locals:
StackMap stack:
new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
314: ldc "attempt.to.rename.jarFile.to.origJar.failed"
315: 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 316: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
dup
iconst_1
aload 22
aastore
astore 24
start local 24 317: 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 318: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual sun.security.tools.jarsigner.Main.displayMessagesAndResult:(Z)V
319: 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 320 0 this Lsun/security/tools/jarsigner/Main;
0 320 1 jarName Ljava/lang/String;
0 320 2 alias Ljava/lang/String;
0 320 3 args [Ljava/lang/String;
4 320 4 dac Lsun/security/util/DisabledAlgorithmConstraints;
20 320 5 aliasUsed Z
21 320 6 tsaCert Ljava/security/cert/X509Certificate;
29 320 7 tmpSigFile Ljava/lang/StringBuilder;
30 46 8 j I
32 44 9 c C
48 49 8 tmpJarName Ljava/lang/String;
50 320 8 tmpJarName Ljava/lang/String;
51 320 9 jarFile Ljava/io/File;
52 320 10 signedJarFile Ljava/io/File;
55 56 11 ioe Ljava/io/IOException;
57 320 11 fos Ljava/io/FileOutputStream;
60 61 12 ioe Ljava/io/IOException;
62 320 12 ps Ljava/io/PrintStream;
63 320 13 zos Ljava/util/zip/ZipOutputStream;
64 320 14 sfFilename Ljava/lang/String;
65 320 15 bkFilename Ljava/lang/String;
66 320 16 manifest Ljava/util/jar/Manifest;
67 320 17 mfEntries Ljava/util/Map<Ljava/lang/String;Ljava/util/jar/Attributes;>;
68 320 18 oldAttr Ljava/util/jar/Attributes;
69 320 19 mfModified Z
70 320 20 mfCreated Z
71 320 21 mfRawBytes [B
72 254 22 digests [Ljava/security/MessageDigest;
73 254 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 254 24 encoder Lsun/misc/BASE64Encoder;
91 254 25 mfFiles Ljava/util/Vector<Ljava/util/zip/ZipEntry;>;
92 254 26 wasSigned Z
93 118 27 enum_ Ljava/util/Enumeration<+Ljava/util/zip/ZipEntry;>;
95 117 28 ze Ljava/util/zip/ZipEntry;
115 117 29 attrs Ljava/util/jar/Attributes;
120 143 27 baos Ljava/io/ByteArrayOutputStream;
123 141 28 newBytes [B
126 140 29 newPos I
127 140 30 oldPos I
135 140 31 lastBytes [B
158 254 27 manDig Lsun/security/util/ManifestDigester;
161 254 28 sf Lsun/security/tools/jarsigner/SignatureFile;
166 254 29 block Lsun/security/tools/jarsigner/SignatureFile$Block;
173 181 30 e Ljava/net/SocketTimeoutException;
184 254 30 sfFile Ljava/util/zip/ZipEntry;
185 254 31 bkFile Ljava/util/zip/ZipEntry;
186 254 32 time J
208 215 34 tsaURI Ljava/net/URI;
231 239 34 i I
233 237 35 ze Ljava/util/zip/ZipEntry;
240 254 34 enum_ Ljava/util/Enumeration<+Ljava/util/zip/ZipEntry;>;
242 253 35 ze Ljava/util/zip/ZipEntry;
256 257 22 ioe Ljava/io/IOException;
276 293 24 check Ljava/util/jar/JarFile;
279 291 25 p7 Lsun/security/pkcs/PKCS7;
280 291 26 ts Ljava/security/Timestamp;
281 284 27 si Lsun/security/pkcs/SignerInfo;
286 288 27 e Ljava/lang/Exception;
289 291 27 result Ljava/lang/String;
298 300 22 e Ljava/lang/Exception;
303 318 22 origJar Ljava/io/File;
310 312 23 form Ljava/text/MessageFormat;
311 312 24 source [Ljava/lang/Object;
316 318 23 form Ljava/text/MessageFormat;
317 318 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
166 171 172 Class java.net.SocketTimeoutException
71 254 255 Class java.io.IOException
71 257 262 any
280 284 285 Class java.lang.Exception
276 291 292 any
275 294 294 any
274 297 297 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=10, 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: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 7
start local 7 61: aload 0
getfield sun.security.tools.jarsigner.Main.trustedCerts:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 64
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int top top top java.lang.Throwable java.util.Set top java.util.Iterator
StackMap stack:
62: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.cert.X509Certificate
astore 8
start local 8 63: aload 7
new java.security.cert.TrustAnchor
dup
aload 8
aconst_null
invokespecial java.security.cert.TrustAnchor.<init>:(Ljava/security/cert/X509Certificate;[B)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 8 64: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 62
65: aload 0
new java.security.cert.PKIXBuilderParameters
dup
aload 7
aconst_null
invokespecial java.security.cert.PKIXBuilderParameters.<init>:(Ljava/util/Set;Ljava/security/cert/CertSelector;)V
putfield sun.security.tools.jarsigner.Main.pkixParameters:Ljava/security/cert/PKIXBuilderParameters;
66: aload 0
getfield sun.security.tools.jarsigner.Main.pkixParameters:Ljava/security/cert/PKIXBuilderParameters;
iconst_0
invokevirtual java.security.cert.PKIXBuilderParameters.setRevocationEnabled:(Z)V
end local 7 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:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 7
start local 7 71: aload 0
getfield sun.security.tools.jarsigner.Main.trustedCerts:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 74
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int top top top top java.util.Set top java.util.Iterator
StackMap stack:
72: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.cert.X509Certificate
astore 8
start local 8 73: aload 7
new java.security.cert.TrustAnchor
dup
aload 8
aconst_null
invokespecial java.security.cert.TrustAnchor.<init>:(Ljava/security/cert/X509Certificate;[B)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 8 74: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 72
75: aload 0
new java.security.cert.PKIXBuilderParameters
dup
aload 7
aconst_null
invokespecial java.security.cert.PKIXBuilderParameters.<init>:(Ljava/util/Set;Ljava/security/cert/CertSelector;)V
putfield sun.security.tools.jarsigner.Main.pkixParameters:Ljava/security/cert/PKIXBuilderParameters;
76: aload 0
getfield sun.security.tools.jarsigner.Main.pkixParameters:Ljava/security/cert/PKIXBuilderParameters;
iconst_0
invokevirtual java.security.cert.PKIXBuilderParameters.setRevocationEnabled:(Z)V
end local 7 77: goto 102
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String int
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;
61 67 7 anchors Ljava/util/Set<Ljava/security/cert/TrustAnchor;>;
71 77 7 anchors Ljava/util/Set<Ljava/security/cert/TrustAnchor;>;
63 64 8 c Ljava/security/cert/X509Certificate;
73 74 8 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 13
3: ldc "X.509"
invokestatic java.security.cert.CertificateFactory.getInstance:(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
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
invokevirtual java.security.cert.CertificateFactory.generateCertificates:(Ljava/io/InputStream;)Ljava/util/Collection;
5: iconst_0
anewarray java.security.cert.Certificate
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.security.cert.Certificate[]
6: astore 3
7: goto 16
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.security.Key java.security.cert.Certificate[]
StackMap stack: java.security.cert.CertificateException
8: pop
9: 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
goto 16
10: StackMap locals:
StackMap stack: java.io.FileNotFoundException
pop
11: 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
12: goto 16
13: 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
14: goto 16
StackMap locals:
StackMap stack: java.security.KeyStoreException
15: pop
16: StackMap locals:
StackMap stack:
aload 3
ifnull 17
aload 3
arraylength
ifne 27
17: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.altCertChain:Ljava/lang/String;
ifnull 22
18: aload 0
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
19: ldc "Certificate.chain.not.found.in.the.file.specified."
20: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
21: goto 27
22: StackMap locals:
StackMap stack:
new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
23: ldc "Certificate.chain.not.found.for.alias.alias.must.reference.a.valid.KeyStore.key.entry.containing.a.private.key.and"
24: 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 25: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 1
aastore
astore 5
start local 5 26: 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 27: 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;
28: iconst_0
istore 4
start local 4 29: goto 36
30: StackMap locals: int
StackMap stack:
aload 3
iload 4
aaload
instanceof java.security.cert.X509Certificate
ifne 34
31: aload 0
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
32: ldc "found.non.X.509.certificate.in.signer.s.chain"
33: invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.security.tools.jarsigner.Main.error:(Ljava/lang/String;)V
34: 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
35: iinc 4 1
StackMap locals:
StackMap stack:
36: iload 4
aload 3
arraylength
if_icmplt 30
end local 4 37: aload 0
getfield sun.security.tools.jarsigner.Main.token:Z
ifne 39
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnonnull 39
38: 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 58
39: 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
40: goto 58
StackMap locals:
StackMap stack: java.security.UnrecoverableKeyException
41: astore 4
start local 4 42: aload 0
getfield sun.security.tools.jarsigner.Main.token:Z
ifeq 44
43: aload 4
athrow
44: StackMap locals: java.security.UnrecoverableKeyException
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.Main.keypass:[C
ifnonnull 58
45: new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
46: ldc "Enter.key.password.for.alias."
47: 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 48: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
astore 6
start local 6 49: 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
50: 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 51: goto 58
StackMap locals: sun.security.tools.jarsigner.Main java.lang.String java.security.Key
StackMap stack: java.security.NoSuchAlgorithmException
52: astore 3
start local 3 53: 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 54: goto 58
55: StackMap locals:
StackMap stack: java.security.UnrecoverableKeyException
pop
56: 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 58
57: StackMap locals:
StackMap stack: java.security.KeyStoreException
pop
58: StackMap locals:
StackMap stack:
aload 2
instanceof java.security.PrivateKey
ifne 65
59: new java.text.MessageFormat
dup
getstatic sun.security.tools.jarsigner.Main.rb:Ljava/util/ResourceBundle;
60: ldc "key.associated.with.alias.not.a.private.key"
61: 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 62: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
astore 4
start local 4 63: 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 64: goto 66
65: StackMap locals:
StackMap stack:
aload 0
aload 2
checkcast java.security.PrivateKey
putfield sun.security.tools.jarsigner.Main.privateKey:Ljava/security/PrivateKey;
66: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 67 0 this Lsun/security/tools/jarsigner/Main;
0 67 1 alias Ljava/lang/String;
1 67 2 key Ljava/security/Key;
2 51 3 cs [Ljava/security/cert/Certificate;
25 27 4 form Ljava/text/MessageFormat;
26 27 5 source [Ljava/lang/Object;
29 37 4 i I
42 51 4 e Ljava/security/UnrecoverableKeyException;
48 51 5 form Ljava/text/MessageFormat;
49 51 6 source [Ljava/lang/Object;
53 54 3 e Ljava/security/NoSuchAlgorithmException;
62 64 3 form Ljava/text/MessageFormat;
63 64 4 source [Ljava/lang/Object;
Exception table:
from to target type
3 7 8 Class java.security.cert.CertificateException
3 7 10 Class java.io.FileNotFoundException
13 14 15 Class java.security.KeyStoreException
37 40 41 Class java.security.UnrecoverableKeyException
1 51 52 Class java.security.NoSuchAlgorithmException
1 51 55 Class java.security.UnrecoverableKeyException
1 51 57 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[], sun.misc.BASE64Encoder);
descriptor: (Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;Lsun/misc/BASE64Encoder;)[Ljava/lang/String;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=5, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aconst_null
astore 7
start local 7 1: aload 2
aload 1
invokevirtual java.util.zip.ZipFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
astore 7
2: aload 1
invokevirtual java.util.zip.ZipEntry.getSize:()J
lstore 8
start local 8 3: goto 10
start local 5 4: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] sun.misc.BASE64Encoder int top java.io.InputStream long
StackMap stack:
iconst_0
istore 6
start local 6 5: goto 8
6: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] sun.misc.BASE64Encoder int int java.io.InputStream long
StackMap stack:
aload 3
iload 6
aaload
aload 0
getfield sun.security.tools.jarsigner.Main.buffer:[B
iconst_0
iload 5
invokevirtual java.security.MessageDigest.update:([BII)V
7: iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
aload 3
arraylength
if_icmplt 6
9: lload 8
iload 5
i2l
lsub
lstore 8
end local 6 end local 5 10: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] sun.misc.BASE64Encoder top top java.io.InputStream long
StackMap stack:
lload 8
lconst_0
lcmp
ifle 18
11: aload 7
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 5
start local 5 12: iconst_m1
if_icmpne 4
end local 8 end local 5 13: goto 18
StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] sun.misc.BASE64Encoder top top java.io.InputStream
StackMap stack: java.lang.Throwable
14: astore 10
15: aload 7
ifnull 17
16: aload 7
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[] sun.misc.BASE64Encoder top top java.io.InputStream top top java.lang.Throwable
StackMap stack:
aload 10
athrow
18: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] sun.misc.BASE64Encoder top top java.io.InputStream
StackMap stack:
aload 7
ifnull 20
19: aload 7
invokevirtual java.io.InputStream.close:()V
20: StackMap locals:
StackMap stack:
aload 3
arraylength
anewarray java.lang.String
astore 8
start local 8 21: iconst_0
istore 6
start local 6 22: goto 25
23: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] sun.misc.BASE64Encoder top int java.io.InputStream java.lang.String[]
StackMap stack:
aload 8
iload 6
aload 4
aload 3
iload 6
aaload
invokevirtual java.security.MessageDigest.digest:()[B
invokevirtual sun.misc.BASE64Encoder.encode:([B)Ljava/lang/String;
aastore
24: iinc 6 1
StackMap locals:
StackMap stack:
25: iload 6
aload 3
arraylength
if_icmplt 23
26: aload 8
areturn
end local 8 end local 7 end local 6 end local 4 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;
0 27 4 encoder Lsun/misc/BASE64Encoder;
4 10 5 n I
12 13 5 n I
5 10 6 i I
22 27 6 i I
1 27 7 is Ljava/io/InputStream;
3 13 8 left J
21 27 8 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
encoder
private java.util.jar.Attributes getDigestAttributes(java.util.zip.ZipEntry, java.util.zip.ZipFile, java.security.MessageDigest[], sun.misc.BASE64Encoder);
descriptor: (Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;Lsun/misc/BASE64Encoder;)Ljava/util/jar/Attributes;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
invokevirtual sun.security.tools.jarsigner.Main.getDigests:(Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;Lsun/misc/BASE64Encoder;)[Ljava/lang/String;
astore 5
start local 5 1: new java.util.jar.Attributes
dup
invokespecial java.util.jar.Attributes.<init>:()V
astore 6
start local 6 2: iconst_0
istore 7
start local 7 3: goto 8
4: StackMap locals: java.lang.String[] java.util.jar.Attributes int
StackMap stack:
aload 6
new java.lang.StringBuilder
dup
aload 3
iload 7
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 5
iload 7
aaload
6: invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
7: iinc 7 1
StackMap locals:
StackMap stack:
8: iload 7
aload 3
arraylength
if_icmplt 4
end local 7 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 ze Ljava/util/zip/ZipEntry;
0 10 2 zf Ljava/util/zip/ZipFile;
0 10 3 digests [Ljava/security/MessageDigest;
0 10 4 encoder Lsun/misc/BASE64Encoder;
1 10 5 base64Digests [Ljava/lang/String;
2 10 6 attrs Ljava/util/jar/Attributes;
3 9 7 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ze
zf
digests
encoder
private boolean updateDigests(java.util.zip.ZipEntry, java.util.zip.ZipFile, java.security.MessageDigest[], sun.misc.BASE64Encoder, java.util.jar.Manifest);
descriptor: (Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;Lsun/misc/BASE64Encoder;Ljava/util/jar/Manifest;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=16, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iconst_0
istore 6
start local 6 1: aload 5
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 7
start local 7 2: aload 0
aload 1
aload 2
aload 3
aload 4
invokevirtual sun.security.tools.jarsigner.Main.getDigests:(Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;Lsun/misc/BASE64Encoder;)[Ljava/lang/String;
astore 8
start local 8 3: iconst_0
istore 9
start local 9 4: goto 29
5: StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] sun.misc.BASE64Encoder java.util.jar.Manifest int java.util.jar.Attributes java.lang.String[] int
StackMap stack:
aconst_null
astore 10
start local 10 6: aload 3
iload 9
aaload
invokevirtual java.security.MessageDigest.getAlgorithm:()Ljava/lang/String;
invokestatic sun.security.x509.AlgorithmId.get:(Ljava/lang/String;)Lsun/security/x509/AlgorithmId;
astore 11
start local 11 7: aload 7
invokevirtual java.util.jar.Attributes.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 13
goto 16
StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] sun.misc.BASE64Encoder 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 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 12
start local 12 9: aload 12
instanceof java.util.jar.Attributes$Name
ifeq 16
10: aload 12
checkcast java.util.jar.Attributes$Name
invokevirtual java.util.jar.Attributes$Name.toString:()Ljava/lang/String;
astore 14
start local 14 11: aload 14
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 14
iconst_0
aload 14
invokevirtual java.lang.String.length:()I
bipush 7
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 15
start local 15 13: aload 15
invokestatic sun.security.x509.AlgorithmId.get:(Ljava/lang/String;)Lsun/security/x509/AlgorithmId;
aload 11
invokevirtual sun.security.x509.AlgorithmId.equals:(Lsun/security/x509/AlgorithmId;)Z
ifeq 16
14: aload 14
astore 10
15: goto 19
end local 15 end local 14 end local 12 16: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 11 17: goto 19
StackMap locals: sun.security.tools.jarsigner.Main java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] sun.misc.BASE64Encoder 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 10
ifnonnull 24
20: new java.lang.StringBuilder
dup
aload 3
iload 9
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 10
21: aload 7
aload 10
aload 8
iload 9
aaload
invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
22: iconst_1
istore 6
23: goto 28
24: StackMap locals:
StackMap stack:
aload 7
aload 10
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 11
start local 11 25: aload 11
aload 8
iload 9
aaload
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 28
26: aload 7
aload 10
aload 8
iload 9
aaload
invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
27: iconst_1
istore 6
end local 11 end local 10 28: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
29: iload 9
aload 3
arraylength
if_icmplt 5
end local 9 30: iload 6
ireturn
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 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 encoder Lsun/misc/BASE64Encoder;
0 31 5 mf Ljava/util/jar/Manifest;
1 31 6 update Z
2 31 7 attrs Ljava/util/jar/Attributes;
3 31 8 base64Digests [Ljava/lang/String;
4 30 9 i I
6 28 10 name Ljava/lang/String;
7 17 11 aid Lsun/security/x509/AlgorithmId;
9 16 12 key Ljava/lang/Object;
11 16 14 n Ljava/lang/String;
13 16 15 tmp Ljava/lang/String;
25 28 11 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
encoder
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
}
SourceFile: "Main.java"
InnerClasses:
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