public class org.apache.tomcat.util.buf.Asn1Parser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.buf.Asn1Parser
super_class: java.lang.Object
{
private static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final byte[] source;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/tomcat/util/buf/Asn1Parser;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.tomcat.util.buf.Asn1Parser.sm:Lorg/apache/tomcat/util/res/StringManager;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.Asn1Parser.pos:I
2: aload 0
aload 1
putfield org.apache.tomcat.util.buf.Asn1Parser.source:[B
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/buf/Asn1Parser;
0 4 1 source [B
MethodParameters:
Name Flags
source
public void parseTag(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.buf.Asn1Parser.next:()I
istore 2
start local 2 1: iload 2
iload 1
if_icmpeq 5
2: new java.lang.IllegalArgumentException
dup
getstatic org.apache.tomcat.util.buf.Asn1Parser.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "asn1Parser.tagMismatch"
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
4: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/buf/Asn1Parser;
0 6 1 tag I
1 6 2 value I
MethodParameters:
Name Flags
tag
public void parseFullLength();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.buf.Asn1Parser.parseLength:()I
istore 1
start local 1 1: iload 1
aload 0
getfield org.apache.tomcat.util.buf.Asn1Parser.pos:I
iadd
aload 0
getfield org.apache.tomcat.util.buf.Asn1Parser.source:[B
arraylength
if_icmpeq 5
2: new java.lang.IllegalArgumentException
dup
getstatic org.apache.tomcat.util.buf.Asn1Parser.sm:Lorg/apache/tomcat/util/res/StringManager;
ldc "asn1Parser.lengthInvalid"
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.apache.tomcat.util.buf.Asn1Parser.source:[B
arraylength
aload 0
getfield org.apache.tomcat.util.buf.Asn1Parser.pos:I
isub
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
4: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/buf/Asn1Parser;
1 6 1 len I
public int parseLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.buf.Asn1Parser.next:()I
istore 1
start local 1 1: iload 1
bipush 127
if_icmple 10
2: iload 1
sipush 128
isub
istore 2
start local 2 3: iconst_0
istore 1
4: iconst_0
istore 3
start local 3 5: goto 9
6: StackMap locals: int int int
StackMap stack:
iload 1
bipush 8
ishl
istore 1
7: iload 1
aload 0
invokevirtual org.apache.tomcat.util.buf.Asn1Parser.next:()I
iadd
istore 1
8: iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 2
if_icmplt 6
end local 3 end local 2 10: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/tomcat/util/buf/Asn1Parser;
1 11 1 len I
3 10 2 bytes I
5 10 3 i I
public java.math.BigInteger parseInt();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
iconst_2
invokevirtual org.apache.tomcat.util.buf.Asn1Parser.parseTag:(I)V
1: aload 0
invokevirtual org.apache.tomcat.util.buf.Asn1Parser.parseLength:()I
istore 1
start local 1 2: iload 1
newarray 8
astore 2
start local 2 3: aload 0
getfield org.apache.tomcat.util.buf.Asn1Parser.source:[B
aload 0
getfield org.apache.tomcat.util.buf.Asn1Parser.pos:I
aload 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
dup
getfield org.apache.tomcat.util.buf.Asn1Parser.pos:I
iload 1
iadd
putfield org.apache.tomcat.util.buf.Asn1Parser.pos:I
5: new java.math.BigInteger
dup
aload 2
invokespecial java.math.BigInteger.<init>:([B)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/buf/Asn1Parser;
2 6 1 len I
3 6 2 val [B
public void parseBytes(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.buf.Asn1Parser.source:[B
aload 0
getfield org.apache.tomcat.util.buf.Asn1Parser.pos:I
aload 1
iconst_0
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
1: aload 0
dup
getfield org.apache.tomcat.util.buf.Asn1Parser.pos:I
aload 1
arraylength
iadd
putfield org.apache.tomcat.util.buf.Asn1Parser.pos:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/buf/Asn1Parser;
0 3 1 dest [B
MethodParameters:
Name Flags
dest
private int next();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.Asn1Parser.source:[B
aload 0
dup
getfield org.apache.tomcat.util.buf.Asn1Parser.pos:I
dup_x1
iconst_1
iadd
putfield org.apache.tomcat.util.buf.Asn1Parser.pos:I
baload
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/Asn1Parser;
}
SourceFile: "Asn1Parser.java"