public final class jdk.security.jarsigner.JarSigner
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.security.jarsigner.JarSigner
super_class: java.lang.Object
{
private static final java.lang.String META_INF;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "META-INF/"
private final java.security.PrivateKey privateKey;
descriptor: Ljava/security/PrivateKey;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.security.cert.X509Certificate[] certChain;
descriptor: [Ljava/security/cert/X509Certificate;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String[] digestalg;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String sigalg;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.security.Provider digestProvider;
descriptor: Ljava/security/Provider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.security.Provider sigProvider;
descriptor: Ljava/security/Provider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.URI tsaUrl;
descriptor: Ljava/net/URI;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String signerName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.function.BiConsumer<java.lang.String, java.lang.String> handler;
descriptor: Ljava/util/function/BiConsumer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/BiConsumer<Ljava/lang/String;Ljava/lang/String;>;
private final java.lang.String tSAPolicyID;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String tSADigestAlg;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean signManifest;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean externalSF;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String altSignerPath;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String altSigner;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(jdk.security.jarsigner.JarSigner$Builder);
descriptor: (Ljdk/security/jarsigner/JarSigner$Builder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.privateKey:Ljava/security/PrivateKey;
putfield jdk.security.jarsigner.JarSigner.privateKey:Ljava/security/PrivateKey;
2: aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.certChain:[Ljava/security/cert/X509Certificate;
putfield jdk.security.jarsigner.JarSigner.certChain:[Ljava/security/cert/X509Certificate;
3: aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.digestalg:[Ljava/lang/String;
ifnull 6
4: aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.digestalg:[Ljava/lang/String;
putfield jdk.security.jarsigner.JarSigner.digestalg:[Ljava/lang/String;
5: goto 9
6: StackMap locals: jdk.security.jarsigner.JarSigner jdk.security.jarsigner.JarSigner$Builder
StackMap stack:
aload 0
iconst_1
anewarray java.lang.String
dup
iconst_0
7: invokestatic jdk.security.jarsigner.JarSigner$Builder.getDefaultDigestAlgorithm:()Ljava/lang/String;
aastore
8: putfield jdk.security.jarsigner.JarSigner.digestalg:[Ljava/lang/String;
9: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.digestProvider:Ljava/security/Provider;
putfield jdk.security.jarsigner.JarSigner.digestProvider:Ljava/security/Provider;
10: aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.sigalg:Ljava/lang/String;
ifnull 13
11: aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.sigalg:Ljava/lang/String;
putfield jdk.security.jarsigner.JarSigner.sigalg:Ljava/lang/String;
12: goto 20
13: StackMap locals:
StackMap stack:
aload 0
14: aload 0
getfield jdk.security.jarsigner.JarSigner.privateKey:Ljava/security/PrivateKey;
invokestatic jdk.security.jarsigner.JarSigner$Builder.getDefaultSignatureAlgorithm:(Ljava/security/PrivateKey;)Ljava/lang/String;
15: putfield jdk.security.jarsigner.JarSigner.sigalg:Ljava/lang/String;
16: aload 0
getfield jdk.security.jarsigner.JarSigner.sigalg:Ljava/lang/String;
ifnonnull 20
17: new java.lang.IllegalArgumentException
dup
18: new java.lang.StringBuilder
dup
ldc "No signature alg for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.security.jarsigner.JarSigner.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;
19: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.sigProvider:Ljava/security/Provider;
putfield jdk.security.jarsigner.JarSigner.sigProvider:Ljava/security/Provider;
21: aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.tsaUrl:Ljava/net/URI;
putfield jdk.security.jarsigner.JarSigner.tsaUrl:Ljava/net/URI;
22: aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.signerName:Ljava/lang/String;
ifnonnull 25
23: aload 0
ldc "SIGNER"
putfield jdk.security.jarsigner.JarSigner.signerName:Ljava/lang/String;
24: goto 26
25: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.signerName:Ljava/lang/String;
putfield jdk.security.jarsigner.JarSigner.signerName:Ljava/lang/String;
26: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.handler:Ljava/util/function/BiConsumer;
putfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
27: aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.tSADigestAlg:Ljava/lang/String;
ifnull 30
28: aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.tSADigestAlg:Ljava/lang/String;
putfield jdk.security.jarsigner.JarSigner.tSADigestAlg:Ljava/lang/String;
29: goto 31
30: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.security.jarsigner.JarSigner$Builder.getDefaultDigestAlgorithm:()Ljava/lang/String;
putfield jdk.security.jarsigner.JarSigner.tSADigestAlg:Ljava/lang/String;
31: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.tSAPolicyID:Ljava/lang/String;
putfield jdk.security.jarsigner.JarSigner.tSAPolicyID:Ljava/lang/String;
32: aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.signManifest:Z
putfield jdk.security.jarsigner.JarSigner.signManifest:Z
33: aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.externalSF:Z
putfield jdk.security.jarsigner.JarSigner.externalSF:Z
34: aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.altSigner:Ljava/lang/String;
putfield jdk.security.jarsigner.JarSigner.altSigner:Ljava/lang/String;
35: aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.altSignerPath:Ljava/lang/String;
putfield jdk.security.jarsigner.JarSigner.altSignerPath:Ljava/lang/String;
36: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Ljdk/security/jarsigner/JarSigner;
0 37 1 builder Ljdk/security/jarsigner/JarSigner$Builder;
MethodParameters:
Name Flags
builder
public void sign(java.util.zip.ZipFile, java.io.OutputStream);
descriptor: (Ljava/util/zip/ZipFile;Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.zip.ZipFile
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.io.OutputStream
2: invokevirtual jdk.security.jarsigner.JarSigner.sign0:(Ljava/util/zip/ZipFile;Ljava/io/OutputStream;)V
3: goto 12
StackMap locals:
StackMap stack: java.lang.Exception
4: astore 3
start local 3 5: new jdk.security.jarsigner.JarSignerException
dup
ldc "Error applying timestamp"
aload 3
invokespecial jdk.security.jarsigner.JarSignerException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 6: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 7: new jdk.security.jarsigner.JarSignerException
dup
ldc "I/O error"
aload 3
invokespecial jdk.security.jarsigner.JarSignerException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 8: StackMap locals:
StackMap stack: java.security.GeneralSecurityException
astore 3
start local 3 9: new jdk.security.jarsigner.JarSignerException
dup
ldc "Error in signer materials"
aload 3
invokespecial jdk.security.jarsigner.JarSignerException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 10: StackMap locals:
StackMap stack: java.security.SignatureException
astore 3
start local 3 11: new jdk.security.jarsigner.JarSignerException
dup
ldc "Error creating signature"
aload 3
invokespecial jdk.security.jarsigner.JarSignerException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/security/jarsigner/JarSigner;
0 13 1 file Ljava/util/zip/ZipFile;
0 13 2 os Ljava/io/OutputStream;
5 6 3 e Ljava/lang/Exception;
7 8 3 ioe Ljava/io/IOException;
9 10 3 e Ljava/security/GeneralSecurityException;
11 12 3 se Ljava/security/SignatureException;
Exception table:
from to target type
0 3 4 Class java.net.SocketTimeoutException
0 3 4 Class java.security.cert.CertificateException
0 3 6 Class java.io.IOException
0 3 8 Class java.security.NoSuchAlgorithmException
0 3 8 Class java.security.InvalidKeyException
0 3 10 Class java.security.SignatureException
MethodParameters:
Name Flags
file
os
public java.lang.String getDigestAlgorithm();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.security.jarsigner.JarSigner.digestalg:[Ljava/lang/String;
iconst_0
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/security/jarsigner/JarSigner;
public java.lang.String getSignatureAlgorithm();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.security.jarsigner.JarSigner.sigalg:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/security/jarsigner/JarSigner;
public java.net.URI getTsa();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.security.jarsigner.JarSigner.tsaUrl:Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/security/jarsigner/JarSigner;
public java.lang.String getSignerName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.security.jarsigner.JarSigner.signerName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/security/jarsigner/JarSigner;
public java.lang.String getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 6
-2094658161: 2
-1591141936: 3
-1015724525: 4
-593336136: 5
668841690: 6
1890315734: 7
default: 18
}
StackMap locals: java.lang.String
StackMap stack:
2: aload 2
ldc "tsapolicyid"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
goto 18
StackMap locals:
StackMap stack:
3: aload 2
ldc "internalsf"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
goto 18
StackMap locals:
StackMap stack:
4: aload 2
ldc "altsigner"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
goto 18
StackMap locals:
StackMap stack:
5: aload 2
ldc "altsignerpath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
goto 18
StackMap locals:
StackMap stack:
6: aload 2
ldc "sectionsonly"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
goto 18
StackMap locals:
StackMap stack:
7: aload 2
ldc "tsadigestalg"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 18
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.tSADigestAlg:Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.tSAPolicyID:Ljava/lang/String;
areturn
10: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.externalSF:Z
ifeq 11
iconst_0
goto 12
StackMap locals:
StackMap stack:
11: iconst_1
StackMap locals:
StackMap stack: int
12: invokestatic java.lang.Boolean.toString:(Z)Ljava/lang/String;
areturn
13: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.signManifest:Z
ifeq 14
iconst_0
goto 15
StackMap locals:
StackMap stack:
14: iconst_1
StackMap locals:
StackMap stack: int
15: invokestatic java.lang.Boolean.toString:(Z)Ljava/lang/String;
areturn
16: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.altSignerPath:Ljava/lang/String;
areturn
17: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.altSigner:Ljava/lang/String;
areturn
18: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
19: new java.lang.StringBuilder
dup
ldc "Unsupported key "
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;
20: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljdk/security/jarsigner/JarSigner;
0 21 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
private void sign0(java.util.zip.ZipFile, java.io.OutputStream);
descriptor: (Ljava/util/zip/ZipFile;Ljava/io/OutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=12, locals=29, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.security.jarsigner.JarSigner.digestalg:[Ljava/lang/String;
arraylength
anewarray java.security.MessageDigest
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 10
3: StackMap locals: java.security.MessageDigest[] int
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.digestProvider:Ljava/security/Provider;
ifnonnull 6
4: aload 3
iload 4
aload 0
getfield jdk.security.jarsigner.JarSigner.digestalg:[Ljava/lang/String;
iload 4
aaload
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
aastore
5: goto 9
6: StackMap locals:
StackMap stack:
aload 3
iload 4
7: aload 0
getfield jdk.security.jarsigner.JarSigner.digestalg:[Ljava/lang/String;
iload 4
aaload
aload 0
getfield jdk.security.jarsigner.JarSigner.digestProvider:Ljava/security/Provider;
8: invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/MessageDigest;
aastore
9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 0
getfield jdk.security.jarsigner.JarSigner.digestalg:[Ljava/lang/String;
arraylength
if_icmplt 3
end local 4 11: goto 14
end local 3 StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream
StackMap stack: java.security.NoSuchAlgorithmException
12: astore 4
start local 4 13: new java.lang.AssertionError
dup
aload 4
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 4 start local 3 14: StackMap locals: java.security.MessageDigest[]
StackMap stack:
new java.util.zip.ZipOutputStream
dup
aload 2
invokespecial java.util.zip.ZipOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 4
start local 4 15: new java.util.jar.Manifest
dup
invokespecial java.util.jar.Manifest.<init>:()V
astore 5
start local 5 16: aconst_null
astore 6
start local 6 17: aload 0
aload 1
invokevirtual jdk.security.jarsigner.JarSigner.getManifestFile:(Ljava/util/zip/ZipFile;)Ljava/util/zip/ZipEntry;
astore 7
start local 7 18: aload 7
ifnonnull 19
iconst_1
goto 20
StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.util.zip.ZipOutputStream java.util.jar.Manifest byte[] java.util.zip.ZipEntry
StackMap stack:
19: iconst_0
StackMap locals:
StackMap stack: int
20: istore 8
start local 8 21: iload 8
ifne 25
22: aload 1
aload 7
invokevirtual java.util.zip.ZipFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
invokevirtual java.io.InputStream.readAllBytes:()[B
astore 6
23: aload 5
new java.io.ByteArrayInputStream
dup
aload 6
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
invokevirtual java.util.jar.Manifest.read:(Ljava/io/InputStream;)V
24: goto 35
25: StackMap locals: int
StackMap stack:
aload 5
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
astore 9
start local 9 26: aload 9
getstatic java.util.jar.Attributes$Name.MANIFEST_VERSION:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes$Name.toString:()Ljava/lang/String;
27: ldc "1.0"
28: invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
29: ldc "java.vendor"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 30: ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 11
start local 11 31: aload 9
ldc "Created-By"
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;
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
32: ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
33: invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
34: new java.util.zip.ZipEntry
dup
ldc "META-INF/MANIFEST.MF"
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 7
end local 11 end local 10 end local 9 35: StackMap locals:
StackMap stack:
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 9
start local 9 36: iconst_0
istore 10
start local 10 37: aload 1
invokevirtual java.util.zip.ZipFile.entries:()Ljava/util/Enumeration;
astore 11
start local 11 38: goto 57
39: StackMap locals: java.util.Vector int java.util.Enumeration
StackMap stack:
aload 11
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 12
start local 12 40: aload 12
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
ldc "META-INF/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 51
41: aload 9
aload 12
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
42: aload 12
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;
astore 13
start local 13 43: aload 13
invokestatic sun.security.util.SignatureFileVerifier.isBlockOrSF:(Ljava/lang/String;)Z
ifeq 49
44: aload 13
45: aload 0
getfield jdk.security.jarsigner.JarSigner.signerName:Ljava/lang/String;
invokestatic jdk.security.jarsigner.JarSigner$SignatureFile.getBaseSignatureFilesName:(Ljava/lang/String;)Ljava/lang/String;
46: invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
47: ifne 49
48: iconst_1
istore 10
49: StackMap locals: java.util.zip.ZipEntry java.lang.String
StackMap stack:
aload 12
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokestatic sun.security.util.SignatureFileVerifier.isSigningRelated:(Ljava/lang/String;)Z
ifeq 51
50: goto 57
end local 13 51: StackMap locals:
StackMap stack:
aload 5
aload 12
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnull 54
52: aload 0
aload 12
aload 1
aload 3
aload 5
invokevirtual jdk.security.jarsigner.JarSigner.updateDigests:(Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;Ljava/util/jar/Manifest;)V
53: goto 57
StackMap locals:
StackMap stack:
54: aload 12
invokevirtual java.util.zip.ZipEntry.isDirectory:()Z
ifne 57
55: aload 0
aload 12
aload 1
aload 3
invokevirtual jdk.security.jarsigner.JarSigner.getDigestAttributes:(Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;)Ljava/util/jar/Attributes;
astore 13
start local 13 56: aload 5
invokevirtual java.util.jar.Manifest.getEntries:()Ljava/util/Map;
aload 12
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 13
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 13 end local 12 57: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 39
end local 11 58: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 12
start local 12 59: iload 8
ifne 60
iload 10
ifne 64
60: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.util.zip.ZipOutputStream java.util.jar.Manifest byte[] java.util.zip.ZipEntry int java.util.Vector int top java.io.ByteArrayOutputStream
StackMap stack:
iconst_1
istore 11
start local 11 61: aload 5
aload 12
invokevirtual java.util.jar.Manifest.write:(Ljava/io/OutputStream;)V
62: aload 12
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 6
63: goto 96
end local 11 64: StackMap locals:
StackMap stack:
new java.util.jar.Manifest
dup
65: new java.io.ByteArrayInputStream
dup
aload 6
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
66: invokespecial java.util.jar.Manifest.<init>:(Ljava/io/InputStream;)V
astore 13
start local 13 67: aload 13
aload 5
invokevirtual java.util.jar.Manifest.equals:(Ljava/lang/Object;)Z
ifeq 68
iconst_0
goto 69
StackMap locals: java.util.jar.Manifest
StackMap stack:
68: iconst_1
StackMap locals:
StackMap stack: int
69: istore 11
start local 11 70: iload 11
ifeq 96
71: aload 5
aload 12
invokevirtual java.util.jar.Manifest.write:(Ljava/io/OutputStream;)V
72: aload 12
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 14
start local 14 73: aload 12
invokevirtual java.io.ByteArrayOutputStream.reset:()V
74: new sun.security.util.ManifestDigester
dup
aload 6
invokespecial sun.security.util.ManifestDigester.<init>:([B)V
astore 15
start local 15 75: new sun.security.util.ManifestDigester
dup
aload 14
invokespecial sun.security.util.ManifestDigester.<init>:([B)V
astore 16
start local 16 76: aload 5
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
77: aload 13
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
78: invokevirtual java.util.jar.Attributes.equals:(Ljava/lang/Object;)Z
79: ifeq 84
80: aload 5
invokevirtual java.util.jar.Manifest.getEntries:()Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 82
81: aload 15
invokevirtual sun.security.util.ManifestDigester.getMainAttsEntry:()Lsun/security/util/ManifestDigester$Entry;
invokevirtual sun.security.util.ManifestDigester$Entry.isProperlyDelimited:()Z
ifeq 84
82: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.util.zip.ZipOutputStream java.util.jar.Manifest byte[] java.util.zip.ZipEntry int java.util.Vector int int java.io.ByteArrayOutputStream java.util.jar.Manifest byte[] sun.security.util.ManifestDigester sun.security.util.ManifestDigester
StackMap stack:
aload 15
invokevirtual sun.security.util.ManifestDigester.getMainAttsEntry:()Lsun/security/util/ManifestDigester$Entry;
aload 12
invokevirtual sun.security.util.ManifestDigester$Entry.reproduceRaw:(Ljava/io/OutputStream;)V
83: goto 85
84: StackMap locals:
StackMap stack:
aload 16
invokevirtual sun.security.util.ManifestDigester.getMainAttsEntry:()Lsun/security/util/ManifestDigester$Entry;
aload 12
invokevirtual sun.security.util.ManifestDigester$Entry.reproduceRaw:(Ljava/io/OutputStream;)V
85: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.util.jar.Manifest.getEntries:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 18
goto 94
StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.util.zip.ZipOutputStream java.util.jar.Manifest byte[] java.util.zip.ZipEntry int java.util.Vector int int java.io.ByteArrayOutputStream java.util.jar.Manifest byte[] sun.security.util.ManifestDigester sun.security.util.ManifestDigester top java.util.Iterator
StackMap stack:
86: aload 18
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 17
start local 17 87: aload 17
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 19
start local 19 88: aload 17
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.jar.Attributes
astore 20
start local 20 89: aload 20
aload 13
aload 19
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
invokevirtual java.util.jar.Attributes.equals:(Ljava/lang/Object;)Z
ifeq 93
90: aload 15
aload 19
invokevirtual sun.security.util.ManifestDigester.get:(Ljava/lang/String;)Lsun/security/util/ManifestDigester$Entry;
invokevirtual sun.security.util.ManifestDigester$Entry.isProperlyDelimited:()Z
ifeq 93
91: aload 15
aload 19
invokevirtual sun.security.util.ManifestDigester.get:(Ljava/lang/String;)Lsun/security/util/ManifestDigester$Entry;
aload 12
invokevirtual sun.security.util.ManifestDigester$Entry.reproduceRaw:(Ljava/io/OutputStream;)V
92: goto 94
93: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.util.zip.ZipOutputStream java.util.jar.Manifest byte[] java.util.zip.ZipEntry int java.util.Vector int int java.io.ByteArrayOutputStream java.util.jar.Manifest byte[] sun.security.util.ManifestDigester sun.security.util.ManifestDigester java.util.Map$Entry java.util.Iterator java.lang.String java.util.jar.Attributes
StackMap stack:
aload 16
aload 19
invokevirtual sun.security.util.ManifestDigester.get:(Ljava/lang/String;)Lsun/security/util/ManifestDigester$Entry;
aload 12
invokevirtual sun.security.util.ManifestDigester$Entry.reproduceRaw:(Ljava/io/OutputStream;)V
end local 20 end local 19 end local 17 94: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.util.zip.ZipOutputStream java.util.jar.Manifest byte[] java.util.zip.ZipEntry int java.util.Vector int int java.io.ByteArrayOutputStream java.util.jar.Manifest byte[] sun.security.util.ManifestDigester sun.security.util.ManifestDigester top java.util.Iterator
StackMap stack:
aload 18
invokeinterface java.util.Iterator.hasNext:()Z
ifne 86
95: aload 12
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 6
end local 16 end local 15 end local 14 end local 13 96: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.util.zip.ZipOutputStream java.util.jar.Manifest byte[] java.util.zip.ZipEntry int java.util.Vector int int java.io.ByteArrayOutputStream
StackMap stack:
iload 11
ifeq 98
97: new java.util.zip.ZipEntry
dup
ldc "META-INF/MANIFEST.MF"
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 7
98: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 103
99: iload 8
ifne 100
iload 11
ifne 102
100: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "adding"
aload 7
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
101: goto 103
102: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "updating"
aload 7
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
103: StackMap locals:
StackMap stack:
aload 4
aload 7
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
104: aload 4
aload 6
invokevirtual java.util.zip.ZipOutputStream.write:([B)V
105: new sun.security.util.ManifestDigester
dup
aload 6
invokespecial sun.security.util.ManifestDigester.<init>:([B)V
astore 13
start local 13 106: new jdk.security.jarsigner.JarSigner$SignatureFile
dup
aload 3
aload 5
aload 13
107: aload 0
getfield jdk.security.jarsigner.JarSigner.signerName:Ljava/lang/String;
aload 0
getfield jdk.security.jarsigner.JarSigner.signManifest:Z
108: invokespecial jdk.security.jarsigner.JarSigner$SignatureFile.<init>:([Ljava/security/MessageDigest;Ljava/util/jar/Manifest;Lsun/security/util/ManifestDigester;Ljava/lang/String;Z)V
astore 14
start local 14 109: aload 0
getfield jdk.security.jarsigner.JarSigner.sigProvider:Ljava/security/Provider;
ifnonnull 112
110: aload 0
getfield jdk.security.jarsigner.JarSigner.sigalg:Ljava/lang/String;
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;)Ljava/security/Signature;
astore 16
start local 16 111: goto 113
end local 16 112: StackMap locals: sun.security.util.ManifestDigester jdk.security.jarsigner.JarSigner$SignatureFile
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.sigalg:Ljava/lang/String;
aload 0
getfield jdk.security.jarsigner.JarSigner.sigProvider:Ljava/security/Provider;
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/Signature;
astore 16
start local 16 113: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.util.zip.ZipOutputStream java.util.jar.Manifest byte[] java.util.zip.ZipEntry int java.util.Vector int int java.io.ByteArrayOutputStream sun.security.util.ManifestDigester jdk.security.jarsigner.JarSigner$SignatureFile top java.security.Signature
StackMap stack:
aload 16
aload 0
getfield jdk.security.jarsigner.JarSigner.privateKey:Ljava/security/PrivateKey;
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;)V
114: aload 12
invokevirtual java.io.ByteArrayOutputStream.reset:()V
115: aload 14
aload 12
invokevirtual jdk.security.jarsigner.JarSigner$SignatureFile.write:(Ljava/io/OutputStream;)V
116: aload 12
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 17
start local 17 117: aload 16
aload 17
invokevirtual java.security.Signature.update:([B)V
118: aload 16
invokevirtual java.security.Signature.sign:()[B
astore 18
start local 18 119: aconst_null
astore 19
start local 19 120: aload 0
getfield jdk.security.jarsigner.JarSigner.altSigner:Ljava/lang/String;
ifnull 124
121: aload 0
aload 0
getfield jdk.security.jarsigner.JarSigner.altSigner:Ljava/lang/String;
122: aload 0
getfield jdk.security.jarsigner.JarSigner.altSignerPath:Ljava/lang/String;
123: invokevirtual jdk.security.jarsigner.JarSigner.loadSigningMechanism:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/jarsigner/ContentSigner;
astore 19
124: StackMap locals: byte[] byte[] com.sun.jarsigner.ContentSigner
StackMap stack:
new jdk.security.jarsigner.JarSigner$JarSignerParameters
dup
aload 0
aconst_null
aload 0
getfield jdk.security.jarsigner.JarSigner.tsaUrl:Ljava/net/URI;
aload 0
getfield jdk.security.jarsigner.JarSigner.tSAPolicyID:Ljava/lang/String;
125: aload 0
getfield jdk.security.jarsigner.JarSigner.tSADigestAlg:Ljava/lang/String;
aload 18
126: aload 16
invokevirtual java.security.Signature.getAlgorithm:()Ljava/lang/String;
aload 0
getfield jdk.security.jarsigner.JarSigner.certChain:[Ljava/security/cert/X509Certificate;
aload 17
aload 1
127: invokespecial jdk.security.jarsigner.JarSigner$JarSignerParameters.<init>:(Ljdk/security/jarsigner/JarSigner;[Ljava/lang/String;Ljava/net/URI;Ljava/lang/String;Ljava/lang/String;[BLjava/lang/String;[Ljava/security/cert/X509Certificate;[BLjava/util/zip/ZipFile;)V
128: astore 20
start local 20 129: aload 14
aload 20
aload 0
getfield jdk.security.jarsigner.JarSigner.externalSF:Z
aload 19
invokevirtual jdk.security.jarsigner.JarSigner$SignatureFile.generateBlock:(Lcom/sun/jarsigner/ContentSignerParameters;ZLcom/sun/jarsigner/ContentSigner;)[B
astore 15
start local 15 130: aload 14
invokevirtual jdk.security.jarsigner.JarSigner$SignatureFile.getMetaName:()Ljava/lang/String;
astore 21
start local 21 131: aload 14
aload 0
getfield jdk.security.jarsigner.JarSigner.privateKey:Ljava/security/PrivateKey;
invokevirtual jdk.security.jarsigner.JarSigner$SignatureFile.getBlockName:(Ljava/security/PrivateKey;)Ljava/lang/String;
astore 22
start local 22 132: new java.util.zip.ZipEntry
dup
aload 21
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 23
start local 23 133: new java.util.zip.ZipEntry
dup
aload 22
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 24
start local 24 134: invokestatic java.lang.System.currentTimeMillis:()J
lstore 25
start local 25 135: aload 23
lload 25
invokevirtual java.util.zip.ZipEntry.setTime:(J)V
136: aload 24
lload 25
invokevirtual java.util.zip.ZipEntry.setTime:(J)V
137: aload 4
aload 23
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
138: aload 14
aload 4
invokevirtual jdk.security.jarsigner.JarSigner$SignatureFile.write:(Ljava/io/OutputStream;)V
139: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 144
140: aload 1
aload 21
invokevirtual java.util.zip.ZipFile.getEntry:(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
ifnull 143
141: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "updating"
aload 21
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
142: goto 144
143: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.util.zip.ZipOutputStream java.util.jar.Manifest byte[] java.util.zip.ZipEntry int java.util.Vector int int java.io.ByteArrayOutputStream sun.security.util.ManifestDigester jdk.security.jarsigner.JarSigner$SignatureFile byte[] java.security.Signature byte[] byte[] com.sun.jarsigner.ContentSigner com.sun.jarsigner.ContentSignerParameters java.lang.String java.lang.String java.util.zip.ZipEntry java.util.zip.ZipEntry long
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "adding"
aload 21
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
144: StackMap locals:
StackMap stack:
aload 4
aload 24
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
145: aload 4
aload 15
invokevirtual java.util.zip.ZipOutputStream.write:([B)V
146: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 151
147: aload 1
aload 22
invokevirtual java.util.zip.ZipFile.getEntry:(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
ifnull 150
148: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "updating"
aload 22
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
149: goto 151
150: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "adding"
aload 22
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
151: StackMap locals:
StackMap stack:
iconst_0
istore 27
start local 27 152: goto 173
153: StackMap locals: int
StackMap stack:
aload 9
iload 27
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 28
start local 28 154: aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
ldc "META-INF/MANIFEST.MF"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 172
155: aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 21
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 172
156: aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 22
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 172
157: aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
158: aload 0
getfield jdk.security.jarsigner.JarSigner.signerName:Ljava/lang/String;
invokestatic jdk.security.jarsigner.JarSigner$SignatureFile.getBaseSignatureFilesName:(Ljava/lang/String;)Ljava/lang/String;
159: invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
160: ifeq 165
161: aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokestatic sun.security.util.SignatureFileVerifier.isBlockOrSF:(Ljava/lang/String;)Z
ifeq 165
162: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 172
163: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "updating"
aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
164: goto 172
165: StackMap locals: java.util.zip.ZipEntry
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 171
166: aload 5
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 169
167: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "signing"
aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
168: goto 171
StackMap locals:
StackMap stack:
169: aload 28
invokevirtual java.util.zip.ZipEntry.isDirectory:()Z
ifne 171
170: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "adding"
aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
171: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
aload 28
invokevirtual jdk.security.jarsigner.JarSigner.writeEntry:(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipOutputStream;Ljava/util/zip/ZipEntry;)V
end local 28 172: StackMap locals:
StackMap stack:
iinc 27 1
StackMap locals:
StackMap stack:
173: iload 27
aload 9
invokevirtual java.util.Vector.size:()I
if_icmplt 153
end local 27 174: aload 1
invokevirtual java.util.zip.ZipFile.entries:()Ljava/util/Enumeration;
astore 27
start local 27 175: goto 184
176: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.util.zip.ZipOutputStream java.util.jar.Manifest byte[] java.util.zip.ZipEntry int java.util.Vector int int java.io.ByteArrayOutputStream sun.security.util.ManifestDigester jdk.security.jarsigner.JarSigner$SignatureFile byte[] java.security.Signature byte[] byte[] com.sun.jarsigner.ContentSigner com.sun.jarsigner.ContentSignerParameters java.lang.String java.lang.String java.util.zip.ZipEntry java.util.zip.ZipEntry long 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 177: aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
ldc "META-INF/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 184
178: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 183
179: aload 5
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 182
180: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "signing"
aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
181: goto 183
182: StackMap locals: java.util.zip.ZipEntry
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "adding"
aload 28
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
183: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
aload 28
invokevirtual jdk.security.jarsigner.JarSigner.writeEntry:(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipOutputStream;Ljava/util/zip/ZipEntry;)V
end local 28 184: StackMap locals:
StackMap stack:
aload 27
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 176
end local 27 185: aload 1
invokevirtual java.util.zip.ZipFile.close:()V
186: aload 4
invokevirtual java.util.zip.ZipOutputStream.close:()V
187: return
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 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 188 0 this Ljdk/security/jarsigner/JarSigner;
0 188 1 zipFile Ljava/util/zip/ZipFile;
0 188 2 os Ljava/io/OutputStream;
1 12 3 digests [Ljava/security/MessageDigest;
14 188 3 digests [Ljava/security/MessageDigest;
2 11 4 i I
13 14 4 asae Ljava/security/NoSuchAlgorithmException;
15 188 4 zos Ljava/util/zip/ZipOutputStream;
16 188 5 manifest Ljava/util/jar/Manifest;
17 188 6 mfRawBytes [B
18 188 7 mfFile Ljava/util/zip/ZipEntry;
21 188 8 mfCreated Z
26 35 9 mattr Ljava/util/jar/Attributes;
30 35 10 javaVendor Ljava/lang/String;
31 35 11 jdkVersion Ljava/lang/String;
36 188 9 mfFiles Ljava/util/Vector<Ljava/util/zip/ZipEntry;>;
37 188 10 wasSigned Z
38 58 11 enum_ Ljava/util/Enumeration<+Ljava/util/zip/ZipEntry;>;
40 57 12 ze Ljava/util/zip/ZipEntry;
43 51 13 zeNameUp Ljava/lang/String;
56 57 13 attrs Ljava/util/jar/Attributes;
61 64 11 mfModified Z
70 188 11 mfModified Z
59 188 12 baos Ljava/io/ByteArrayOutputStream;
67 96 13 oldManifest Ljava/util/jar/Manifest;
73 96 14 mfNewRawBytes [B
75 96 15 oldMd Lsun/security/util/ManifestDigester;
76 96 16 newMd Lsun/security/util/ManifestDigester;
87 94 17 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/jar/Attributes;>;
88 94 19 sectionName Ljava/lang/String;
89 94 20 entryAtts Ljava/util/jar/Attributes;
106 188 13 manDig Lsun/security/util/ManifestDigester;
109 188 14 sf Ljdk/security/jarsigner/JarSigner$SignatureFile;
130 188 15 block [B
111 112 16 signer Ljava/security/Signature;
113 188 16 signer Ljava/security/Signature;
117 188 17 content [B
119 188 18 signature [B
120 188 19 signingMechanism Lcom/sun/jarsigner/ContentSigner;
129 188 20 params Lcom/sun/jarsigner/ContentSignerParameters;
131 188 21 sfFilename Ljava/lang/String;
132 188 22 bkFilename Ljava/lang/String;
133 188 23 sfFile Ljava/util/zip/ZipEntry;
134 188 24 bkFile Ljava/util/zip/ZipEntry;
135 188 25 time J
152 174 27 i I
154 172 28 ze Ljava/util/zip/ZipEntry;
175 185 27 enum_ Ljava/util/Enumeration<+Ljava/util/zip/ZipEntry;>;
177 184 28 ze Ljava/util/zip/ZipEntry;
Exception table:
from to target type
0 11 12 Class java.security.NoSuchAlgorithmException
Exceptions:
throws java.io.IOException, java.security.cert.CertificateException, java.security.NoSuchAlgorithmException, java.security.SignatureException, java.security.InvalidKeyException
MethodParameters:
Name Flags
zipFile
os
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 jdk.security.jarsigner.JarSigner.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 Ljdk/security/jarsigner/JarSigner;
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 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: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
aconst_null
astore 5
1: aload 1
aload 2
invokevirtual java.util.zip.ZipFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
astore 6
start local 6 2: aload 6
aload 3
invokevirtual java.io.InputStream.transferTo:(Ljava/io/OutputStream;)J
pop2
3: aload 6
ifnull 9
aload 6
invokevirtual java.io.InputStream.close:()V
goto 9
StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.util.zip.ZipEntry java.util.zip.ZipOutputStream java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
4: astore 4
aload 6
ifnull 5
aload 6
invokevirtual java.io.InputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
5: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 5
aload 4
ifnonnull 7
aload 5
astore 4
goto 8
StackMap locals:
StackMap stack:
7: aload 4
aload 5
if_acmpeq 8
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 4
athrow
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/security/jarsigner/JarSigner;
0 10 1 zf Ljava/util/zip/ZipFile;
0 10 2 ze Ljava/util/zip/ZipEntry;
0 10 3 os Ljava/util/zip/ZipOutputStream;
2 5 6 is Ljava/io/InputStream;
Exception table:
from to target type
2 3 4 any
1 6 6 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
zf
ze
os
private void updateDigests(java.util.zip.ZipEntry, java.util.zip.ZipFile, java.security.MessageDigest[], java.util.jar.Manifest);
descriptor: (Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;Ljava/util/jar/Manifest;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=14, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
aload 1
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
astore 5
start local 5 1: aload 0
aload 1
aload 2
aload 3
invokevirtual jdk.security.jarsigner.JarSigner.getDigests:(Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;)[Ljava/lang/String;
astore 6
start local 6 2: iconst_0
istore 7
start local 7 3: goto 22
4: StackMap locals: java.util.jar.Attributes java.lang.String[] int
StackMap stack:
aconst_null
astore 8
start local 8 5: aload 3
iload 7
aaload
invokevirtual java.security.MessageDigest.getAlgorithm:()Ljava/lang/String;
invokestatic sun.security.x509.AlgorithmId.get:(Ljava/lang/String;)Lsun/security/x509/AlgorithmId;
astore 9
start local 9 6: aload 5
invokevirtual java.util.jar.Attributes.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 11
goto 15
StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] java.util.jar.Manifest java.util.jar.Attributes java.lang.String[] int java.lang.String sun.security.x509.AlgorithmId top java.util.Iterator
StackMap stack:
7: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 10
start local 10 8: aload 10
instanceof java.util.jar.Attributes$Name
ifeq 15
9: aload 10
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 12
start local 12 10: aload 12
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 15
11: aload 12
iconst_0
aload 12
invokevirtual java.lang.String.length:()I
bipush 7
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 13
start local 13 12: aload 13
invokestatic sun.security.x509.AlgorithmId.get:(Ljava/lang/String;)Lsun/security/x509/AlgorithmId;
aload 9
invokevirtual sun.security.x509.AlgorithmId.equals:(Lsun/security/x509/AlgorithmId;)Z
ifeq 15
13: aload 12
astore 8
14: goto 18
end local 13 end local 12 end local 10 15: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 9 16: goto 18
StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] java.util.jar.Manifest java.util.jar.Attributes java.lang.String[] int java.lang.String
StackMap stack: java.security.NoSuchAlgorithmException
17: pop
18: StackMap locals:
StackMap stack:
aload 8
ifnonnull 20
19: 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;
astore 8
20: StackMap locals:
StackMap stack:
aload 5
aload 8
aload 6
iload 7
aaload
invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
end local 8 21: iinc 7 1
StackMap locals:
StackMap stack:
22: iload 7
aload 3
arraylength
if_icmplt 4
end local 7 23: 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 24 0 this Ljdk/security/jarsigner/JarSigner;
0 24 1 ze Ljava/util/zip/ZipEntry;
0 24 2 zf Ljava/util/zip/ZipFile;
0 24 3 digests [Ljava/security/MessageDigest;
0 24 4 mf Ljava/util/jar/Manifest;
1 24 5 attrs Ljava/util/jar/Attributes;
2 24 6 base64Digests [Ljava/lang/String;
3 23 7 i I
5 21 8 name Ljava/lang/String;
6 16 9 aid Lsun/security/x509/AlgorithmId;
8 15 10 key Ljava/lang/Object;
10 15 12 n Ljava/lang/String;
12 15 13 tmp Ljava/lang/String;
Exception table:
from to target type
5 16 17 Class java.security.NoSuchAlgorithmException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ze
zf
digests
mf
private java.util.jar.Attributes getDigestAttributes(java.util.zip.ZipEntry, java.util.zip.ZipFile, java.security.MessageDigest[]);
descriptor: (Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;)Ljava/util/jar/Attributes;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual jdk.security.jarsigner.JarSigner.getDigests:(Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;)[Ljava/lang/String;
astore 4
start local 4 1: new java.util.jar.Attributes
dup
invokespecial java.util.jar.Attributes.<init>:()V
astore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 8
4: StackMap locals: java.lang.String[] java.util.jar.Attributes int
StackMap stack:
aload 5
new java.lang.StringBuilder
dup
aload 3
iload 6
aaload
invokevirtual java.security.MessageDigest.getAlgorithm:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-Digest"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: aload 4
iload 6
aaload
6: invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
7: iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
aload 3
arraylength
if_icmplt 4
end local 6 9: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/security/jarsigner/JarSigner;
0 10 1 ze Ljava/util/zip/ZipEntry;
0 10 2 zf Ljava/util/zip/ZipFile;
0 10 3 digests [Ljava/security/MessageDigest;
1 10 4 base64Digests [Ljava/lang/String;
2 10 5 attrs Ljava/util/jar/Attributes;
3 9 6 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ze
zf
digests
private 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 Ljdk/security/jarsigner/JarSigner;
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 java.lang.String[] getDigests(java.util.zip.ZipEntry, java.util.zip.ZipFile, java.security.MessageDigest[]);
descriptor: (Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;)[Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 6
aconst_null
astore 7
1: aload 2
aload 1
invokevirtual java.util.zip.ZipFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
astore 8
start local 8 2: aload 1
invokevirtual java.util.zip.ZipEntry.getSize:()J
lstore 9
start local 9 3: sipush 8192
newarray 8
astore 11
start local 11 4: goto 11
start local 4 5: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] int top java.lang.Throwable java.lang.Throwable java.io.InputStream long byte[]
StackMap stack:
iconst_0
istore 5
start local 5 6: goto 9
7: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] int int java.lang.Throwable java.lang.Throwable java.io.InputStream long byte[]
StackMap stack:
aload 3
iload 5
aaload
aload 11
iconst_0
iload 4
invokevirtual java.security.MessageDigest.update:([BII)V
8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
aload 3
arraylength
if_icmplt 7
10: lload 9
iload 4
i2l
lsub
lstore 9
end local 5 end local 4 11: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] top top java.lang.Throwable java.lang.Throwable java.io.InputStream long byte[]
StackMap stack:
lload 9
lconst_0
lcmp
ifle 14
12: aload 8
aload 11
iconst_0
aload 11
arraylength
invokevirtual java.io.InputStream.read:([BII)I
dup
istore 4
start local 4 13: iconst_m1
if_icmpne 5
end local 11 end local 9 end local 4 14: StackMap locals:
StackMap stack:
aload 8
ifnull 20
aload 8
invokevirtual java.io.InputStream.close:()V
goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 6
aload 8
ifnull 16
aload 8
invokevirtual java.io.InputStream.close:()V
end local 8 StackMap locals:
StackMap stack:
16: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 7
aload 6
ifnonnull 18
aload 7
astore 6
goto 19
StackMap locals:
StackMap stack:
18: aload 6
aload 7
if_acmpeq 19
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 6
athrow
20: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[]
StackMap stack:
aload 3
arraylength
anewarray java.lang.String
astore 6
start local 6 21: iconst_0
istore 5
start local 5 22: goto 27
23: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] top int java.lang.String[]
StackMap stack:
aload 6
iload 5
invokestatic java.util.Base64.getEncoder:()Ljava/util/Base64$Encoder;
24: aload 3
iload 5
aaload
invokevirtual java.security.MessageDigest.digest:()[B
invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
25: aastore
26: iinc 5 1
StackMap locals:
StackMap stack:
27: iload 5
aload 3
arraylength
if_icmplt 23
28: aload 6
areturn
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljdk/security/jarsigner/JarSigner;
0 29 1 ze Ljava/util/zip/ZipEntry;
0 29 2 zf Ljava/util/zip/ZipFile;
0 29 3 digests [Ljava/security/MessageDigest;
5 11 4 n I
13 14 4 n I
6 11 5 i I
22 29 5 i I
2 16 8 is Ljava/io/InputStream;
3 14 9 left J
4 14 11 buffer [B
21 29 6 base64Digests [Ljava/lang/String;
Exception table:
from to target type
2 14 15 any
1 17 17 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ze
zf
digests
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=8, args_size=3
start local 0 start local 1 start local 2 0: ldc "env.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aconst_null
1: invokestatic sun.security.tools.PathList.appendPath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: ldc "java.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aload 3
3: invokestatic sun.security.tools.PathList.appendPath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
4: aload 2
aload 3
invokestatic sun.security.tools.PathList.appendPath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
5: aload 3
invokestatic sun.security.tools.PathList.pathToURLs:(Ljava/lang/String;)[Ljava/net/URL;
astore 4
start local 4 6: new java.net.URLClassLoader
dup
aload 4
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;)V
astore 5
start local 5 7: aload 5
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 6
start local 6 8: aload 6
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
astore 7
start local 7 9: aload 7
checkcast com.sun.jarsigner.ContentSigner
10: areturn
end local 7 end local 6 11: StackMap locals: jdk.security.jarsigner.JarSigner java.lang.String java.lang.String java.lang.String java.net.URL[] java.lang.ClassLoader
StackMap stack: java.lang.Exception
astore 6
start local 6 12: new java.lang.IllegalArgumentException
dup
13: ldc "Invalid altSigner or altSignerPath"
aload 6
14: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
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 Ljdk/security/jarsigner/JarSigner;
0 15 1 signerClassName Ljava/lang/String;
0 15 2 signerClassPath Ljava/lang/String;
2 15 3 cpString Ljava/lang/String;
6 15 4 urls [Ljava/net/URL;
7 15 5 appClassLoader Ljava/lang/ClassLoader;
8 11 6 signerClass Ljava/lang/Class<*>;
9 11 7 signer Ljava/lang/Object;
12 15 6 e Ljava/lang/Exception;
Exception table:
from to target type
7 10 11 Class java.lang.ClassNotFoundException
7 10 11 Class java.lang.InstantiationException
7 10 11 Class java.lang.IllegalAccessException
7 10 11 Class java.lang.ClassCastException
MethodParameters:
Name Flags
signerClassName
signerClassPath
}
SourceFile: "JarSigner.java"
NestMembers:
jdk.security.jarsigner.JarSigner$Builder jdk.security.jarsigner.JarSigner$JarSignerParameters jdk.security.jarsigner.JarSigner$SignatureFile
InnerClasses:
public Encoder = java.util.Base64$Encoder of java.util.Base64
public abstract Entry = java.util.Map$Entry of java.util.Map
public Name = java.util.jar.Attributes$Name of java.util.jar.Attributes
public Builder = jdk.security.jarsigner.JarSigner$Builder of jdk.security.jarsigner.JarSigner
JarSignerParameters = jdk.security.jarsigner.JarSigner$JarSignerParameters of jdk.security.jarsigner.JarSigner
SignatureFile = jdk.security.jarsigner.JarSigner$SignatureFile of jdk.security.jarsigner.JarSigner
public Entry = sun.security.util.ManifestDigester$Entry of sun.security.util.ManifestDigester