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
{
static final jdk.internal.access.JavaUtilZipFileAccess JUZFA;
descriptor: Ljdk/internal/access/JavaUtilZipFileAccess;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final java.lang.String META_INF;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "META-INF/"
private 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 sectionsonly;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean internalsf;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String altSignerPath;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "16", forRemoval = true)
private final java.lang.String altSigner;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "16", forRemoval = true)
private boolean ;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.internal.access.SharedSecrets.getJavaUtilZipFileAccess:()Ljdk/internal/access/JavaUtilZipFileAccess;
putstatic jdk.security.jarsigner.JarSigner.JUZFA:Ljdk/internal/access/JavaUtilZipFileAccess;
1: return
LocalVariableTable:
Start End Slot Name Signature
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.sectionsonly:Z
putfield jdk.security.jarsigner.JarSigner.sectionsonly:Z
33: aload 0
aload 1
getfield jdk.security.jarsigner.JarSigner$Builder.internalsf:Z
putfield jdk.security.jarsigner.JarSigner.internalsf: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: aload 0
getfield jdk.security.jarsigner.JarSigner.altSigner:Ljava/lang/String;
ifnull 41
37: aload 0
getfield jdk.security.jarsigner.JarSigner.sigalg:Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc "WITH"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 41
38: new java.lang.IllegalArgumentException
dup
39: new java.lang.StringBuilder
dup
ldc "Customized ContentSigner is not supported for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.security.jarsigner.JarSigner.sigalg:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
40: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
41: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Ljdk/security/jarsigner/JarSigner;
0 42 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 8 Class java.security.spec.InvalidParameterSpecException
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: 14
}
StackMap locals: java.lang.String
StackMap stack:
2: aload 2
ldc "tsapolicyid"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
goto 14
StackMap locals:
StackMap stack:
3: aload 2
ldc "internalsf"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
goto 14
StackMap locals:
StackMap stack:
4: aload 2
ldc "altsigner"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
goto 14
StackMap locals:
StackMap stack:
5: aload 2
ldc "altsignerpath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
goto 14
StackMap locals:
StackMap stack:
6: aload 2
ldc "sectionsonly"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 11
goto 14
StackMap locals:
StackMap stack:
7: aload 2
ldc "tsadigestalg"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 14
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.internalsf:Z
invokestatic java.lang.Boolean.toString:(Z)Ljava/lang/String;
areturn
11: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.sectionsonly:Z
invokestatic java.lang.Boolean.toString:(Z)Ljava/lang/String;
areturn
12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.altSignerPath:Ljava/lang/String;
areturn
13: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.altSigner:Ljava/lang/String;
areturn
14: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
15: 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;
16: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/security/jarsigner/JarSigner;
0 17 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=25, 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.sectionsonly: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 12
invokevirtual java.io.ByteArrayOutputStream.reset:()V
110: aload 14
aload 12
invokevirtual jdk.security.jarsigner.JarSigner$SignatureFile.write:(Ljava/io/OutputStream;)V
111: aload 12
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 16
start local 16 112: aload 0
getfield jdk.security.jarsigner.JarSigner.altSigner:Ljava/lang/String;
ifnonnull 120
113: aconst_null
astore 17
start local 17 114: aload 0
getfield jdk.security.jarsigner.JarSigner.tsaUrl:Ljava/net/URI;
ifnull 116
115: aload 0
invokedynamic apply(Ljdk/security/jarsigner/JarSigner;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/security/jarsigner/JarSigner.lambda$0([B)Lsun/security/pkcs/PKCS9Attributes; (7)
([B)Lsun/security/pkcs/PKCS9Attributes;
astore 17
116: 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 byte[] java.util.function.Function
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.sigalg:Ljava/lang/String;
aload 0
getfield jdk.security.jarsigner.JarSigner.sigProvider:Ljava/security/Provider;
aload 0
getfield jdk.security.jarsigner.JarSigner.privateKey:Ljava/security/PrivateKey;
aload 0
getfield jdk.security.jarsigner.JarSigner.certChain:[Ljava/security/cert/X509Certificate;
117: aload 16
aload 0
getfield jdk.security.jarsigner.JarSigner.internalsf:Z
iconst_0
aload 17
118: invokestatic sun.security.pkcs.PKCS7.generateNewSignedData:(Ljava/lang/String;Ljava/security/Provider;Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;[BZZLjava/util/function/Function;)[B
astore 15
end local 17 start local 15 119: goto 137
end local 15 120: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.sigalg:Ljava/lang/String;
aload 0
getfield jdk.security.jarsigner.JarSigner.privateKey:Ljava/security/PrivateKey;
aload 0
getfield jdk.security.jarsigner.JarSigner.sigProvider:Ljava/security/Provider;
invokestatic sun.security.util.SignatureUtil.fromKey:(Ljava/lang/String;Ljava/security/Key;Ljava/security/Provider;)Ljava/security/Signature;
astore 17
start local 17 121: aload 17
aload 16
invokevirtual java.security.Signature.update:([B)V
122: aload 17
invokevirtual java.security.Signature.sign:()[B
astore 18
start local 18 123: 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;
124: aload 0
getfield jdk.security.jarsigner.JarSigner.tSADigestAlg:Ljava/lang/String;
aload 18
125: aload 17
invokevirtual java.security.Signature.getAlgorithm:()Ljava/lang/String;
aload 0
getfield jdk.security.jarsigner.JarSigner.certChain:[Ljava/security/cert/X509Certificate;
aload 16
aload 1
126: 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
127: astore 19
start local 19 128: aload 0
aload 0
getfield jdk.security.jarsigner.JarSigner.altSigner:Ljava/lang/String;
aload 0
getfield jdk.security.jarsigner.JarSigner.altSignerPath:Ljava/lang/String;
invokevirtual jdk.security.jarsigner.JarSigner.loadSigningMechanism:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/jarsigner/ContentSigner;
astore 20
start local 20 129: aload 20
130: aload 19
131: aload 0
getfield jdk.security.jarsigner.JarSigner.internalsf:Z
ifeq 132
iconst_0
goto 133
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 byte[] java.security.Signature byte[] com.sun.jarsigner.ContentSignerParameters com.sun.jarsigner.ContentSigner
StackMap stack: com.sun.jarsigner.ContentSigner com.sun.jarsigner.ContentSignerParameters
132: iconst_1
133: 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 byte[] java.security.Signature byte[] com.sun.jarsigner.ContentSignerParameters com.sun.jarsigner.ContentSigner
StackMap stack: com.sun.jarsigner.ContentSigner com.sun.jarsigner.ContentSignerParameters int
aload 19
invokeinterface com.sun.jarsigner.ContentSignerParameters.getTimestampingAuthority:()Ljava/net/URI;
ifnonnull 135
134: aload 19
invokeinterface com.sun.jarsigner.ContentSignerParameters.getTimestampingAuthorityCertificate:()Ljava/security/cert/X509Certificate;
ifnonnull 135
iconst_0
goto 136
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 byte[] java.security.Signature byte[] com.sun.jarsigner.ContentSignerParameters com.sun.jarsigner.ContentSigner
StackMap stack: com.sun.jarsigner.ContentSigner com.sun.jarsigner.ContentSignerParameters int
135: iconst_1
136: 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 byte[] java.security.Signature byte[] com.sun.jarsigner.ContentSignerParameters com.sun.jarsigner.ContentSigner
StackMap stack: com.sun.jarsigner.ContentSigner com.sun.jarsigner.ContentSignerParameters int int
invokevirtual com.sun.jarsigner.ContentSigner.generateSignedData:(Lcom/sun/jarsigner/ContentSignerParameters;ZZ)[B
astore 15
end local 20 end local 19 end local 18 end local 17 start local 15 137: 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[] byte[]
StackMap stack:
aload 14
invokevirtual jdk.security.jarsigner.JarSigner$SignatureFile.getMetaName:()Ljava/lang/String;
astore 17
start local 17 138: 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 18
start local 18 139: new java.util.zip.ZipEntry
dup
aload 17
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 19
start local 19 140: new java.util.zip.ZipEntry
dup
aload 18
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
astore 20
start local 20 141: invokestatic java.lang.System.currentTimeMillis:()J
lstore 21
start local 21 142: aload 19
lload 21
invokevirtual java.util.zip.ZipEntry.setTime:(J)V
143: aload 20
lload 21
invokevirtual java.util.zip.ZipEntry.setTime:(J)V
144: aload 4
aload 19
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
145: aload 14
aload 4
invokevirtual jdk.security.jarsigner.JarSigner$SignatureFile.write:(Ljava/io/OutputStream;)V
146: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 151
147: aload 1
aload 17
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 17
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
149: goto 151
150: 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[] byte[] 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 17
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
151: StackMap locals:
StackMap stack:
aload 4
aload 20
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
152: aload 4
aload 15
invokevirtual java.util.zip.ZipOutputStream.write:([B)V
153: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 158
154: aload 1
aload 18
invokevirtual java.util.zip.ZipFile.getEntry:(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
ifnull 157
155: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "updating"
aload 18
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
156: goto 158
157: StackMap locals:
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "adding"
aload 18
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
158: StackMap locals:
StackMap stack:
iconst_0
istore 23
start local 23 159: goto 180
160: StackMap locals: int
StackMap stack:
aload 9
iload 23
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 24
start local 24 161: aload 24
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
ldc "META-INF/MANIFEST.MF"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 179
162: aload 24
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 17
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 179
163: aload 24
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
aload 18
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 179
164: aload 24
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
165: aload 0
getfield jdk.security.jarsigner.JarSigner.signerName:Ljava/lang/String;
invokestatic jdk.security.jarsigner.JarSigner$SignatureFile.getBaseSignatureFilesName:(Ljava/lang/String;)Ljava/lang/String;
166: invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
167: ifeq 172
168: aload 24
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokestatic sun.security.util.SignatureFileVerifier.isBlockOrSF:(Ljava/lang/String;)Z
ifeq 172
169: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 179
170: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "updating"
aload 24
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
171: goto 179
172: StackMap locals: java.util.zip.ZipEntry
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 178
173: aload 5
aload 24
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnull 176
174: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "signing"
aload 24
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
175: goto 178
StackMap locals:
StackMap stack:
176: aload 24
invokevirtual java.util.zip.ZipEntry.isDirectory:()Z
ifne 178
177: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "adding"
aload 24
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
178: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
aload 24
invokevirtual jdk.security.jarsigner.JarSigner.writeEntry:(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipOutputStream;Ljava/util/zip/ZipEntry;)V
end local 24 179: StackMap locals:
StackMap stack:
iinc 23 1
StackMap locals:
StackMap stack:
180: iload 23
aload 9
invokevirtual java.util.Vector.size:()I
if_icmplt 160
end local 23 181: aload 1
invokevirtual java.util.zip.ZipFile.entries:()Ljava/util/Enumeration;
astore 23
start local 23 182: goto 191
183: 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[] byte[] java.lang.String java.lang.String java.util.zip.ZipEntry java.util.zip.ZipEntry long java.util.Enumeration
StackMap stack:
aload 23
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.util.zip.ZipEntry
astore 24
start local 24 184: aload 24
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
ldc "META-INF/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 191
185: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ifnull 190
186: aload 5
aload 24
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokevirtual java.util.jar.Manifest.getAttributes:(Ljava/lang/String;)Ljava/util/jar/Attributes;
ifnull 189
187: aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "signing"
aload 24
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
188: goto 190
189: StackMap locals: java.util.zip.ZipEntry
StackMap stack:
aload 0
getfield jdk.security.jarsigner.JarSigner.handler:Ljava/util/function/BiConsumer;
ldc "adding"
aload 24
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
invokeinterface java.util.function.BiConsumer.accept:(Ljava/lang/Object;Ljava/lang/Object;)V
190: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
aload 24
invokevirtual jdk.security.jarsigner.JarSigner.writeEntry:(Ljava/util/zip/ZipFile;Ljava/util/zip/ZipOutputStream;Ljava/util/zip/ZipEntry;)V
end local 24 191: StackMap locals:
StackMap stack:
aload 23
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 183
end local 23 192: aload 1
invokevirtual java.util.zip.ZipFile.close:()V
193: aload 4
invokevirtual java.util.zip.ZipOutputStream.close:()V
194: return
end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 195 0 this Ljdk/security/jarsigner/JarSigner;
0 195 1 zipFile Ljava/util/zip/ZipFile;
0 195 2 os Ljava/io/OutputStream;
1 12 3 digests [Ljava/security/MessageDigest;
14 195 3 digests [Ljava/security/MessageDigest;
2 11 4 i I
13 14 4 asae Ljava/security/NoSuchAlgorithmException;
15 195 4 zos Ljava/util/zip/ZipOutputStream;
16 195 5 manifest Ljava/util/jar/Manifest;
17 195 6 mfRawBytes [B
18 195 7 mfFile Ljava/util/zip/ZipEntry;
21 195 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 195 9 mfFiles Ljava/util/Vector<Ljava/util/zip/ZipEntry;>;
37 195 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 195 11 mfModified Z
59 195 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 195 13 manDig Lsun/security/util/ManifestDigester;
109 195 14 sf Ljdk/security/jarsigner/JarSigner$SignatureFile;
119 120 15 block [B
137 195 15 block [B
112 195 16 content [B
114 119 17 timestamper Ljava/util/function/Function<[BLsun/security/pkcs/PKCS9Attributes;>;
121 137 17 signer Ljava/security/Signature;
123 137 18 signature [B
128 137 19 params Lcom/sun/jarsigner/ContentSignerParameters;
129 137 20 signingMechanism Lcom/sun/jarsigner/ContentSigner;
138 195 17 sfFilename Ljava/lang/String;
139 195 18 bkFilename Ljava/lang/String;
140 195 19 sfFile Ljava/util/zip/ZipEntry;
141 195 20 bkFile Ljava/util/zip/ZipEntry;
142 195 21 time J
159 181 23 i I
161 179 24 ze Ljava/util/zip/ZipEntry;
182 192 23 enum_ Ljava/util/Enumeration<+Ljava/util/zip/ZipEntry;>;
184 191 24 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, java.security.spec.InvalidParameterSpecException
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=6, 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: getstatic jdk.security.jarsigner.JarSigner.JUZFA:Ljdk/internal/access/JavaUtilZipFileAccess;
aload 3
invokeinterface jdk.internal.access.JavaUtilZipFileAccess.getExtraAttributes:(Ljava/util/zip/ZipEntry;)I
istore 5
start local 5 6: aload 0
getfield jdk.security.jarsigner.JarSigner.extraAttrsDetected:Z
ifne 9
iload 5
iconst_m1
if_icmpeq 9
7: aload 0
iconst_1
putfield jdk.security.jarsigner.JarSigner.extraAttrsDetected:Z
8: getstatic sun.security.util.Event$ReporterCategory.ZIPFILEATTRS:Lsun/security/util/Event$ReporterCategory;
ldc "detected"
iconst_0
anewarray java.lang.Object
invokestatic sun.security.util.Event.report:(Lsun/security/util/Event$ReporterCategory;Ljava/lang/String;[Ljava/lang/Object;)V
9: StackMap locals: java.util.zip.ZipEntry int
StackMap stack:
getstatic jdk.security.jarsigner.JarSigner.JUZFA:Ljdk/internal/access/JavaUtilZipFileAccess;
aload 4
iload 5
invokeinterface jdk.internal.access.JavaUtilZipFileAccess.setExtraAttributes:(Ljava/util/zip/ZipEntry;I)V
10: aload 3
invokevirtual java.util.zip.ZipEntry.getMethod:()I
ifne 13
11: aload 4
aload 3
invokevirtual java.util.zip.ZipEntry.getSize:()J
invokevirtual java.util.zip.ZipEntry.setSize:(J)V
12: aload 4
aload 3
invokevirtual java.util.zip.ZipEntry.getCrc:()J
invokevirtual java.util.zip.ZipEntry.setCrc:(J)V
13: StackMap locals:
StackMap stack:
aload 2
aload 4
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
14: 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
15: return
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 16 0 this Ljdk/security/jarsigner/JarSigner;
0 16 1 zf Ljava/util/zip/ZipFile;
0 16 2 os Ljava/util/zip/ZipOutputStream;
0 16 3 ze Ljava/util/zip/ZipEntry;
1 16 4 ze2 Ljava/util/zip/ZipEntry;
6 16 5 extraAttrs I
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: aload 2
ifnonnull 2
1: ldc "."
astore 2
2: StackMap locals:
StackMap stack:
ldc "env.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aconst_null
3: invokestatic sun.security.tools.PathList.appendPath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 4: ldc "java.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aload 3
5: invokestatic sun.security.tools.PathList.appendPath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
6: aload 2
aload 3
invokestatic sun.security.tools.PathList.appendPath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
7: aload 3
invokestatic sun.security.tools.PathList.pathToURLs:(Ljava/lang/String;)[Ljava/net/URL;
astore 4
start local 4 8: new java.net.URLClassLoader
dup
aload 4
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;)V
astore 5
start local 5 9: aload 5
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 6
start local 6 10: aload 6
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
astore 7
start local 7 11: aload 7
checkcast com.sun.jarsigner.ContentSigner
12: areturn
end local 7 end local 6 13: 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 14: new java.lang.IllegalArgumentException
dup
15: ldc "Invalid altSigner or altSignerPath"
aload 6
16: 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 17 0 this Ljdk/security/jarsigner/JarSigner;
0 17 1 signerClassName Ljava/lang/String;
0 17 2 signerClassPath Ljava/lang/String;
4 17 3 cpString Ljava/lang/String;
8 17 4 urls [Ljava/net/URL;
9 17 5 appClassLoader Ljava/lang/ClassLoader;
10 13 6 signerClass Ljava/lang/Class<*>;
11 13 7 signer Ljava/lang/Object;
14 17 6 e Ljava/lang/Exception;
Exception table:
from to target type
9 12 13 Class java.lang.ClassNotFoundException
9 12 13 Class java.lang.InstantiationException
9 12 13 Class java.lang.IllegalAccessException
9 12 13 Class java.lang.ClassCastException
9 12 13 Class java.lang.NoSuchMethodException
9 12 13 Class java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
signerClassName
signerClassPath
private sun.security.pkcs.PKCS9Attributes lambda$0(byte[]);
descriptor: ([B)Lsun/security/pkcs/PKCS9Attributes;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=9, locals=4, args_size=2
start local 0 start local 1 0: new sun.security.timestamp.HttpTimestamper
dup
aload 0
getfield jdk.security.jarsigner.JarSigner.tsaUrl:Ljava/net/URI;
invokespecial sun.security.timestamp.HttpTimestamper.<init>:(Ljava/net/URI;)V
astore 2
start local 2 1: aload 2
aload 0
getfield jdk.security.jarsigner.JarSigner.tSAPolicyID:Ljava/lang/String;
aload 0
getfield jdk.security.jarsigner.JarSigner.tSADigestAlg:Ljava/lang/String;
aload 1
2: invokestatic sun.security.pkcs.PKCS7.generateTimestampToken:(Lsun/security/timestamp/Timestamper;Ljava/lang/String;Ljava/lang/String;[B)[B
astore 3
start local 3 3: new sun.security.pkcs.PKCS9Attributes
dup
iconst_1
anewarray sun.security.pkcs.PKCS9Attribute
dup
iconst_0
4: new sun.security.pkcs.PKCS9Attribute
dup
5: getstatic sun.security.pkcs.PKCS9Attribute.SIGNATURE_TIMESTAMP_TOKEN_OID:Lsun/security/util/ObjectIdentifier;
6: aload 3
7: invokespecial sun.security.pkcs.PKCS9Attribute.<init>:(Lsun/security/util/ObjectIdentifier;Ljava/lang/Object;)V
aastore
8: invokespecial sun.security.pkcs.PKCS9Attributes.<init>:([Lsun/security/pkcs/PKCS9Attribute;)V
9: areturn
end local 3 end local 2 10: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 11: new java.lang.RuntimeException
dup
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
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 s [B
1 10 2 tsa Lsun/security/timestamp/HttpTimestamper;
3 10 3 tsToken [B
11 12 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 9 10 Class java.io.IOException
0 9 10 Class java.security.cert.CertificateException
}
SourceFile: "JarSigner.java"
NestMembers:
jdk.security.jarsigner.JarSigner$Builder jdk.security.jarsigner.JarSigner$JarSignerParameters jdk.security.jarsigner.JarSigner$SignatureFile
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Encoder = java.util.Base64$Encoder of java.util.Base64
public 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 final ReporterCategory = sun.security.util.Event$ReporterCategory of sun.security.util.Event
public Entry = sun.security.util.ManifestDigester$Entry of sun.security.util.ManifestDigester