public class sun.security.util.ManifestDigester
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.util.ManifestDigester
super_class: java.lang.Object
{
public static final java.lang.String MF_MAIN_ATTRS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Manifest-Main-Attributes"
private byte[] rawBytes;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private java.util.HashMap<java.lang.String, sun.security.util.ManifestDigester$Entry> entries;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Ljava/lang/String;Lsun/security/util/ManifestDigester$Entry;>;
private boolean findSection(int, sun.security.util.ManifestDigester$Position);
descriptor: (ILsun/security/util/ManifestDigester$Position;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iload 1
istore 3
start local 3 1: aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
arraylength
istore 4
start local 4 2: iload 1
istore 5
start local 5 3: iconst_1
istore 6
start local 6 4: aload 2
iconst_m1
putfield sun.security.util.ManifestDigester$Position.endOfFirstLine:I
5: goto 25
6: StackMap locals: sun.security.util.ManifestDigester int sun.security.util.ManifestDigester$Position int int int int
StackMap stack:
aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
iload 3
baload
istore 7
start local 7 7: iload 7
tableswitch { // 10 - 13
10: 12
11: 23
12: 23
13: 8
default: 23
}
8: StackMap locals: int
StackMap stack:
aload 2
getfield sun.security.util.ManifestDigester$Position.endOfFirstLine:I
iconst_m1
if_icmpne 10
9: aload 2
iload 3
iconst_1
isub
putfield sun.security.util.ManifestDigester$Position.endOfFirstLine:I
10: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmpge 12
aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
iload 3
iconst_1
iadd
baload
bipush 10
if_icmpne 12
11: iinc 3 1
12: StackMap locals:
StackMap stack:
aload 2
getfield sun.security.util.ManifestDigester$Position.endOfFirstLine:I
iconst_m1
if_icmpne 14
13: aload 2
iload 3
iconst_1
isub
putfield sun.security.util.ManifestDigester$Position.endOfFirstLine:I
14: StackMap locals:
StackMap stack:
iload 6
ifne 15
iload 3
iload 4
iconst_1
isub
if_icmpne 20
15: StackMap locals:
StackMap stack:
iload 3
iload 4
iconst_1
isub
if_icmpne 17
16: aload 2
iload 3
putfield sun.security.util.ManifestDigester$Position.endOfSection:I
goto 18
17: StackMap locals:
StackMap stack:
aload 2
iload 5
putfield sun.security.util.ManifestDigester$Position.endOfSection:I
18: StackMap locals:
StackMap stack:
aload 2
iload 3
iconst_1
iadd
putfield sun.security.util.ManifestDigester$Position.startOfNext:I
19: iconst_1
ireturn
20: StackMap locals:
StackMap stack:
iload 3
istore 5
21: iconst_1
istore 6
22: goto 24
23: StackMap locals:
StackMap stack:
iconst_0
istore 6
24: StackMap locals:
StackMap stack:
iinc 3 1
end local 7 25: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmplt 6
26: iconst_0
ireturn
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 27 0 this Lsun/security/util/ManifestDigester;
0 27 1 offset I
0 27 2 pos Lsun/security/util/ManifestDigester$Position;
1 27 3 i I
2 27 4 len I
3 27 5 last I
4 27 6 allBlank Z
7 25 7 b B
MethodParameters:
Name Flags
offset
pos
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=11, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.security.util.ManifestDigester.rawBytes:[B
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.security.util.ManifestDigester.entries:Ljava/util/HashMap;
3: new java.io.ByteArrayOutputStream
invokespecial java.io.ByteArrayOutputStream.<init>:()V
4: new sun.security.util.ManifestDigester$Position
dup
invokespecial sun.security.util.ManifestDigester$Position.<init>:()V
astore 2
start local 2 5: aload 0
iconst_0
aload 2
invokevirtual sun.security.util.ManifestDigester.findSection:(ILsun/security/util/ManifestDigester$Position;)Z
ifne 7
6: return
7: StackMap locals: sun.security.util.ManifestDigester byte[] sun.security.util.ManifestDigester$Position
StackMap stack:
aload 0
getfield sun.security.util.ManifestDigester.entries:Ljava/util/HashMap;
ldc "Manifest-Main-Attributes"
new sun.security.util.ManifestDigester$Entry
dup
invokespecial sun.security.util.ManifestDigester$Entry.<init>:()V
8: new sun.security.util.ManifestDigester$Section
dup
iconst_0
aload 2
getfield sun.security.util.ManifestDigester$Position.endOfSection:I
iconst_1
iadd
aload 2
getfield sun.security.util.ManifestDigester$Position.startOfNext:I
aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
invokespecial sun.security.util.ManifestDigester$Section.<init>:(III[B)V
9: invokevirtual sun.security.util.ManifestDigester$Entry.addSection:(Lsun/security/util/ManifestDigester$Section;)Lsun/security/util/ManifestDigester$Entry;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 2
getfield sun.security.util.ManifestDigester$Position.startOfNext:I
istore 3
start local 3 11: goto 56
12: StackMap locals: int
StackMap stack:
aload 2
getfield sun.security.util.ManifestDigester$Position.endOfFirstLine:I
iload 3
isub
iconst_1
iadd
istore 4
start local 4 13: aload 2
getfield sun.security.util.ManifestDigester$Position.endOfSection:I
iload 3
isub
iconst_1
iadd
istore 5
start local 5 14: aload 2
getfield sun.security.util.ManifestDigester$Position.startOfNext:I
iload 3
isub
istore 6
start local 6 15: iload 4
bipush 6
if_icmple 55
16: aload 0
aload 1
iload 3
invokevirtual sun.security.util.ManifestDigester.isNameAttr:([BI)Z
ifeq 55
17: new java.lang.StringBuilder
dup
iload 5
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 7
start local 7 18: aload 7
19: new java.lang.String
dup
aload 1
iload 3
bipush 6
iadd
iload 4
bipush 6
isub
ldc "UTF8"
invokespecial java.lang.String.<init>:([BIILjava/lang/String;)V
20: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: iload 3
iload 4
iadd
istore 8
start local 8 22: iload 8
iload 3
isub
iload 5
if_icmpge 41
23: aload 1
iload 8
baload
bipush 13
if_icmpne 26
24: iinc 8 2
25: goto 41
26: StackMap locals: sun.security.util.ManifestDigester byte[] sun.security.util.ManifestDigester$Position int int int int java.lang.StringBuilder int
StackMap stack:
iinc 8 1
27: goto 41
28: StackMap locals:
StackMap stack:
aload 1
iload 8
iinc 8 1
baload
bipush 32
if_icmpne 42
29: iload 8
istore 9
start local 9 30: StackMap locals: int
StackMap stack:
iload 8
iload 3
isub
iload 5
if_icmpge 32
31: aload 1
iload 8
iinc 8 1
baload
bipush 10
if_icmpne 30
32: StackMap locals:
StackMap stack:
aload 1
iload 8
iconst_1
isub
baload
bipush 10
if_icmpeq 34
33: return
34: StackMap locals:
StackMap stack:
aload 1
iload 8
iconst_2
isub
baload
bipush 13
if_icmpne 37
35: iload 8
iload 9
isub
iconst_2
isub
istore 10
start local 10 36: goto 38
end local 10 37: StackMap locals:
StackMap stack:
iload 8
iload 9
isub
iconst_1
isub
istore 10
start local 10 38: StackMap locals: int
StackMap stack:
aload 7
new java.lang.String
dup
aload 1
iload 9
39: iload 10
ldc "UTF8"
invokespecial java.lang.String.<init>:([BIILjava/lang/String;)V
40: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 10 end local 9 41: StackMap locals:
StackMap stack:
iload 8
iload 3
isub
iload 5
if_icmplt 28
42: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 43: aload 0
getfield sun.security.util.ManifestDigester.entries:Ljava/util/HashMap;
aload 9
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.util.ManifestDigester$Entry
astore 10
start local 10 44: aload 10
ifnonnull 47
45: new sun.security.util.ManifestDigester$Entry
dup
invokespecial sun.security.util.ManifestDigester$Entry.<init>:()V
astore 10
46: aload 0
getfield sun.security.util.ManifestDigester.entries:Ljava/util/HashMap;
aload 9
aload 10
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
47: StackMap locals: java.lang.String sun.security.util.ManifestDigester$Entry
StackMap stack:
aload 10
new sun.security.util.ManifestDigester$Section
dup
iload 3
iload 5
48: iload 6
aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
invokespecial sun.security.util.ManifestDigester$Section.<init>:(III[B)V
49: invokevirtual sun.security.util.ManifestDigester$Entry.addSection:(Lsun/security/util/ManifestDigester$Section;)Lsun/security/util/ManifestDigester$Entry;
pop
end local 10 end local 9 end local 8 50: goto 55
StackMap locals: sun.security.util.ManifestDigester byte[] sun.security.util.ManifestDigester$Position int int int int java.lang.StringBuilder
StackMap stack: java.io.UnsupportedEncodingException
51: pop
52: new java.lang.IllegalStateException
dup
53: ldc "UTF8 not available on platform"
54: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 7 55: StackMap locals:
StackMap stack:
aload 2
getfield sun.security.util.ManifestDigester$Position.startOfNext:I
istore 3
end local 6 end local 5 end local 4 56: StackMap locals:
StackMap stack:
aload 0
iload 3
aload 2
invokevirtual sun.security.util.ManifestDigester.findSection:(ILsun/security/util/ManifestDigester$Position;)Z
ifne 12
57: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 58 0 this Lsun/security/util/ManifestDigester;
0 58 1 bytes [B
5 58 2 pos Lsun/security/util/ManifestDigester$Position;
11 58 3 start I
13 56 4 len I
14 56 5 sectionLen I
15 56 6 sectionLenWithBlank I
18 55 7 nameBuf Ljava/lang/StringBuilder;
22 50 8 i I
30 41 9 wrapStart I
36 37 10 wrapLen I
38 41 10 wrapLen I
43 50 9 key Ljava/lang/String;
44 50 10 entry Lsun/security/util/ManifestDigester$Entry;
Exception table:
from to target type
18 33 51 Class java.io.UnsupportedEncodingException
34 50 51 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
bytes
private boolean isNameAttr(byte[], int);
descriptor: ([BI)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
iload 2
baload
bipush 78
if_icmpeq 1
aload 1
iload 2
baload
bipush 110
if_icmpne 7
1: StackMap locals:
StackMap stack:
aload 1
iload 2
iconst_1
iadd
baload
bipush 97
if_icmpeq 2
aload 1
iload 2
iconst_1
iadd
baload
bipush 65
if_icmpne 7
2: StackMap locals:
StackMap stack:
aload 1
iload 2
iconst_2
iadd
baload
bipush 109
if_icmpeq 3
aload 1
iload 2
iconst_2
iadd
baload
bipush 77
if_icmpne 7
3: StackMap locals:
StackMap stack:
aload 1
iload 2
iconst_3
iadd
baload
bipush 101
if_icmpeq 4
aload 1
iload 2
iconst_3
iadd
baload
bipush 69
if_icmpne 7
4: StackMap locals:
StackMap stack:
aload 1
iload 2
iconst_4
iadd
baload
bipush 58
if_icmpne 7
5: aload 1
iload 2
iconst_5
iadd
baload
bipush 32
if_icmpne 7
6: iconst_1
ireturn
StackMap locals:
StackMap stack:
7: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/util/ManifestDigester;
0 8 1 bytes [B
0 8 2 start I
MethodParameters:
Name Flags
bytes
start
public sun.security.util.ManifestDigester$Entry get(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lsun/security/util/ManifestDigester$Entry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.security.util.ManifestDigester.entries:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.util.ManifestDigester$Entry
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
iload 2
putfield sun.security.util.ManifestDigester$Entry.oldStyle:Z
3: StackMap locals: sun.security.util.ManifestDigester$Entry
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/util/ManifestDigester;
0 4 1 name Ljava/lang/String;
0 4 2 oldStyle Z
1 4 3 e Lsun/security/util/ManifestDigester$Entry;
MethodParameters:
Name Flags
name
oldStyle
public byte[] manifestDigest(java.security.MessageDigest);
descriptor: (Ljava/security/MessageDigest;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.security.MessageDigest.reset:()V
1: aload 1
aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
iconst_0
aload 0
getfield sun.security.util.ManifestDigester.rawBytes:[B
arraylength
invokevirtual java.security.MessageDigest.update:([BII)V
2: aload 1
invokevirtual java.security.MessageDigest.digest:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/util/ManifestDigester;
0 3 1 md Ljava/security/MessageDigest;
MethodParameters:
Name Flags
md
}
SourceFile: "ManifestDigester.java"
NestMembers:
sun.security.util.ManifestDigester$Entry sun.security.util.ManifestDigester$Position sun.security.util.ManifestDigester$Section
InnerClasses:
public Entry = sun.security.util.ManifestDigester$Entry of sun.security.util.ManifestDigester
Position = sun.security.util.ManifestDigester$Position of sun.security.util.ManifestDigester
private Section = sun.security.util.ManifestDigester$Section of sun.security.util.ManifestDigester