public class org.apache.tomcat.util.buf.Asn1Writer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.buf.Asn1Writer
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.apache.tomcat.util.buf.Asn1Writer this
0: .line 19
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.apache.tomcat.util.buf.Asn1Writer this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/Asn1Writer;
public static byte[] writeSequence(byte[][]);
descriptor: ([[B)[B
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=8, args_size=1
start local 0 // byte[][] components
0: .line 22
iconst_0
istore 1 /* len */
start local 1 // int len
1: .line 23
aload 0 /* components */
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: byte[][] int top int int byte[][]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2 /* component */
start local 2 // byte[] component
3: .line 24
iload 1 /* len */
aload 2 /* component */
arraylength
iadd
istore 1 /* len */
end local 2 // byte[] component
4: .line 23
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: .line 27
iload 1 /* len */
newarray 8
astore 2 /* combined */
start local 2 // byte[] combined
7: .line 28
iconst_0
istore 3 /* pos */
start local 3 // int pos
8: .line 29
aload 0 /* components */
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 13
StackMap locals: byte[][] int byte[] int top int int byte[][]
StackMap stack:
9: aload 7
iload 5
aaload
astore 4 /* component */
start local 4 // byte[] component
10: .line 30
aload 4 /* component */
iconst_0
aload 2 /* combined */
iload 3 /* pos */
aload 4 /* component */
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: .line 31
iload 3 /* pos */
aload 4 /* component */
arraylength
iadd
istore 3 /* pos */
end local 4 // byte[] component
12: .line 29
iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
iload 6
if_icmplt 9
14: .line 34
bipush 48
aload 2 /* combined */
invokestatic org.apache.tomcat.util.buf.Asn1Writer.writeTag:(B[B)[B
areturn
end local 3 // int pos
end local 2 // byte[] combined
end local 1 // int len
end local 0 // byte[][] components
LocalVariableTable:
Start End Slot Name Signature
0 15 0 components [[B
1 15 1 len I
3 4 2 component [B
7 15 2 combined [B
8 15 3 pos I
10 12 4 component [B
MethodParameters:
Name Flags
components
public static byte[] writeInteger(int);
descriptor: (I)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=1
start local 0 // int value
0: .line 40
iconst_1
istore 1 /* valueSize */
start local 1 // int valueSize
1: .line 41
goto 3
2: .line 42
StackMap locals: int
StackMap stack:
iinc 1 /* valueSize */ 1
3: .line 41
StackMap locals:
StackMap stack:
iload 0 /* value */
iload 1 /* valueSize */
bipush 8
imul
ishr
ifgt 2
4: .line 45
iload 1 /* valueSize */
newarray 8
astore 2 /* valueBytes */
start local 2 // byte[] valueBytes
5: .line 46
iconst_0
istore 3 /* i */
start local 3 // int i
6: .line 47
goto 11
7: .line 48
StackMap locals: byte[] int
StackMap stack:
aload 2 /* valueBytes */
iload 3 /* i */
iload 0 /* value */
bipush 8
iload 1 /* valueSize */
iconst_1
isub
imul
ishr
i2b
bastore
8: .line 49
iload 0 /* value */
bipush 8
ishr
istore 0 /* value */
9: .line 50
iinc 1 /* valueSize */ -1
10: .line 51
iinc 3 /* i */ 1
11: .line 47
StackMap locals:
StackMap stack:
iload 1 /* valueSize */
ifgt 7
12: .line 54
iconst_2
aload 2 /* valueBytes */
invokestatic org.apache.tomcat.util.buf.Asn1Writer.writeTag:(B[B)[B
areturn
end local 3 // int i
end local 2 // byte[] valueBytes
end local 1 // int valueSize
end local 0 // int value
LocalVariableTable:
Start End Slot Name Signature
0 13 0 value I
1 13 1 valueSize I
5 13 2 valueBytes [B
6 13 3 i I
MethodParameters:
Name Flags
value
public static byte[] writeOctetString(byte[]);
descriptor: ([B)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 // byte[] data
0: .line 58
iconst_4
aload 0 /* data */
invokestatic org.apache.tomcat.util.buf.Asn1Writer.writeTag:(B[B)[B
areturn
end local 0 // byte[] data
LocalVariableTable:
Start End Slot Name Signature
0 1 0 data [B
MethodParameters:
Name Flags
data
public static byte[] writeTag(byte, byte[]);
descriptor: (B[B)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 // byte tagId
start local 1 // byte[] data
0: .line 62
aload 1 /* data */
arraylength
istore 2 /* dataSize */
start local 2 // int dataSize
1: .line 64
iconst_1
istore 3 /* lengthSize */
start local 3 // int lengthSize
2: .line 65
iload 2 /* dataSize */
bipush 127
if_icmple 6
3: .line 70
StackMap locals: int int
StackMap stack:
iinc 3 /* lengthSize */ 1
4: .line 72
iload 2 /* dataSize */
iload 3 /* lengthSize */
bipush 8
imul
ishr
5: .line 69
ifgt 3
6: .line 76
StackMap locals:
StackMap stack:
iconst_1
iload 3 /* lengthSize */
iadd
iload 2 /* dataSize */
iadd
newarray 8
astore 4 /* result */
start local 4 // byte[] result
7: .line 77
aload 4 /* result */
iconst_0
iload 0 /* tagId */
bastore
8: .line 78
iload 2 /* dataSize */
sipush 128
if_icmpge 11
9: .line 79
aload 4 /* result */
iconst_1
iload 2 /* dataSize */
i2b
bastore
10: .line 80
goto 18
11: .line 82
StackMap locals: byte[]
StackMap stack:
aload 4 /* result */
iconst_1
bipush 127
iload 3 /* lengthSize */
iadd
i2b
bastore
12: .line 83
iload 3 /* lengthSize */
istore 5 /* i */
start local 5 // int i
13: .line 84
goto 17
14: .line 85
StackMap locals: int
StackMap stack:
aload 4 /* result */
iload 5 /* i */
iload 2 /* dataSize */
sipush 255
iand
i2b
bastore
15: .line 86
iload 2 /* dataSize */
bipush 8
ishr
istore 2 /* dataSize */
16: .line 87
iinc 5 /* i */ -1
17: .line 84
StackMap locals:
StackMap stack:
iload 2 /* dataSize */
ifgt 14
end local 5 // int i
18: .line 91
StackMap locals:
StackMap stack:
aload 1 /* data */
iconst_0
aload 4 /* result */
iconst_1
iload 3 /* lengthSize */
iadd
aload 1 /* data */
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: .line 93
aload 4 /* result */
areturn
end local 4 // byte[] result
end local 3 // int lengthSize
end local 2 // int dataSize
end local 1 // byte[] data
end local 0 // byte tagId
LocalVariableTable:
Start End Slot Name Signature
0 20 0 tagId B
0 20 1 data [B
1 20 2 dataSize I
2 20 3 lengthSize I
7 20 4 result [B
13 18 5 i I
MethodParameters:
Name Flags
tagId
data
}
SourceFile: "Asn1Writer.java"