class org.bouncycastle.asn1.ConstructedOctetStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.asn1.ConstructedOctetStream
super_class: java.io.InputStream
{
private final org.bouncycastle.asn1.ASN1StreamParser _parser;
descriptor: Lorg/bouncycastle/asn1/ASN1StreamParser;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean _first;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.io.InputStream _currentStream;
descriptor: Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
void <init>(org.bouncycastle.asn1.ASN1StreamParser);
descriptor: (Lorg/bouncycastle/asn1/ASN1StreamParser;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
iconst_1
putfield org.bouncycastle.asn1.ConstructedOctetStream._first:Z
2: aload 0
aload 1
putfield org.bouncycastle.asn1.ConstructedOctetStream._parser:Lorg/bouncycastle/asn1/ASN1StreamParser;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/ConstructedOctetStream;
0 4 1 parser Lorg/bouncycastle/asn1/ASN1StreamParser;
MethodParameters:
Name Flags
parser
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.asn1.ConstructedOctetStream._currentStream:Ljava/io/InputStream;
ifnonnull 8
1: aload 0
getfield org.bouncycastle.asn1.ConstructedOctetStream._first:Z
ifne 3
2: iconst_m1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.ConstructedOctetStream._parser:Lorg/bouncycastle/asn1/ASN1StreamParser;
invokevirtual org.bouncycastle.asn1.ASN1StreamParser.readObject:()Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1OctetStringParser
astore 4
start local 4 4: aload 4
ifnonnull 6
5: iconst_m1
ireturn
6: StackMap locals: org.bouncycastle.asn1.ASN1OctetStringParser
StackMap stack:
aload 0
iconst_0
putfield org.bouncycastle.asn1.ConstructedOctetStream._first:Z
7: aload 0
aload 4
invokeinterface org.bouncycastle.asn1.ASN1OctetStringParser.getOctetStream:()Ljava/io/InputStream;
putfield org.bouncycastle.asn1.ConstructedOctetStream._currentStream:Ljava/io/InputStream;
end local 4 8: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 9: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.ConstructedOctetStream._currentStream:Ljava/io/InputStream;
aload 1
iload 2
iload 4
iadd
iload 3
iload 4
isub
invokevirtual java.io.InputStream.read:([BII)I
istore 5
start local 5 10: iload 5
iflt 14
11: iload 4
iload 5
iadd
istore 4
12: iload 4
iload 3
if_icmpne 9
13: iload 4
ireturn
14: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.ConstructedOctetStream._parser:Lorg/bouncycastle/asn1/ASN1StreamParser;
invokevirtual org.bouncycastle.asn1.ASN1StreamParser.readObject:()Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1OctetStringParser
astore 6
start local 6 15: aload 6
ifnonnull 20
16: aload 0
aconst_null
putfield org.bouncycastle.asn1.ConstructedOctetStream._currentStream:Ljava/io/InputStream;
17: iload 4
iconst_1
if_icmpge 18
iconst_m1
goto 19
StackMap locals: org.bouncycastle.asn1.ASN1OctetStringParser
StackMap stack:
18: iload 4
StackMap locals:
StackMap stack: int
19: ireturn
20: StackMap locals:
StackMap stack:
aload 0
aload 6
invokeinterface org.bouncycastle.asn1.ASN1OctetStringParser.getOctetStream:()Ljava/io/InputStream;
putfield org.bouncycastle.asn1.ConstructedOctetStream._currentStream:Ljava/io/InputStream;
end local 6 end local 5 21: goto 9
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/bouncycastle/asn1/ConstructedOctetStream;
0 22 1 b [B
0 22 2 off I
0 22 3 len I
4 8 4 s Lorg/bouncycastle/asn1/ASN1OctetStringParser;
9 22 4 totalRead I
10 21 5 numRead I
15 21 6 aos Lorg/bouncycastle/asn1/ASN1OctetStringParser;
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
getfield org.bouncycastle.asn1.ConstructedOctetStream._currentStream:Ljava/io/InputStream;
ifnonnull 8
1: aload 0
getfield org.bouncycastle.asn1.ConstructedOctetStream._first:Z
ifne 3
2: iconst_m1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.ConstructedOctetStream._parser:Lorg/bouncycastle/asn1/ASN1StreamParser;
invokevirtual org.bouncycastle.asn1.ASN1StreamParser.readObject:()Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1OctetStringParser
astore 1
start local 1 4: aload 1
ifnonnull 6
5: iconst_m1
ireturn
6: StackMap locals: org.bouncycastle.asn1.ASN1OctetStringParser
StackMap stack:
aload 0
iconst_0
putfield org.bouncycastle.asn1.ConstructedOctetStream._first:Z
7: aload 0
aload 1
invokeinterface org.bouncycastle.asn1.ASN1OctetStringParser.getOctetStream:()Ljava/io/InputStream;
putfield org.bouncycastle.asn1.ConstructedOctetStream._currentStream:Ljava/io/InputStream;
end local 1 8: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.ConstructedOctetStream._currentStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
istore 1
start local 1 9: iload 1
iflt 11
10: iload 1
ireturn
11: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.ConstructedOctetStream._parser:Lorg/bouncycastle/asn1/ASN1StreamParser;
invokevirtual org.bouncycastle.asn1.ASN1StreamParser.readObject:()Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1OctetStringParser
astore 2
start local 2 12: aload 2
ifnonnull 15
13: aload 0
aconst_null
putfield org.bouncycastle.asn1.ConstructedOctetStream._currentStream:Ljava/io/InputStream;
14: iconst_m1
ireturn
15: StackMap locals: org.bouncycastle.asn1.ASN1OctetStringParser
StackMap stack:
aload 0
aload 2
invokeinterface org.bouncycastle.asn1.ASN1OctetStringParser.getOctetStream:()Ljava/io/InputStream;
putfield org.bouncycastle.asn1.ConstructedOctetStream._currentStream:Ljava/io/InputStream;
end local 2 end local 1 16: goto 8
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/bouncycastle/asn1/ConstructedOctetStream;
4 8 1 s Lorg/bouncycastle/asn1/ASN1OctetStringParser;
9 16 1 b I
12 16 2 s Lorg/bouncycastle/asn1/ASN1OctetStringParser;
Exceptions:
throws java.io.IOException
}
SourceFile: "ConstructedOctetStream.java"