public class sun.tools.jar.SignatureFile
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jar.SignatureFile
super_class: java.lang.Object
{
static final boolean debug;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
private java.util.Vector<sun.net.www.MessageHeader> entries;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Vector<Lsun/net/www/MessageHeader;>;
static final java.lang.String[] hashes;
descriptor: [Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private sun.tools.jar.Manifest manifest;
descriptor: Lsun/tools/jar/Manifest;
flags: (0x0002) ACC_PRIVATE
private java.lang.String rawName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private sun.security.pkcs.PKCS7 signatureBlock;
descriptor: Lsun/security/pkcs/PKCS7;
flags: (0x0002) ACC_PRIVATE
private java.util.Hashtable<java.lang.String, java.security.MessageDigest> digests;
descriptor: Ljava/util/Hashtable;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Hashtable<Ljava/lang/String;Ljava/security/MessageDigest;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "SHA"
aastore
putstatic sun.tools.jar.SignatureFile.hashes:[Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
static final void debug(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
private void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.tools.jar.SignatureFile.entries:Ljava/util/Vector;
2: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield sun.tools.jar.SignatureFile.digests:Ljava/util/Hashtable;
3: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.tools.jar.SignatureFile.entries:Ljava/util/Vector;
4: aload 1
ifnull 8
5: aload 1
invokevirtual java.lang.String.length:()I
bipush 8
if_icmpgt 6
aload 1
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 7
6: StackMap locals: sun.tools.jar.SignatureFile java.lang.String
StackMap stack:
new sun.tools.jar.JarException
dup
ldc "invalid file name"
invokespecial sun.tools.jar.JarException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
putfield sun.tools.jar.SignatureFile.rawName:Ljava/lang/String;
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/tools/jar/SignatureFile;
0 9 1 name Ljava/lang/String;
Exceptions:
throws sun.tools.jar.JarException
MethodParameters:
Name Flags
name
private void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial sun.tools.jar.SignatureFile.<init>:(Ljava/lang/String;)V
1: iload 2
ifeq 5
2: new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
astore 3
start local 3 3: aload 3
ldc "Signature-Version"
ldc "1.0"
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
4: aload 0
getfield sun.tools.jar.SignatureFile.entries:Ljava/util/Vector;
aload 3
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 3 5: StackMap locals: sun.tools.jar.SignatureFile java.lang.String int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/jar/SignatureFile;
0 6 1 name Ljava/lang/String;
0 6 2 newFile Z
3 5 3 globals Lsun/net/www/MessageHeader;
Exceptions:
throws sun.tools.jar.JarException
MethodParameters:
Name Flags
name
newFile
public void <init>(sun.tools.jar.Manifest, java.lang.String);
descriptor: (Lsun/tools/jar/Manifest;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
iconst_1
invokespecial sun.tools.jar.SignatureFile.<init>:(Ljava/lang/String;Z)V
1: aload 0
aload 1
putfield sun.tools.jar.SignatureFile.manifest:Lsun/tools/jar/Manifest;
2: aload 1
invokevirtual sun.tools.jar.Manifest.entries:()Ljava/util/Enumeration;
astore 3
start local 3 3: goto 8
4: StackMap locals: sun.tools.jar.SignatureFile sun.tools.jar.Manifest java.lang.String java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast sun.net.www.MessageHeader
astore 4
start local 4 5: aload 4
ldc "Name"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 6: aload 5
ifnull 8
7: aload 0
aload 5
invokevirtual sun.tools.jar.SignatureFile.add:(Ljava/lang/String;)V
end local 5 end local 4 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 4
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/tools/jar/SignatureFile;
0 10 1 manifest Lsun/tools/jar/Manifest;
0 10 2 name Ljava/lang/String;
3 10 3 enum_ Ljava/util/Enumeration<Lsun/net/www/MessageHeader;>;
5 8 4 mh Lsun/net/www/MessageHeader;
6 8 5 entryName Ljava/lang/String;
Exceptions:
throws sun.tools.jar.JarException
MethodParameters:
Name Flags
manifest
name
public void <init>(sun.tools.jar.Manifest, java.lang.String[], java.lang.String);
descriptor: (Lsun/tools/jar/Manifest;[Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 3
iconst_1
invokespecial sun.tools.jar.SignatureFile.<init>:(Ljava/lang/String;Z)V
1: aload 0
aload 1
putfield sun.tools.jar.SignatureFile.manifest:Lsun/tools/jar/Manifest;
2: aload 0
aload 2
invokevirtual sun.tools.jar.SignatureFile.add:([Ljava/lang/String;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jar/SignatureFile;
0 4 1 manifest Lsun/tools/jar/Manifest;
0 4 2 entries [Ljava/lang/String;
0 4 3 filename Ljava/lang/String;
Exceptions:
throws sun.tools.jar.JarException
MethodParameters:
Name Flags
manifest
entries
filename
public void <init>(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokespecial sun.tools.jar.SignatureFile.<init>:(Ljava/lang/String;)V
1: goto 4
2: StackMap locals: sun.tools.jar.SignatureFile java.io.InputStream java.lang.String
StackMap stack:
new sun.net.www.MessageHeader
dup
aload 1
invokespecial sun.net.www.MessageHeader.<init>:(Ljava/io/InputStream;)V
astore 3
start local 3 3: aload 0
getfield sun.tools.jar.SignatureFile.entries:Ljava/util/Vector;
aload 3
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.InputStream.available:()I
ifgt 2
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/jar/SignatureFile;
0 6 1 is Ljava/io/InputStream;
0 6 2 filename Ljava/lang/String;
3 4 3 m Lsun/net/www/MessageHeader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
filename
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial sun.tools.jar.SignatureFile.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jar/SignatureFile;
0 2 1 is Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.io.ByteArrayInputStream
dup
aload 1
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
invokespecial sun.tools.jar.SignatureFile.<init>:(Ljava/io/InputStream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jar/SignatureFile;
0 2 1 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
public java.lang.String getName();
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.tools.jar.SignatureFile.rawName: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/tools/jar/SignatureFile;
public java.lang.String getBlockName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: ldc "DSA"
astore 1
start local 1 1: aload 0
getfield sun.tools.jar.SignatureFile.signatureBlock:Lsun/security/pkcs/PKCS7;
ifnull 6
2: aload 0
getfield sun.tools.jar.SignatureFile.signatureBlock:Lsun/security/pkcs/PKCS7;
invokevirtual sun.security.pkcs.PKCS7.getSignerInfos:()[Lsun/security/pkcs/SignerInfo;
iconst_0
aaload
astore 2
start local 2 3: aload 2
invokevirtual sun.security.pkcs.SignerInfo.getDigestEncryptionAlgorithmId:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
astore 1
4: aload 1
invokestatic sun.security.x509.AlgorithmId.getEncAlgFromSigAlg:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 5: aload 3
ifnull 6
aload 3
astore 1
end local 3 end local 2 6: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
ldc "META-INF/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.tools.jar.SignatureFile.rawName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/tools/jar/SignatureFile;
1 7 1 suffix Ljava/lang/String;
3 6 2 info Lsun/security/pkcs/SignerInfo;
5 6 3 temp Ljava/lang/String;
public sun.security.pkcs.PKCS7 getBlock();
descriptor: ()Lsun/security/pkcs/PKCS7;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jar.SignatureFile.signatureBlock:Lsun/security/pkcs/PKCS7;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/SignatureFile;
public void setBlock(sun.security.pkcs.PKCS7);
descriptor: (Lsun/security/pkcs/PKCS7;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.tools.jar.SignatureFile.signatureBlock:Lsun/security/pkcs/PKCS7;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jar/SignatureFile;
0 2 1 block Lsun/security/pkcs/PKCS7;
MethodParameters:
Name Flags
block
public void add(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
aaload
invokevirtual sun.tools.jar.SignatureFile.add:(Ljava/lang/String;)V
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
aload 1
arraylength
if_icmplt 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/jar/SignatureFile;
0 6 1 entries [Ljava/lang/String;
1 5 2 i I
Exceptions:
throws sun.tools.jar.JarException
MethodParameters:
Name Flags
entries
public void add(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jar.SignatureFile.manifest:Lsun/tools/jar/Manifest;
aload 1
invokevirtual sun.tools.jar.Manifest.getEntry:(Ljava/lang/String;)Lsun/net/www/MessageHeader;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new sun.tools.jar.JarException
dup
new java.lang.StringBuilder
dup
ldc "entry "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not in manifest"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.tools.jar.JarException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.net.www.MessageHeader
StackMap stack:
aload 0
aload 2
invokevirtual sun.tools.jar.SignatureFile.computeEntry:(Lsun/net/www/MessageHeader;)Lsun/net/www/MessageHeader;
astore 3
start local 3 4: goto 7
end local 3 StackMap locals:
StackMap stack: java.io.IOException
5: astore 4
start local 4 6: new sun.tools.jar.JarException
dup
aload 4
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokespecial sun.tools.jar.JarException.<init>:(Ljava/lang/String;)V
athrow
end local 4 start local 3 7: StackMap locals: sun.net.www.MessageHeader
StackMap stack:
aload 0
getfield sun.tools.jar.SignatureFile.entries:Ljava/util/Vector;
aload 3
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/tools/jar/SignatureFile;
0 9 1 entry Ljava/lang/String;
1 9 2 mh Lsun/net/www/MessageHeader;
4 5 3 smh Lsun/net/www/MessageHeader;
7 9 3 smh Lsun/net/www/MessageHeader;
6 7 4 e Ljava/io/IOException;
Exception table:
from to target type
3 4 5 Class java.io.IOException
Exceptions:
throws sun.tools.jar.JarException
MethodParameters:
Name Flags
entry
public sun.net.www.MessageHeader (java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/net/www/MessageHeader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.tools.jar.SignatureFile.entries:()Ljava/util/Enumeration;
astore 2
start local 2 1: goto 5
2: StackMap locals: java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast sun.net.www.MessageHeader
astore 3
start local 3 3: aload 1
aload 3
ldc "Name"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: aload 3
areturn
end local 3 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 2
6: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/tools/jar/SignatureFile;
0 7 1 name Ljava/lang/String;
1 7 2 enum_ Ljava/util/Enumeration<Lsun/net/www/MessageHeader;>;
3 5 3 mh Lsun/net/www/MessageHeader;
MethodParameters:
Name Flags
name
public sun.net.www.MessageHeader (int);
descriptor: (I)Lsun/net/www/MessageHeader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jar.SignatureFile.entries:Ljava/util/Vector;
iload 1
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.net.www.MessageHeader
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/SignatureFile;
0 1 1 n I
MethodParameters:
Name Flags
n
public java.util.Enumeration<sun.net.www.MessageHeader> entries();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jar.SignatureFile.entries:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/SignatureFile;
Signature: ()Ljava/util/Enumeration<Lsun/net/www/MessageHeader;>;
private sun.net.www.MessageHeader (sun.net.www.MessageHeader);
descriptor: (Lsun/net/www/MessageHeader;)Lsun/net/www/MessageHeader;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
astore 2
start local 2 1: aload 1
ldc "Name"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: sun.net.www.MessageHeader java.lang.String
StackMap stack:
aload 2
ldc "Name"
aload 3
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
5: new sun.misc.BASE64Encoder
dup
invokespecial sun.misc.BASE64Encoder.<init>:()V
astore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 16
8: StackMap locals: sun.misc.BASE64Encoder int
StackMap stack:
aload 0
getstatic sun.tools.jar.SignatureFile.hashes:[Ljava/lang/String;
iload 5
aaload
invokevirtual sun.tools.jar.SignatureFile.getDigest:(Ljava/lang/String;)Ljava/security/MessageDigest;
astore 6
start local 6 9: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 7
start local 7 10: new java.io.PrintStream
dup
aload 7
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
astore 8
start local 8 11: aload 1
aload 8
invokevirtual sun.net.www.MessageHeader.print:(Ljava/io/PrintStream;)V
12: aload 7
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 9
start local 9 13: aload 6
aload 9
invokevirtual java.security.MessageDigest.digest:([B)[B
astore 10
start local 10 14: aload 2
new java.lang.StringBuilder
dup
getstatic sun.tools.jar.SignatureFile.hashes:[Ljava/lang/String;
iload 5
aaload
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;
aload 4
aload 10
invokevirtual sun.misc.BASE64Encoder.encode:([B)Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
end local 10 end local 9 end local 8 end local 7 end local 6 15: iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
getstatic sun.tools.jar.SignatureFile.hashes:[Ljava/lang/String;
arraylength
if_icmplt 8
end local 5 17: aload 2
18: areturn
19: StackMap locals: sun.tools.jar.SignatureFile sun.net.www.MessageHeader sun.net.www.MessageHeader java.lang.String sun.misc.BASE64Encoder
StackMap stack: java.security.NoSuchAlgorithmException
astore 5
start local 5 20: new sun.tools.jar.JarException
dup
aload 5
invokevirtual java.security.NoSuchAlgorithmException.getMessage:()Ljava/lang/String;
invokespecial sun.tools.jar.JarException.<init>:(Ljava/lang/String;)V
athrow
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 21 0 this Lsun/tools/jar/SignatureFile;
0 21 1 mh Lsun/net/www/MessageHeader;
1 21 2 smh Lsun/net/www/MessageHeader;
2 21 3 name Ljava/lang/String;
6 21 4 encoder Lsun/misc/BASE64Encoder;
7 17 5 i I
9 15 6 dig Ljava/security/MessageDigest;
10 15 7 baos Ljava/io/ByteArrayOutputStream;
11 15 8 ps Ljava/io/PrintStream;
13 15 9 headerBytes [B
14 15 10 digest [B
20 21 5 e Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
6 18 19 Class java.security.NoSuchAlgorithmException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
mh
private java.security.MessageDigest getDigest(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/security/MessageDigest;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jar.SignatureFile.digests:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.MessageDigest
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aload 1
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
astore 2
3: aload 0
getfield sun.tools.jar.SignatureFile.digests:Ljava/util/Hashtable;
aload 1
aload 2
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: java.security.MessageDigest
StackMap stack:
aload 2
invokevirtual java.security.MessageDigest.reset:()V
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/jar/SignatureFile;
0 6 1 algorithm Ljava/lang/String;
1 6 2 dig Ljava/security/MessageDigest;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
algorithm
public void stream(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jar.SignatureFile.entries:Ljava/util/Vector;
iconst_0
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.net.www.MessageHeader
astore 2
start local 2 1: aload 2
ldc "Signature-Version"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
ifnonnull 3
2: new sun.tools.jar.JarException
dup
ldc "Signature file requires Signature-Version: 1.0 in 1st header"
invokespecial sun.tools.jar.JarException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.net.www.MessageHeader
StackMap stack:
new java.io.PrintStream
dup
aload 1
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
astore 3
start local 3 4: aload 2
aload 3
invokevirtual sun.net.www.MessageHeader.print:(Ljava/io/PrintStream;)V
5: iconst_1
istore 4
start local 4 6: goto 10
7: StackMap locals: java.io.PrintStream int
StackMap stack:
aload 0
getfield sun.tools.jar.SignatureFile.entries:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.net.www.MessageHeader
astore 5
start local 5 8: aload 5
aload 3
invokevirtual sun.net.www.MessageHeader.print:(Ljava/io/PrintStream;)V
end local 5 9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 0
getfield sun.tools.jar.SignatureFile.entries:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 7
end local 4 11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/tools/jar/SignatureFile;
0 12 1 os Ljava/io/OutputStream;
1 12 2 globals Lsun/net/www/MessageHeader;
4 12 3 ps Ljava/io/PrintStream;
6 11 4 i I
8 9 5 mh Lsun/net/www/MessageHeader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os
}
SourceFile: "SignatureFile.java"