class sun.security.tools.jarsigner.SignatureFile
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.tools.jarsigner.SignatureFile
super_class: java.lang.Object
{
java.util.jar.Manifest sf;
descriptor: Ljava/util/jar/Manifest;
flags: (0x0000)
java.lang.String baseName;
descriptor: Ljava/lang/String;
flags: (0x0000)
public void <init>(java.security.MessageDigest[], java.util.jar.Manifest, sun.security.util.ManifestDigester, java.lang.String, boolean);
descriptor: ([Ljava/security/MessageDigest;Ljava/util/jar/Manifest;Lsun/security/util/ManifestDigester;Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=17, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 4
putfield sun.security.tools.jarsigner.SignatureFile.baseName:Ljava/lang/String;
2: ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 3: ldc "java.vendor"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 4: aload 0
new java.util.jar.Manifest
dup
invokespecial java.util.jar.Manifest.<init>:()V
putfield sun.security.tools.jarsigner.SignatureFile.sf:Ljava/util/jar/Manifest;
5: aload 0
getfield sun.security.tools.jarsigner.SignatureFile.sf:Ljava/util/jar/Manifest;
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
astore 8
start local 8 6: new sun.security.tools.jarsigner.JarBASE64Encoder
dup
invokespecial sun.security.tools.jarsigner.JarBASE64Encoder.<init>:()V
astore 9
start local 9 7: aload 8
getstatic java.util.jar.Attributes$Name.SIGNATURE_VERSION:Ljava/util/jar/Attributes$Name;
invokevirtual java.util.jar.Attributes$Name.toString:()Ljava/lang/String;
ldc "1.0"
invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
8: aload 8
ldc "Created-By"
new java.lang.StringBuilder
dup
aload 6
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 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
9: iload 5
ifeq 17
10: iconst_0
istore 10
start local 10 11: goto 16
12: StackMap locals: sun.security.tools.jarsigner.SignatureFile java.security.MessageDigest[] java.util.jar.Manifest sun.security.util.ManifestDigester java.lang.String int java.lang.String java.lang.String java.util.jar.Attributes sun.misc.BASE64Encoder int
StackMap stack:
aload 8
new java.lang.StringBuilder
dup
aload 1
iload 10
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-Manifest"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: aload 9
aload 3
aload 1
iload 10
aaload
invokevirtual sun.security.util.ManifestDigester.manifestDigest:(Ljava/security/MessageDigest;)[B
invokevirtual sun.misc.BASE64Encoder.encode:([B)Ljava/lang/String;
14: invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
15: iinc 10 1
StackMap locals:
StackMap stack:
16: iload 10
aload 1
arraylength
if_icmplt 12
end local 10 17: StackMap locals:
StackMap stack:
aload 3
ldc "Manifest-Main-Attributes"
iconst_0
invokevirtual sun.security.util.ManifestDigester.get:(Ljava/lang/String;Z)Lsun/security/util/ManifestDigester$Entry;
18: astore 10
start local 10 19: aload 10
ifnull 29
20: iconst_0
istore 11
start local 11 21: goto 27
22: StackMap locals: sun.security.util.ManifestDigester$Entry int
StackMap stack:
aload 8
new java.lang.StringBuilder
dup
aload 1
iload 11
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
23: ldc "-Digest-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "Manifest-Main-Attributes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
24: aload 9
aload 10
aload 1
iload 11
aaload
invokevirtual sun.security.util.ManifestDigester$Entry.digest:(Ljava/security/MessageDigest;)[B
invokevirtual sun.misc.BASE64Encoder.encode:([B)Ljava/lang/String;
25: invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
26: iinc 11 1
StackMap locals:
StackMap stack:
27: iload 11
aload 1
arraylength
if_icmplt 22
end local 11 28: goto 32
29: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
30: ldc "ManifestDigester failed to create Manifest-Main-Attribute entry"
31: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
32: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.jarsigner.SignatureFile.sf:Ljava/util/jar/Manifest;
invokevirtual java.util.jar.Manifest.getEntries:()Ljava/util/Map;
astore 11
start local 11 33: aload 2
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;
34: astore 12
start local 12 35: goto 49
36: StackMap locals: java.util.Map java.util.Iterator
StackMap stack:
aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 13
start local 13 37: aload 13
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 14
start local 14 38: aload 3
aload 14
iconst_0
invokevirtual sun.security.util.ManifestDigester.get:(Ljava/lang/String;Z)Lsun/security/util/ManifestDigester$Entry;
astore 10
39: aload 10
ifnull 49
40: new java.util.jar.Attributes
dup
invokespecial java.util.jar.Attributes.<init>:()V
astore 15
start local 15 41: iconst_0
istore 16
start local 16 42: goto 47
43: StackMap locals: sun.security.tools.jarsigner.SignatureFile java.security.MessageDigest[] java.util.jar.Manifest sun.security.util.ManifestDigester java.lang.String int java.lang.String java.lang.String java.util.jar.Attributes sun.misc.BASE64Encoder sun.security.util.ManifestDigester$Entry java.util.Map java.util.Iterator java.util.Map$Entry java.lang.String java.util.jar.Attributes int
StackMap stack:
aload 15
new java.lang.StringBuilder
dup
aload 1
iload 16
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;
44: aload 9
aload 10
aload 1
iload 16
aaload
invokevirtual sun.security.util.ManifestDigester$Entry.digest:(Ljava/security/MessageDigest;)[B
invokevirtual sun.misc.BASE64Encoder.encode:([B)Ljava/lang/String;
45: invokevirtual java.util.jar.Attributes.putValue:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
46: iinc 16 1
StackMap locals:
StackMap stack:
47: iload 16
aload 1
arraylength
if_icmplt 43
end local 16 48: aload 11
aload 14
aload 15
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 15 end local 14 end local 13 49: StackMap locals: sun.security.tools.jarsigner.SignatureFile java.security.MessageDigest[] java.util.jar.Manifest sun.security.util.ManifestDigester java.lang.String int java.lang.String java.lang.String java.util.jar.Attributes sun.misc.BASE64Encoder sun.security.util.ManifestDigester$Entry java.util.Map java.util.Iterator
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 36
50: return
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 51 0 this Lsun/security/tools/jarsigner/SignatureFile;
0 51 1 digests [Ljava/security/MessageDigest;
0 51 2 mf Ljava/util/jar/Manifest;
0 51 3 md Lsun/security/util/ManifestDigester;
0 51 4 baseName Ljava/lang/String;
0 51 5 signManifest Z
3 51 6 version Ljava/lang/String;
4 51 7 javaVendor Ljava/lang/String;
6 51 8 mattr Ljava/util/jar/Attributes;
7 51 9 encoder Lsun/misc/BASE64Encoder;
11 17 10 i I
19 51 10 mde Lsun/security/util/ManifestDigester$Entry;
21 28 11 i I
33 51 11 entries Ljava/util/Map<Ljava/lang/String;Ljava/util/jar/Attributes;>;
35 51 12 mit Ljava/util/Iterator<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/jar/Attributes;>;>;
37 49 13 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/jar/Attributes;>;
38 49 14 name Ljava/lang/String;
41 49 15 attr Ljava/util/jar/Attributes;
42 48 16 i I
MethodParameters:
Name Flags
digests
mf
md
baseName
signManifest
public void write(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.tools.jarsigner.SignatureFile.sf:Ljava/util/jar/Manifest;
aload 1
invokevirtual java.util.jar.Manifest.write:(Ljava/io/OutputStream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/tools/jarsigner/SignatureFile;
0 2 1 out Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public java.lang.String getMetaName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "META-INF/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.tools.jarsigner.SignatureFile.baseName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".SF"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/tools/jarsigner/SignatureFile;
public java.lang.String getBaseName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.tools.jarsigner.SignatureFile.baseName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/tools/jarsigner/SignatureFile;
public sun.security.tools.jarsigner.SignatureFile$Block generateBlock(java.security.PrivateKey, java.lang.String, java.security.cert.X509Certificate[], boolean, java.lang.String, java.security.cert.X509Certificate, java.lang.String, java.lang.String, com.sun.jarsigner.ContentSigner, java.lang.String[], java.util.zip.ZipFile);
descriptor: (Ljava/security/PrivateKey;Ljava/lang/String;[Ljava/security/cert/X509Certificate;ZLjava/lang/String;Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/lang/String;Lcom/sun/jarsigner/ContentSigner;[Ljava/lang/String;Ljava/util/zip/ZipFile;)Lsun/security/tools/jarsigner/SignatureFile$Block;
flags: (0x0001) ACC_PUBLIC
Code:
stack=14, locals=12, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: new sun.security.tools.jarsigner.SignatureFile$Block
dup
aload 0
aload 1
aload 2
aload 3
iload 4
1: aload 5
aload 6
aload 7
aload 8
aload 9
aload 10
aload 11
2: invokespecial sun.security.tools.jarsigner.SignatureFile$Block.<init>:(Lsun/security/tools/jarsigner/SignatureFile;Ljava/security/PrivateKey;Ljava/lang/String;[Ljava/security/cert/X509Certificate;ZLjava/lang/String;Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/lang/String;Lcom/sun/jarsigner/ContentSigner;[Ljava/lang/String;Ljava/util/zip/ZipFile;)V
areturn
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 3 0 this Lsun/security/tools/jarsigner/SignatureFile;
0 3 1 privateKey Ljava/security/PrivateKey;
0 3 2 sigalg Ljava/lang/String;
0 3 3 certChain [Ljava/security/cert/X509Certificate;
0 3 4 externalSF Z
0 3 5 tsaUrl Ljava/lang/String;
0 3 6 tsaCert Ljava/security/cert/X509Certificate;
0 3 7 tSAPolicyID Ljava/lang/String;
0 3 8 tSADigestAlg Ljava/lang/String;
0 3 9 signingMechanism Lcom/sun/jarsigner/ContentSigner;
0 3 10 args [Ljava/lang/String;
0 3 11 zipFile Ljava/util/zip/ZipFile;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.io.IOException, java.security.SignatureException, java.security.cert.CertificateException
MethodParameters:
Name Flags
privateKey
sigalg
certChain
externalSF
tsaUrl
tsaCert
tSAPolicyID
tSADigestAlg
signingMechanism
args
zipFile
}
SourceFile: "Main.java"
NestMembers:
sun.security.tools.jarsigner.SignatureFile$Block
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
public Name = java.util.jar.Attributes$Name of java.util.jar.Attributes
public Block = sun.security.tools.jarsigner.SignatureFile$Block of sun.security.tools.jarsigner.SignatureFile
public Entry = sun.security.util.ManifestDigester$Entry of sun.security.util.ManifestDigester