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=32, 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.io.PrintStream
dup
aload 2
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
astore 4
start local 4 15: new java.util.zip.ZipOutputStream
dup
aload 4
invokespecial java.util.zip.ZipOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 5
start local 5 16: new java.util.jar.Manifest
dup
invokespecial java.util.jar.Manifest.<init>:()V
astore 6
start local 6 17: aload 6
invokevirtual java.util.jar.Manifest.getEntries:()Ljava/util/Map;
astore 7
start local 7 18: aconst_null
astore 8
start local 8 19: iconst_0
istore 9
start local 9 20: iconst_0
istore 10
start local 10 21: aconst_null
astore 11
start local 11 22: aload 0
aload 1
invokevirtual jdk.security.jarsigner.JarSigner.getManifestFile:(Ljava/util/zip/ZipFile;)Ljava/util/zip/ZipEntry;
dup
astore 12
start local 12 23: ifnull 28
24: aload 1
aload 12
invokevirtual java.util.zip.ZipFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
invokevirtual java.io.InputStream.readAllBytes:()[B
astore 11
25: aload 6
new java.io.ByteArrayInputStream
dup
aload 11
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
invokevirtual java.util.jar.Manifest.read:(Ljava/io/InputStream;)V
26: aload 6
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 8
27: goto 39
28: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.io.PrintStream java.util.zip.ZipOutputStream java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[] java.util.zip.ZipEntry
StackMap stack:
aload 6
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
astore 13
start local 13 29: aload 13
getstatic java.util.jar.Attributes$Name.MANIFEST_VERSION:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes$Name.toString:()Ljava/lang/String;
30: ldc "1.0"
31: invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
32: ldc "java.vendor"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 14
start local 14 33: ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 15
start local 15 34: aload 13
ldc "Created-By"
new java.lang.StringBuilder
dup
aload 15
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 14
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
35: ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
36: invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
37: new java.util.zip.ZipEntry
dup
ldc "META-INF/MANIFEST.MF"
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 12
38: iconst_1
istore 10
end local 15 end local 14 end local 13 39: StackMap locals:
StackMap stack:
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 13
start local 13 40: iconst_0
istore 14
start local 14 41: aload 1
invokevirtual java.util.zip.ZipFile.entries:()Ljava/util/Enumeration;
astore 15
start local 15 42: goto 63
43: StackMap locals: java.util.Vector int java.util.Enumeration
StackMap stack:
aload 15
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 16
start local 16 44: aload 16
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
ldc "META-INF/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 52
45: aload 13
aload 16
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
46: aload 16
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;
47: invokestatic sun.security.util.SignatureFileVerifier.isBlockOrSF:(Ljava/lang/String;)Z
48: ifeq 50
49: iconst_1
istore 14
50: StackMap locals: java.util.zip.ZipEntry
StackMap stack:
aload 16
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokestatic sun.security.util.SignatureFileVerifier.isSigningRelated:(Ljava/lang/String;)Z
ifeq 52
51: goto 63
52: StackMap locals:
StackMap stack:
aload 6
aload 16
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnull 59
53: aload 0
aload 16
aload 1
aload 3
54: aload 6
55: invokevirtual jdk.security.jarsigner.JarSigner.updateDigests:(Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;Ljava/util/jar/Manifest;)Z
56: ifeq 63
57: iconst_1
istore 9
58: goto 63
StackMap locals:
StackMap stack:
59: aload 16
invokevirtual java.util.zip.ZipEntry.isDirectory:()Z
ifne 63
60: aload 0
aload 16
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 17
start local 17 61: aload 7
aload 16
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 17
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
62: iconst_1
istore 9
end local 17 end local 16 63: StackMap locals:
StackMap stack:
aload 15
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 43
end local 15 64: iload 9
ifeq 89
65: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 15
start local 15 66: aload 6
aload 15
invokevirtual java.util.jar.Manifest.write:(Ljava/io/OutputStream;)V
67: iload 14
ifeq 88
68: aload 15
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 16
start local 16 69: aload 11
ifnull 86
70: aload 8
aload 6
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
invokevirtual java.util.jar.Attributes.equals:(Ljava/lang/Object;)Z
ifeq 86
71: aload 0
aload 16
invokevirtual jdk.security.jarsigner.JarSigner.findHeaderEnd:([B)I
istore 17
start local 17 72: aload 0
aload 11
invokevirtual jdk.security.jarsigner.JarSigner.findHeaderEnd:([B)I
istore 18
start local 18 73: iload 17
iload 18
if_icmpne 76
74: aload 11
iconst_0
aload 16
iconst_0
iload 18
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
75: goto 86
76: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.io.PrintStream java.util.zip.ZipOutputStream java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[] java.util.zip.ZipEntry java.util.Vector int java.io.ByteArrayOutputStream byte[] int int
StackMap stack:
iload 18
77: aload 16
arraylength
78: iadd
79: iload 17
80: isub
newarray 8
astore 19
start local 19 81: aload 11
iconst_0
aload 19
iconst_0
iload 18
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
82: aload 16
iload 17
aload 19
iload 18
83: aload 16
arraylength
iload 17
isub
84: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
85: aload 19
astore 16
end local 19 end local 18 end local 17 86: StackMap locals:
StackMap stack:
aload 16
astore 11
end local 16 87: goto 89
88: StackMap locals:
StackMap stack:
aload 15
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 11
end local 15 89: StackMap locals:
StackMap stack:
iload 9
ifeq 91
90: new java.util.zip.ZipEntry
dup
ldc "META-INF/MANIFEST.MF"
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 12
91: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 97
92: iload 10
ifeq 95
93: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "adding"
aload 12
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
94: goto 97
StackMap locals:
StackMap stack:
95: iload 9
ifeq 97
96: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "updating"
aload 12
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
97: StackMap locals:
StackMap stack:
aload 5
aload 12
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
98: aload 5
aload 11
invokevirtual java.util.zip.ZipOutputStream.write:([B)V
99: new sun.security.util.ManifestDigester
dup
aload 11
invokespecial sun.security.util.ManifestDigester.<init>:([B)V
astore 15
start local 15 100: new jdk.security.jarsigner.JarSigner$SignatureFile
dup
aload 3
aload 6
aload 15
101: aload 0
getfield jdk.security.jarsigner.JarSigner.signerName:Ljava/lang/String;
aload 0
getfield jdk.security.jarsigner.JarSigner.signManifest:Z
102: invokespecial jdk.security.jarsigner.JarSigner$SignatureFile.<init>:([Ljava/security/MessageDigest;Ljava/util/jar/Manifest;Lsun/security/util/ManifestDigester;Ljava/lang/String;Z)V
astore 16
start local 16 103: aload 0
getfield jdk.security.jarsigner.JarSigner.sigProvider:Ljava/security/Provider;
ifnonnull 106
104: aload 0
getfield jdk.security.jarsigner.JarSigner.sigalg:Ljava/lang/String;
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;)Ljava/security/Signature;
astore 18
start local 18 105: goto 107
end local 18 106: 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 18
start local 18 107: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.io.PrintStream java.util.zip.ZipOutputStream java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[] java.util.zip.ZipEntry java.util.Vector int sun.security.util.ManifestDigester jdk.security.jarsigner.JarSigner$SignatureFile top java.security.Signature
StackMap stack:
aload 18
aload 0
getfield jdk.security.jarsigner.JarSigner.privateKey:Ljava/security/PrivateKey;
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;)V
108: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 19
start local 19 109: aload 16
aload 19
invokevirtual jdk.security.jarsigner.JarSigner$SignatureFile.write:(Ljava/io/OutputStream;)V
110: aload 19
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 20
start local 20 111: aload 18
aload 20
invokevirtual java.security.Signature.update:([B)V
112: aload 18
invokevirtual java.security.Signature.sign:()[B
astore 21
start local 21 113: aconst_null
astore 22
start local 22 114: aload 0
getfield jdk.security.jarsigner.JarSigner.altSigner:Ljava/lang/String;
ifnull 118
115: aload 0
aload 0
getfield jdk.security.jarsigner.JarSigner.altSigner:Ljava/lang/String;
116: aload 0
getfield jdk.security.jarsigner.JarSigner.altSignerPath:Ljava/lang/String;
117: invokevirtual jdk.security.jarsigner.JarSigner.loadSigningMechanism:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/jarsigner/ContentSigner;
astore 22
118: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.io.PrintStream java.util.zip.ZipOutputStream java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[] java.util.zip.ZipEntry java.util.Vector int sun.security.util.ManifestDigester jdk.security.jarsigner.JarSigner$SignatureFile top java.security.Signature java.io.ByteArrayOutputStream 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;
119: aload 0
getfield jdk.security.jarsigner.JarSigner.tSADigestAlg:Ljava/lang/String;
aload 21
120: aload 18
invokevirtual java.security.Signature.getAlgorithm:()Ljava/lang/String;
aload 0
getfield jdk.security.jarsigner.JarSigner.certChain:[Ljava/security/cert/X509Certificate;
aload 20
aload 1
121: 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
122: astore 23
start local 23 123: aload 16
aload 23
aload 0
getfield jdk.security.jarsigner.JarSigner.externalSF:Z
aload 22
invokevirtual jdk.security.jarsigner.JarSigner$SignatureFile.generateBlock:(Lcom/sun/jarsigner/ContentSignerParameters;ZLcom/sun/jarsigner/ContentSigner;)[B
astore 17
start local 17 124: aload 16
invokevirtual jdk.security.jarsigner.JarSigner$SignatureFile.getMetaName:()Ljava/lang/String;
astore 24
start local 24 125: aload 16
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 25
start local 25 126: new java.util.zip.ZipEntry
dup
aload 24
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 26
start local 26 127: new java.util.zip.ZipEntry
dup
aload 25
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 27
start local 27 128: invokestatic java.lang.System.currentTimeMillis:()J
lstore 28
start local 28 129: aload 26
lload 28
invokevirtual java.util.zip.ZipEntry.setTime:(J)V
130: aload 27
lload 28
invokevirtual java.util.zip.ZipEntry.setTime:(J)V
131: aload 5
aload 26
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
132: aload 16
aload 5
invokevirtual jdk.security.jarsigner.JarSigner$SignatureFile.write:(Ljava/io/OutputStream;)V
133: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 138
134: aload 1
aload 24
invokevirtual java.util.zip.ZipFile.getEntry:(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
ifnull 137
135: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "updating"
aload 24
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
136: goto 138
137: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.io.PrintStream java.util.zip.ZipOutputStream java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[] java.util.zip.ZipEntry java.util.Vector int sun.security.util.ManifestDigester jdk.security.jarsigner.JarSigner$SignatureFile byte[] java.security.Signature java.io.ByteArrayOutputStream 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 24
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
138: StackMap locals:
StackMap stack:
aload 5
aload 27
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
139: aload 5
aload 17
invokevirtual java.util.zip.ZipOutputStream.write:([B)V
140: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 145
141: aload 1
aload 25
invokevirtual java.util.zip.ZipFile.getEntry:(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
ifnull 144
142: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "updating"
aload 25
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
143: goto 145
144: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "adding"
aload 25
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
145: StackMap locals:
StackMap stack:
iconst_0
istore 30
start local 30 146: goto 159
147: StackMap locals: int
StackMap stack:
aload 13
iload 30
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 31
start local 31 148: aload 31
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
ldc "META-INF/MANIFEST.MF"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 158
149: aload 31
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 24
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 158
150: aload 31
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 25
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 158
151: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 157
152: aload 6
aload 31
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnull 155
153: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "signing"
aload 31
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
154: goto 157
StackMap locals: java.util.zip.ZipEntry
StackMap stack:
155: aload 31
invokevirtual java.util.zip.ZipEntry.isDirectory:()Z
ifne 157
156: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "adding"
aload 31
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
157: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 5
aload 31
invokevirtual jdk.security.jarsigner.JarSigner.writeEntry:(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipOutputStream;Ljava/util/zip/ZipEntry;)V
end local 31 158: StackMap locals:
StackMap stack:
iinc 30 1
StackMap locals:
StackMap stack:
159: iload 30
aload 13
invokevirtual java.util.Vector.size:()I
if_icmplt 147
end local 30 160: aload 1
invokevirtual java.util.zip.ZipFile.entries:()Ljava/util/Enumeration;
astore 30
start local 30 161: goto 170
162: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipFile java.io.OutputStream java.security.MessageDigest[] java.io.PrintStream java.util.zip.ZipOutputStream java.util.jar.Manifest java.util.Map java.util.jar.Attributes int int byte[] java.util.zip.ZipEntry java.util.Vector int sun.security.util.ManifestDigester jdk.security.jarsigner.JarSigner$SignatureFile byte[] java.security.Signature java.io.ByteArrayOutputStream 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 30
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 31
start local 31 163: aload 31
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
ldc "META-INF/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 170
164: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 169
165: aload 6
aload 31
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnull 168
166: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "signing"
aload 31
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
167: goto 169
168: StackMap locals: java.util.zip.ZipEntry
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "adding"
aload 31
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
169: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 5
aload 31
invokevirtual jdk.security.jarsigner.JarSigner.writeEntry:(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipOutputStream;Ljava/util/zip/ZipEntry;)V
end local 31 170: StackMap locals:
StackMap stack:
aload 30
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 162
end local 30 171: aload 1
invokevirtual java.util.zip.ZipFile.close:()V
172: aload 5
invokevirtual java.util.zip.ZipOutputStream.close:()V
173: return
end local 28 end local 27 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 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 174 0 this Ljdk/security/jarsigner/JarSigner;
0 174 1 zipFile Ljava/util/zip/ZipFile;
0 174 2 os Ljava/io/OutputStream;
1 12 3 digests [Ljava/security/MessageDigest;
14 174 3 digests [Ljava/security/MessageDigest;
2 11 4 i I
13 14 4 asae Ljava/security/NoSuchAlgorithmException;
15 174 4 ps Ljava/io/PrintStream;
16 174 5 zos Ljava/util/zip/ZipOutputStream;
17 174 6 manifest Ljava/util/jar/Manifest;
18 174 7 mfEntries Ljava/util/Map<Ljava/lang/String;Ljava/util/jar/Attributes;>;
19 174 8 oldAttr Ljava/util/jar/Attributes;
20 174 9 mfModified Z
21 174 10 mfCreated Z
22 174 11 mfRawBytes [B
23 174 12 mfFile Ljava/util/zip/ZipEntry;
29 39 13 mattr Ljava/util/jar/Attributes;
33 39 14 javaVendor Ljava/lang/String;
34 39 15 jdkVersion Ljava/lang/String;
40 174 13 mfFiles Ljava/util/Vector<Ljava/util/zip/ZipEntry;>;
41 174 14 wasSigned Z
42 64 15 enum_ Ljava/util/Enumeration<+Ljava/util/zip/ZipEntry;>;
44 63 16 ze Ljava/util/zip/ZipEntry;
61 63 17 attrs Ljava/util/jar/Attributes;
66 89 15 baos Ljava/io/ByteArrayOutputStream;
69 87 16 newBytes [B
72 86 17 newPos I
73 86 18 oldPos I
81 86 19 lastBytes [B
100 174 15 manDig Lsun/security/util/ManifestDigester;
103 174 16 sf Ljdk/security/jarsigner/JarSigner$SignatureFile;
124 174 17 block [B
105 106 18 signer Ljava/security/Signature;
107 174 18 signer Ljava/security/Signature;
109 174 19 baos Ljava/io/ByteArrayOutputStream;
111 174 20 content [B
113 174 21 signature [B
114 174 22 signingMechanism Lcom/sun/jarsigner/ContentSigner;
123 174 23 params Lcom/sun/jarsigner/ContentSignerParameters;
125 174 24 sfFilename Ljava/lang/String;
126 174 25 bkFilename Ljava/lang/String;
127 174 26 sfFile Ljava/util/zip/ZipEntry;
128 174 27 bkFile Ljava/util/zip/ZipEntry;
129 174 28 time J
146 160 30 i I
148 158 31 ze Ljava/util/zip/ZipEntry;
161 171 30 enum_ Ljava/util/Enumeration<+Ljava/util/zip/ZipEntry;>;
163 170 31 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 boolean updateDigests(java.util.zip.ZipEntry, java.util.zip.ZipFile, java.security.MessageDigest[], java.util.jar.Manifest);
descriptor: (Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;Ljava/util/jar/Manifest;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=15, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_0
istore 5
start local 5 1: aload 4
aload 1
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
astore 6
start local 6 2: aload 0
aload 1
aload 2
aload 3
invokevirtual jdk.security.jarsigner.JarSigner.getDigests:(Ljava/util/zip/ZipEntry;Ljava/util/zip/ZipFile;[Ljava/security/MessageDigest;)[Ljava/lang/String;
astore 7
start local 7 3: iconst_0
istore 8
start local 8 4: goto 29
5: StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] java.util.jar.Manifest int java.util.jar.Attributes java.lang.String[] int
StackMap stack:
aconst_null
astore 9
start local 9 6: aload 3
iload 8
aaload
invokevirtual java.security.MessageDigest.getAlgorithm:()Ljava/lang/String;
invokestatic sun.security.x509.AlgorithmId.get:(Ljava/lang/String;)Lsun/security/x509/AlgorithmId;
astore 10
start local 10 7: aload 6
invokevirtual java.util.jar.Attributes.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 12
goto 16
StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] java.util.jar.Manifest int java.util.jar.Attributes java.lang.String[] int java.lang.String sun.security.x509.AlgorithmId top java.util.Iterator
StackMap stack:
8: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 11
start local 11 9: aload 11
instanceof java.util.jar.Attributes$Name
ifeq 16
10: aload 11
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 13
start local 13 11: aload 13
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc "-DIGEST"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 16
12: aload 13
iconst_0
aload 13
invokevirtual java.lang.String.length:()I
bipush 7
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 14
start local 14 13: aload 14
invokestatic sun.security.x509.AlgorithmId.get:(Ljava/lang/String;)Lsun/security/x509/AlgorithmId;
aload 10
invokevirtual sun.security.x509.AlgorithmId.equals:(Lsun/security/x509/AlgorithmId;)Z
ifeq 16
14: aload 13
astore 9
15: goto 19
end local 14 end local 13 end local 11 16: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 10 17: goto 19
StackMap locals: jdk.security.jarsigner.JarSigner java.util.zip.ZipEntry java.util.zip.ZipFile java.security.MessageDigest[] java.util.jar.Manifest int java.util.jar.Attributes java.lang.String[] int java.lang.String
StackMap stack: java.security.NoSuchAlgorithmException
18: pop
19: StackMap locals:
StackMap stack:
aload 9
ifnonnull 24
20: new java.lang.StringBuilder
dup
aload 3
iload 8
aaload
invokevirtual java.security.MessageDigest.getAlgorithm:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-Digest"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
21: aload 6
aload 9
aload 7
iload 8
aaload
invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
22: iconst_1
istore 5
23: goto 28
24: StackMap locals:
StackMap stack:
aload 6
aload 9
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 25: aload 10
aload 7
iload 8
aaload
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 28
26: aload 6
aload 9
aload 7
iload 8
aaload
invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
27: iconst_1
istore 5
end local 10 end local 9 28: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
29: iload 8
aload 3
arraylength
if_icmplt 5
end local 8 30: iload 5
ireturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Ljdk/security/jarsigner/JarSigner;
0 31 1 ze Ljava/util/zip/ZipEntry;
0 31 2 zf Ljava/util/zip/ZipFile;
0 31 3 digests [Ljava/security/MessageDigest;
0 31 4 mf Ljava/util/jar/Manifest;
1 31 5 update Z
2 31 6 attrs Ljava/util/jar/Attributes;
3 31 7 base64Digests [Ljava/lang/String;
4 30 8 i I
6 28 9 name Ljava/lang/String;
7 17 10 aid Lsun/security/x509/AlgorithmId;
9 16 11 key Ljava/lang/Object;
11 16 13 n Ljava/lang/String;
13 16 14 tmp Ljava/lang/String;
25 28 10 mfDigest Ljava/lang/String;
Exception table:
from to target type
6 17 18 Class java.security.NoSuchAlgorithmException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ze
zf
digests
mf
private 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 int (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 Ljdk/security/jarsigner/JarSigner;
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 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 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