class org.bouncycastle.asn1.IndefiniteLengthInputStream extends org.bouncycastle.asn1.LimitedInputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.asn1.IndefiniteLengthInputStream
super_class: org.bouncycastle.asn1.LimitedInputStream
{
private int _b1;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int _b2;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean _eofReached;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean _eofOn00;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(java.io.InputStream, int);
descriptor: (Ljava/io/InputStream;I)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial org.bouncycastle.asn1.LimitedInputStream.<init>:(Ljava/io/InputStream;I)V
1: aload 0
iconst_0
putfield org.bouncycastle.asn1.IndefiniteLengthInputStream._eofReached:Z
2: aload 0
iconst_1
putfield org.bouncycastle.asn1.IndefiniteLengthInputStream._eofOn00:Z
3: aload 0
aload 1
invokevirtual java.io.InputStream.read:()I
putfield org.bouncycastle.asn1.IndefiniteLengthInputStream._b1:I
4: aload 0
aload 1
invokevirtual java.io.InputStream.read:()I
putfield org.bouncycastle.asn1.IndefiniteLengthInputStream._b2:I
5: aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._b2:I
ifge 7
6: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
7: StackMap locals: org.bouncycastle.asn1.IndefiniteLengthInputStream java.io.InputStream int
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.IndefiniteLengthInputStream.checkForEof:()Z
pop
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/asn1/IndefiniteLengthInputStream;
0 9 1 in Ljava/io/InputStream;
0 9 2 limit I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
limit
void setEofOn00(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.bouncycastle.asn1.IndefiniteLengthInputStream._eofOn00:Z
1: aload 0
invokevirtual org.bouncycastle.asn1.IndefiniteLengthInputStream.checkForEof:()Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/IndefiniteLengthInputStream;
0 3 1 eofOn00 Z
MethodParameters:
Name Flags
eofOn00
private boolean checkForEof();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._eofReached:Z
ifne 3
aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._eofOn00:Z
ifeq 3
aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._b1:I
ifne 3
aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._b2:I
ifne 3
1: aload 0
iconst_1
putfield org.bouncycastle.asn1.IndefiniteLengthInputStream._eofReached:Z
2: aload 0
iconst_1
invokevirtual org.bouncycastle.asn1.IndefiniteLengthInputStream.setParentEofDetect:(Z)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._eofReached:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/IndefiniteLengthInputStream;
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._eofOn00:Z
ifne 1
iload 3
iconst_3
if_icmpge 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokespecial org.bouncycastle.asn1.LimitedInputStream.read:([BII)I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._eofReached:Z
ifeq 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._in:Ljava/io/InputStream;
aload 1
iload 2
iconst_2
iadd
iload 3
iconst_2
isub
invokevirtual java.io.InputStream.read:([BII)I
istore 4
start local 4 5: iload 4
ifge 7
6: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
7: StackMap locals: int
StackMap stack:
aload 1
iload 2
aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._b1:I
i2b
bastore
8: aload 1
iload 2
iconst_1
iadd
aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._b2:I
i2b
bastore
9: aload 0
aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
putfield org.bouncycastle.asn1.IndefiniteLengthInputStream._b1:I
10: aload 0
aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
putfield org.bouncycastle.asn1.IndefiniteLengthInputStream._b2:I
11: aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._b2:I
ifge 13
12: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
13: StackMap locals:
StackMap stack:
iload 4
iconst_2
iadd
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/bouncycastle/asn1/IndefiniteLengthInputStream;
0 14 1 b [B
0 14 2 off I
0 14 3 len I
5 14 4 numRead I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.asn1.IndefiniteLengthInputStream.checkForEof:()Z
ifeq 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._in:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 1
start local 1 3: iload 1
ifge 5
4: new java.io.EOFException
dup
invokespecial java.io.EOFException.<init>:()V
athrow
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._b1:I
istore 2
start local 2 6: aload 0
aload 0
getfield org.bouncycastle.asn1.IndefiniteLengthInputStream._b2:I
putfield org.bouncycastle.asn1.IndefiniteLengthInputStream._b1:I
7: aload 0
iload 1
putfield org.bouncycastle.asn1.IndefiniteLengthInputStream._b2:I
8: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/asn1/IndefiniteLengthInputStream;
3 9 1 b I
6 9 2 v I
Exceptions:
throws java.io.IOException
}
SourceFile: "IndefiniteLengthInputStream.java"