public class org.bouncycastle.asn1.ASN1InputStream extends java.io.FilterInputStream implements org.bouncycastle.asn1.DERTags
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bouncycastle.asn1.ASN1InputStream
  super_class: java.io.FilterInputStream
{
  private final int limit;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final boolean lazyEvaluate;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static int findLimit(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)I
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.io.InputStream in
         0: .line 26
            aload 0 /* in */
            instanceof org.bouncycastle.asn1.LimitedInputStream
            ifeq 2
         1: .line 28
            aload 0 /* in */
            checkcast org.bouncycastle.asn1.LimitedInputStream
            invokevirtual org.bouncycastle.asn1.LimitedInputStream.getRemaining:()I
            ireturn
         2: .line 30
      StackMap locals:
      StackMap stack:
            aload 0 /* in */
            instanceof java.io.ByteArrayInputStream
            ifeq 4
         3: .line 32
            aload 0 /* in */
            checkcast java.io.ByteArrayInputStream
            invokevirtual java.io.ByteArrayInputStream.available:()I
            ireturn
         4: .line 35
      StackMap locals:
      StackMap stack:
            ldc 2147483647
            ireturn
        end local 0 // java.io.InputStream in
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0    in  Ljava/io/InputStream;
    MethodParameters:
      Name  Flags
      in    

  public void <init>(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.bouncycastle.asn1.ASN1InputStream this
        start local 1 // java.io.InputStream is
         0: .line 41
            aload 0 /* this */
            aload 1 /* is */
            aload 1 /* is */
            invokestatic org.bouncycastle.asn1.ASN1InputStream.findLimit:(Ljava/io/InputStream;)I
            invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:(Ljava/io/InputStream;I)V
         1: .line 42
            return
        end local 1 // java.io.InputStream is
        end local 0 // org.bouncycastle.asn1.ASN1InputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/bouncycastle/asn1/ASN1InputStream;
            0    2     1    is  Ljava/io/InputStream;
    MethodParameters:
      Name  Flags
      is    

  public void <init>(byte[]);
    descriptor: ([B)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.bouncycastle.asn1.ASN1InputStream this
        start local 1 // byte[] input
         0: .line 53
            aload 0 /* this */
            new java.io.ByteArrayInputStream
            dup
            aload 1 /* input */
            invokespecial java.io.ByteArrayInputStream.<init>:([B)V
            aload 1 /* input */
            arraylength
            invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:(Ljava/io/InputStream;I)V
         1: .line 54
            return
        end local 1 // byte[] input
        end local 0 // org.bouncycastle.asn1.ASN1InputStream this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lorg/bouncycastle/asn1/ASN1InputStream;
            0    2     1  input  [B
    MethodParameters:
       Name  Flags
      input  

  public void <init>(byte[], boolean);
    descriptor: ([BZ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.bouncycastle.asn1.ASN1InputStream this
        start local 1 // byte[] input
        start local 2 // boolean lazyEvaluate
         0: .line 67
            aload 0 /* this */
            new java.io.ByteArrayInputStream
            dup
            aload 1 /* input */
            invokespecial java.io.ByteArrayInputStream.<init>:([B)V
            aload 1 /* input */
            arraylength
            iload 2 /* lazyEvaluate */
            invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:(Ljava/io/InputStream;IZ)V
         1: .line 68
            return
        end local 2 // boolean lazyEvaluate
        end local 1 // byte[] input
        end local 0 // org.bouncycastle.asn1.ASN1InputStream this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    2     0          this  Lorg/bouncycastle/asn1/ASN1InputStream;
            0    2     1         input  [B
            0    2     2  lazyEvaluate  Z
    MethodParameters:
              Name  Flags
      input         
      lazyEvaluate  

  public void <init>(java.io.InputStream, int);
    descriptor: (Ljava/io/InputStream;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.bouncycastle.asn1.ASN1InputStream this
        start local 1 // java.io.InputStream input
        start local 2 // int limit
         0: .line 80
            aload 0 /* this */
            aload 1 /* input */
            iload 2 /* limit */
            iconst_0
            invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:(Ljava/io/InputStream;IZ)V
         1: .line 81
            return
        end local 2 // int limit
        end local 1 // java.io.InputStream input
        end local 0 // org.bouncycastle.asn1.ASN1InputStream this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lorg/bouncycastle/asn1/ASN1InputStream;
            0    2     1  input  Ljava/io/InputStream;
            0    2     2  limit  I
    MethodParameters:
       Name  Flags
      input  
      limit  

  public void <init>(java.io.InputStream, int, boolean);
    descriptor: (Ljava/io/InputStream;IZ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.bouncycastle.asn1.ASN1InputStream this
        start local 1 // java.io.InputStream input
        start local 2 // int limit
        start local 3 // boolean lazyEvaluate
         0: .line 96
            aload 0 /* this */
            aload 1 /* input */
            invokespecial java.io.FilterInputStream.<init>:(Ljava/io/InputStream;)V
         1: .line 97
            aload 0 /* this */
            iload 2 /* limit */
            putfield org.bouncycastle.asn1.ASN1InputStream.limit:I
         2: .line 98
            aload 0 /* this */
            iload 3 /* lazyEvaluate */
            putfield org.bouncycastle.asn1.ASN1InputStream.lazyEvaluate:Z
         3: .line 99
            return
        end local 3 // boolean lazyEvaluate
        end local 2 // int limit
        end local 1 // java.io.InputStream input
        end local 0 // org.bouncycastle.asn1.ASN1InputStream this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    4     0          this  Lorg/bouncycastle/asn1/ASN1InputStream;
            0    4     1         input  Ljava/io/InputStream;
            0    4     2         limit  I
            0    4     3  lazyEvaluate  Z
    MethodParameters:
              Name  Flags
      input         
      limit         
      lazyEvaluate  

  protected int readLength();
    descriptor: ()I
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.bouncycastle.asn1.ASN1InputStream this
         0: .line 104
            aload 0 /* this */
            aload 0 /* this */
            getfield org.bouncycastle.asn1.ASN1InputStream.limit:I
            invokestatic org.bouncycastle.asn1.ASN1InputStream.readLength:(Ljava/io/InputStream;I)I
            ireturn
        end local 0 // org.bouncycastle.asn1.ASN1InputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/asn1/ASN1InputStream;
    Exceptions:
      throws java.io.IOException

  protected void readFully(byte[]);
    descriptor: ([B)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.bouncycastle.asn1.ASN1InputStream this
        start local 1 // byte[] bytes
         0: .line 111
            aload 0 /* this */
            aload 1 /* bytes */
            invokestatic org.bouncycastle.util.io.Streams.readFully:(Ljava/io/InputStream;[B)I
            aload 1 /* bytes */
            arraylength
            if_icmpeq 2
         1: .line 113
            new java.io.EOFException
            dup
            ldc "EOF encountered in middle of object"
            invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 115
      StackMap locals:
      StackMap stack:
            return
        end local 1 // byte[] bytes
        end local 0 // org.bouncycastle.asn1.ASN1InputStream this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Lorg/bouncycastle/asn1/ASN1InputStream;
            0    3     1  bytes  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      bytes  

  protected org.bouncycastle.asn1.DERObject buildObject(int, int, int);
    descriptor: (III)Lorg/bouncycastle/asn1/DERObject;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=6, args_size=4
        start local 0 // org.bouncycastle.asn1.ASN1InputStream this
        start local 1 // int tag
        start local 2 // int tagNo
        start local 3 // int length
         0: .line 126
            iload 1 /* tag */
            bipush 32
            iand
            ifeq 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: istore 4 /* isConstructed */
        start local 4 // boolean isConstructed
         3: .line 128
            new org.bouncycastle.asn1.DefiniteLengthInputStream
            dup
            aload 0 /* this */
            iload 3 /* length */
            invokespecial org.bouncycastle.asn1.DefiniteLengthInputStream.<init>:(Ljava/io/InputStream;I)V
            astore 5 /* defIn */
        start local 5 // org.bouncycastle.asn1.DefiniteLengthInputStream defIn
         4: .line 130
            iload 1 /* tag */
            bipush 64
            iand
            ifeq 6
         5: .line 132
            new org.bouncycastle.asn1.DERApplicationSpecific
            dup
            iload 4 /* isConstructed */
            iload 2 /* tagNo */
            aload 5 /* defIn */
            invokevirtual org.bouncycastle.asn1.DefiniteLengthInputStream.toByteArray:()[B
            invokespecial org.bouncycastle.asn1.DERApplicationSpecific.<init>:(ZI[B)V
            areturn
         6: .line 135
      StackMap locals: int org.bouncycastle.asn1.DefiniteLengthInputStream
      StackMap stack:
            iload 1 /* tag */
            sipush 128
            iand
            ifeq 8
         7: .line 137
            new org.bouncycastle.asn1.ASN1StreamParser
            dup
            aload 5 /* defIn */
            invokespecial org.bouncycastle.asn1.ASN1StreamParser.<init>:(Ljava/io/InputStream;)V
            iload 4 /* isConstructed */
            iload 2 /* tagNo */
            invokevirtual org.bouncycastle.asn1.ASN1StreamParser.readTaggedObject:(ZI)Lorg/bouncycastle/asn1/DERObject;
            areturn
         8: .line 140
      StackMap locals:
      StackMap stack:
            iload 4 /* isConstructed */
            ifeq 17
         9: .line 143
            iload 2 /* tagNo */
            lookupswitch { // 4
                    4: 10
                    8: 15
                   16: 11
                   17: 14
              default: 16
          }
        10: .line 149
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.BERConstructedOctetString
            dup
            aload 0 /* this */
            aload 5 /* defIn */
            invokevirtual org.bouncycastle.asn1.ASN1InputStream.buildDEREncodableVector:(Lorg/bouncycastle/asn1/DefiniteLengthInputStream;)Lorg/bouncycastle/asn1/ASN1EncodableVector;
            getfield org.bouncycastle.asn1.ASN1EncodableVector.v:Ljava/util/Vector;
            invokespecial org.bouncycastle.asn1.BERConstructedOctetString.<init>:(Ljava/util/Vector;)V
            areturn
        11: .line 151
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.bouncycastle.asn1.ASN1InputStream.lazyEvaluate:Z
            ifeq 13
        12: .line 153
            new org.bouncycastle.asn1.LazyDERSequence
            dup
            aload 5 /* defIn */
            invokevirtual org.bouncycastle.asn1.DefiniteLengthInputStream.toByteArray:()[B
            invokespecial org.bouncycastle.asn1.LazyDERSequence.<init>:([B)V
            areturn
        13: .line 157
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 5 /* defIn */
            invokevirtual org.bouncycastle.asn1.ASN1InputStream.buildDEREncodableVector:(Lorg/bouncycastle/asn1/DefiniteLengthInputStream;)Lorg/bouncycastle/asn1/ASN1EncodableVector;
            invokestatic org.bouncycastle.asn1.DERFactory.createSequence:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)Lorg/bouncycastle/asn1/DERSequence;
            areturn
        14: .line 160
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 5 /* defIn */
            invokevirtual org.bouncycastle.asn1.ASN1InputStream.buildDEREncodableVector:(Lorg/bouncycastle/asn1/DefiniteLengthInputStream;)Lorg/bouncycastle/asn1/ASN1EncodableVector;
            iconst_0
            invokestatic org.bouncycastle.asn1.DERFactory.createSet:(Lorg/bouncycastle/asn1/ASN1EncodableVector;Z)Lorg/bouncycastle/asn1/DERSet;
            areturn
        15: .line 162
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DERExternal
            dup
            aload 0 /* this */
            aload 5 /* defIn */
            invokevirtual org.bouncycastle.asn1.ASN1InputStream.buildDEREncodableVector:(Lorg/bouncycastle/asn1/DefiniteLengthInputStream;)Lorg/bouncycastle/asn1/ASN1EncodableVector;
            invokespecial org.bouncycastle.asn1.DERExternal.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
            areturn
        16: .line 164
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DERUnknownTag
            dup
            iconst_1
            iload 2 /* tagNo */
            aload 5 /* defIn */
            invokevirtual org.bouncycastle.asn1.DefiniteLengthInputStream.toByteArray:()[B
            invokespecial org.bouncycastle.asn1.DERUnknownTag.<init>:(ZI[B)V
            areturn
        17: .line 168
      StackMap locals:
      StackMap stack:
            iload 2 /* tagNo */
            aload 5 /* defIn */
            invokevirtual org.bouncycastle.asn1.DefiniteLengthInputStream.toByteArray:()[B
            invokestatic org.bouncycastle.asn1.ASN1InputStream.createPrimitiveDERObject:(I[B)Lorg/bouncycastle/asn1/DERObject;
            areturn
        end local 5 // org.bouncycastle.asn1.DefiniteLengthInputStream defIn
        end local 4 // boolean isConstructed
        end local 3 // int length
        end local 2 // int tagNo
        end local 1 // int tag
        end local 0 // org.bouncycastle.asn1.ASN1InputStream this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   18     0           this  Lorg/bouncycastle/asn1/ASN1InputStream;
            0   18     1            tag  I
            0   18     2          tagNo  I
            0   18     3         length  I
            3   18     4  isConstructed  Z
            4   18     5          defIn  Lorg/bouncycastle/asn1/DefiniteLengthInputStream;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      tag     
      tagNo   
      length  

  org.bouncycastle.asn1.ASN1EncodableVector buildEncodableVector();
    descriptor: ()Lorg/bouncycastle/asn1/ASN1EncodableVector;
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // org.bouncycastle.asn1.ASN1InputStream this
         0: .line 174
            new org.bouncycastle.asn1.ASN1EncodableVector
            dup
            invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
            astore 1 /* v */
        start local 1 // org.bouncycastle.asn1.ASN1EncodableVector v
         1: .line 177
            goto 3
        start local 2 // org.bouncycastle.asn1.DERObject o
         2: .line 179
      StackMap locals: org.bouncycastle.asn1.ASN1EncodableVector org.bouncycastle.asn1.DERObject
      StackMap stack:
            aload 1 /* v */
            aload 2 /* o */
            invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
        end local 2 // org.bouncycastle.asn1.DERObject o
         3: .line 177
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
            dup
            astore 2 /* o */
        start local 2 // org.bouncycastle.asn1.DERObject o
         4: ifnonnull 2
         5: .line 182
            aload 1 /* v */
            areturn
        end local 2 // org.bouncycastle.asn1.DERObject o
        end local 1 // org.bouncycastle.asn1.ASN1EncodableVector v
        end local 0 // org.bouncycastle.asn1.ASN1InputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/bouncycastle/asn1/ASN1InputStream;
            1    6     1     v  Lorg/bouncycastle/asn1/ASN1EncodableVector;
            2    3     2     o  Lorg/bouncycastle/asn1/DERObject;
            4    6     2     o  Lorg/bouncycastle/asn1/DERObject;
    Exceptions:
      throws java.io.IOException

  org.bouncycastle.asn1.ASN1EncodableVector buildDEREncodableVector(org.bouncycastle.asn1.DefiniteLengthInputStream);
    descriptor: (Lorg/bouncycastle/asn1/DefiniteLengthInputStream;)Lorg/bouncycastle/asn1/ASN1EncodableVector;
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.bouncycastle.asn1.ASN1InputStream this
        start local 1 // org.bouncycastle.asn1.DefiniteLengthInputStream dIn
         0: .line 188
            new org.bouncycastle.asn1.ASN1InputStream
            dup
            aload 1 /* dIn */
            invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:(Ljava/io/InputStream;)V
            invokevirtual org.bouncycastle.asn1.ASN1InputStream.buildEncodableVector:()Lorg/bouncycastle/asn1/ASN1EncodableVector;
            areturn
        end local 1 // org.bouncycastle.asn1.DefiniteLengthInputStream dIn
        end local 0 // org.bouncycastle.asn1.ASN1InputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/asn1/ASN1InputStream;
            0    1     1   dIn  Lorg/bouncycastle/asn1/DefiniteLengthInputStream;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dIn   

  public org.bouncycastle.asn1.DERObject readObject();
    descriptor: ()Lorg/bouncycastle/asn1/DERObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=1
        start local 0 // org.bouncycastle.asn1.ASN1InputStream this
         0: .line 194
            aload 0 /* this */
            invokevirtual org.bouncycastle.asn1.ASN1InputStream.read:()I
            istore 1 /* tag */
        start local 1 // int tag
         1: .line 195
            iload 1 /* tag */
            ifgt 5
         2: .line 197
            iload 1 /* tag */
            ifne 4
         3: .line 199
            new java.io.IOException
            dup
            ldc "unexpected end-of-contents marker"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 202
      StackMap locals: int
      StackMap stack:
            aconst_null
            areturn
         5: .line 208
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* tag */
            invokestatic org.bouncycastle.asn1.ASN1InputStream.readTagNumber:(Ljava/io/InputStream;I)I
            istore 2 /* tagNo */
        start local 2 // int tagNo
         6: .line 210
            iload 1 /* tag */
            bipush 32
            iand
            ifeq 7
            iconst_1
            goto 8
      StackMap locals: int
      StackMap stack:
         7: iconst_0
      StackMap locals:
      StackMap stack: int
         8: istore 3 /* isConstructed */
        start local 3 // boolean isConstructed
         9: .line 215
            aload 0 /* this */
            invokevirtual org.bouncycastle.asn1.ASN1InputStream.readLength:()I
            istore 4 /* length */
        start local 4 // int length
        10: .line 217
            iload 4 /* length */
            ifge 25
        11: .line 219
            iload 3 /* isConstructed */
            ifne 13
        12: .line 221
            new java.io.IOException
            dup
            ldc "indefinite length primitive encoding encountered"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        13: .line 224
      StackMap locals: int int
      StackMap stack:
            new org.bouncycastle.asn1.IndefiniteLengthInputStream
            dup
            aload 0 /* this */
            aload 0 /* this */
            getfield org.bouncycastle.asn1.ASN1InputStream.limit:I
            invokespecial org.bouncycastle.asn1.IndefiniteLengthInputStream.<init>:(Ljava/io/InputStream;I)V
            astore 5 /* indIn */
        start local 5 // org.bouncycastle.asn1.IndefiniteLengthInputStream indIn
        14: .line 225
            new org.bouncycastle.asn1.ASN1StreamParser
            dup
            aload 5 /* indIn */
            aload 0 /* this */
            getfield org.bouncycastle.asn1.ASN1InputStream.limit:I
            invokespecial org.bouncycastle.asn1.ASN1StreamParser.<init>:(Ljava/io/InputStream;I)V
            astore 6 /* sp */
        start local 6 // org.bouncycastle.asn1.ASN1StreamParser sp
        15: .line 227
            iload 1 /* tag */
            bipush 64
            iand
            ifeq 17
        16: .line 229
            new org.bouncycastle.asn1.BERApplicationSpecificParser
            dup
            iload 2 /* tagNo */
            aload 6 /* sp */
            invokespecial org.bouncycastle.asn1.BERApplicationSpecificParser.<init>:(ILorg/bouncycastle/asn1/ASN1StreamParser;)V
            invokevirtual org.bouncycastle.asn1.BERApplicationSpecificParser.getLoadedObject:()Lorg/bouncycastle/asn1/DERObject;
            areturn
        17: .line 232
      StackMap locals: org.bouncycastle.asn1.IndefiniteLengthInputStream org.bouncycastle.asn1.ASN1StreamParser
      StackMap stack:
            iload 1 /* tag */
            sipush 128
            iand
            ifeq 19
        18: .line 234
            new org.bouncycastle.asn1.BERTaggedObjectParser
            dup
            iconst_1
            iload 2 /* tagNo */
            aload 6 /* sp */
            invokespecial org.bouncycastle.asn1.BERTaggedObjectParser.<init>:(ZILorg/bouncycastle/asn1/ASN1StreamParser;)V
            invokevirtual org.bouncycastle.asn1.BERTaggedObjectParser.getLoadedObject:()Lorg/bouncycastle/asn1/DERObject;
            areturn
        19: .line 238
      StackMap locals:
      StackMap stack:
            iload 2 /* tagNo */
            lookupswitch { // 4
                    4: 20
                    8: 23
                   16: 21
                   17: 22
              default: 24
          }
        20: .line 241
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.BEROctetStringParser
            dup
            aload 6 /* sp */
            invokespecial org.bouncycastle.asn1.BEROctetStringParser.<init>:(Lorg/bouncycastle/asn1/ASN1StreamParser;)V
            invokevirtual org.bouncycastle.asn1.BEROctetStringParser.getLoadedObject:()Lorg/bouncycastle/asn1/DERObject;
            areturn
        21: .line 243
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.BERSequenceParser
            dup
            aload 6 /* sp */
            invokespecial org.bouncycastle.asn1.BERSequenceParser.<init>:(Lorg/bouncycastle/asn1/ASN1StreamParser;)V
            invokevirtual org.bouncycastle.asn1.BERSequenceParser.getLoadedObject:()Lorg/bouncycastle/asn1/DERObject;
            areturn
        22: .line 245
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.BERSetParser
            dup
            aload 6 /* sp */
            invokespecial org.bouncycastle.asn1.BERSetParser.<init>:(Lorg/bouncycastle/asn1/ASN1StreamParser;)V
            invokevirtual org.bouncycastle.asn1.BERSetParser.getLoadedObject:()Lorg/bouncycastle/asn1/DERObject;
            areturn
        23: .line 247
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DERExternalParser
            dup
            aload 6 /* sp */
            invokespecial org.bouncycastle.asn1.DERExternalParser.<init>:(Lorg/bouncycastle/asn1/ASN1StreamParser;)V
            invokevirtual org.bouncycastle.asn1.DERExternalParser.getLoadedObject:()Lorg/bouncycastle/asn1/DERObject;
            areturn
        24: .line 249
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            ldc "unknown BER object encountered"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 6 // org.bouncycastle.asn1.ASN1StreamParser sp
        end local 5 // org.bouncycastle.asn1.IndefiniteLengthInputStream indIn
        25: .line 256
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* tag */
            iload 2 /* tagNo */
            iload 4 /* length */
            invokevirtual org.bouncycastle.asn1.ASN1InputStream.buildObject:(III)Lorg/bouncycastle/asn1/DERObject;
        26: areturn
        27: .line 258
      StackMap locals:
      StackMap stack: java.lang.IllegalArgumentException
            astore 5 /* e */
        start local 5 // java.lang.IllegalArgumentException e
        28: .line 260
            new org.bouncycastle.asn1.ASN1Exception
            dup
            ldc "corrupted stream detected"
            aload 5 /* e */
            invokespecial org.bouncycastle.asn1.ASN1Exception.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 5 // java.lang.IllegalArgumentException e
        end local 4 // int length
        end local 3 // boolean isConstructed
        end local 2 // int tagNo
        end local 1 // int tag
        end local 0 // org.bouncycastle.asn1.ASN1InputStream this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   29     0           this  Lorg/bouncycastle/asn1/ASN1InputStream;
            1   29     1            tag  I
            6   29     2          tagNo  I
            9   29     3  isConstructed  Z
           10   29     4         length  I
           14   25     5          indIn  Lorg/bouncycastle/asn1/IndefiniteLengthInputStream;
           15   25     6             sp  Lorg/bouncycastle/asn1/ASN1StreamParser;
           28   29     5              e  Ljava/lang/IllegalArgumentException;
      Exception table:
        from    to  target  type
          25    26      27  Class java.lang.IllegalArgumentException
    Exceptions:
      throws java.io.IOException

  static int readTagNumber(java.io.InputStream, int);
    descriptor: (Ljava/io/InputStream;I)I
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // java.io.InputStream s
        start local 1 // int tag
         0: .line 268
            iload 1 /* tag */
            bipush 31
            iand
            istore 2 /* tagNo */
        start local 2 // int tagNo
         1: .line 273
            iload 2 /* tagNo */
            bipush 31
            if_icmpne 13
         2: .line 275
            iconst_0
            istore 2 /* tagNo */
         3: .line 277
            aload 0 /* s */
            invokevirtual java.io.InputStream.read:()I
            istore 3 /* b */
        start local 3 // int b
         4: .line 281
            iload 3 /* b */
            bipush 127
            iand
            ifne 9
         5: .line 283
            new java.io.IOException
            dup
            ldc "corrupted stream - invalid high tag number found"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 288
      StackMap locals: int int
      StackMap stack:
            iload 2 /* tagNo */
            iload 3 /* b */
            bipush 127
            iand
            ior
            istore 2 /* tagNo */
         7: .line 289
            iload 2 /* tagNo */
            bipush 7
            ishl
            istore 2 /* tagNo */
         8: .line 290
            aload 0 /* s */
            invokevirtual java.io.InputStream.read:()I
            istore 3 /* b */
         9: .line 286
      StackMap locals:
      StackMap stack:
            iload 3 /* b */
            iflt 10
            iload 3 /* b */
            sipush 128
            iand
            ifne 6
        10: .line 293
      StackMap locals:
      StackMap stack:
            iload 3 /* b */
            ifge 12
        11: .line 295
            new java.io.EOFException
            dup
            ldc "EOF found inside tag value."
            invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
            athrow
        12: .line 298
      StackMap locals:
      StackMap stack:
            iload 2 /* tagNo */
            iload 3 /* b */
            bipush 127
            iand
            ior
            istore 2 /* tagNo */
        end local 3 // int b
        13: .line 301
      StackMap locals:
      StackMap stack:
            iload 2 /* tagNo */
            ireturn
        end local 2 // int tagNo
        end local 1 // int tag
        end local 0 // java.io.InputStream s
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   14     0      s  Ljava/io/InputStream;
            0   14     1    tag  I
            1   14     2  tagNo  I
            4   13     3      b  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      s     
      tag   

  static int readLength(java.io.InputStream, int);
    descriptor: (Ljava/io/InputStream;I)I
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // java.io.InputStream s
        start local 1 // int limit
         0: .line 307
            aload 0 /* s */
            invokevirtual java.io.InputStream.read:()I
            istore 2 /* length */
        start local 2 // int length
         1: .line 308
            iload 2 /* length */
            ifge 3
         2: .line 310
            new java.io.EOFException
            dup
            ldc "EOF found when length expected"
            invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 313
      StackMap locals: int
      StackMap stack:
            iload 2 /* length */
            sipush 128
            if_icmpne 5
         4: .line 315
            iconst_m1
            ireturn
         5: .line 318
      StackMap locals:
      StackMap stack:
            iload 2 /* length */
            bipush 127
            if_icmple 22
         6: .line 320
            iload 2 /* length */
            bipush 127
            iand
            istore 3 /* size */
        start local 3 // int size
         7: .line 323
            iload 3 /* size */
            iconst_4
            if_icmple 9
         8: .line 325
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "DER length more than 4 bytes: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 3 /* size */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         9: .line 328
      StackMap locals: int
      StackMap stack:
            iconst_0
            istore 2 /* length */
        10: .line 329
            iconst_0
            istore 4 /* i */
        start local 4 // int i
        11: goto 17
        12: .line 331
      StackMap locals: int
      StackMap stack:
            aload 0 /* s */
            invokevirtual java.io.InputStream.read:()I
            istore 5 /* next */
        start local 5 // int next
        13: .line 333
            iload 5 /* next */
            ifge 15
        14: .line 335
            new java.io.EOFException
            dup
            ldc "EOF found reading length"
            invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
            athrow
        15: .line 338
      StackMap locals: int
      StackMap stack:
            iload 2 /* length */
            bipush 8
            ishl
            iload 5 /* next */
            iadd
            istore 2 /* length */
        end local 5 // int next
        16: .line 329
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        17: iload 4 /* i */
            iload 3 /* size */
            if_icmplt 12
        end local 4 // int i
        18: .line 341
            iload 2 /* length */
            ifge 20
        19: .line 343
            new java.io.IOException
            dup
            ldc "corrupted stream - negative length found"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        20: .line 346
      StackMap locals:
      StackMap stack:
            iload 2 /* length */
            iload 1 /* limit */
            if_icmplt 22
        21: .line 348
            new java.io.IOException
            dup
            ldc "corrupted stream - out of bounds length found"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // int size
        22: .line 352
      StackMap locals:
      StackMap stack:
            iload 2 /* length */
            ireturn
        end local 2 // int length
        end local 1 // int limit
        end local 0 // java.io.InputStream s
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   23     0       s  Ljava/io/InputStream;
            0   23     1   limit  I
            1   23     2  length  I
            7   22     3    size  I
           11   18     4       i  I
           13   16     5    next  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      s      
      limit  

  static org.bouncycastle.asn1.DERObject createPrimitiveDERObject(int, byte[]);
    descriptor: (I[B)Lorg/bouncycastle/asn1/DERObject;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // int tagNo
        start local 1 // byte[] bytes
         0: .line 359
            iload 0 /* tagNo */
            tableswitch { // 1 - 30
                    1: 3
                    2: 8
                    3: 1
                    4: 12
                    5: 9
                    6: 11
                    7: 19
                    8: 19
                    9: 19
                   10: 4
                   11: 19
                   12: 17
                   13: 19
                   14: 19
                   15: 19
                   16: 19
                   17: 19
                   18: 10
                   19: 13
                   20: 14
                   21: 19
                   22: 7
                   23: 16
                   24: 5
                   25: 19
                   26: 18
                   27: 6
                   28: 15
                   29: 19
                   30: 2
              default: 19
          }
         1: .line 362
      StackMap locals:
      StackMap stack:
            aload 1 /* bytes */
            invokestatic org.bouncycastle.asn1.DERBitString.fromOctetString:([B)Lorg/bouncycastle/asn1/DERBitString;
            areturn
         2: .line 364
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DERBMPString
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.DERBMPString.<init>:([B)V
            areturn
         3: .line 366
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.ASN1Boolean
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.ASN1Boolean.<init>:([B)V
            areturn
         4: .line 368
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.ASN1Enumerated
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.ASN1Enumerated.<init>:([B)V
            areturn
         5: .line 370
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.ASN1GeneralizedTime
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.ASN1GeneralizedTime.<init>:([B)V
            areturn
         6: .line 372
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DERGeneralString
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.DERGeneralString.<init>:([B)V
            areturn
         7: .line 374
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DERIA5String
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.DERIA5String.<init>:([B)V
            areturn
         8: .line 376
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.ASN1Integer
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:([B)V
            areturn
         9: .line 378
      StackMap locals:
      StackMap stack:
            getstatic org.bouncycastle.asn1.DERNull.INSTANCE:Lorg/bouncycastle/asn1/DERNull;
            areturn
        10: .line 380
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DERNumericString
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.DERNumericString.<init>:([B)V
            areturn
        11: .line 382
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.ASN1ObjectIdentifier
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.ASN1ObjectIdentifier.<init>:([B)V
            areturn
        12: .line 384
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DEROctetString
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
            areturn
        13: .line 386
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DERPrintableString
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.DERPrintableString.<init>:([B)V
            areturn
        14: .line 388
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DERT61String
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.DERT61String.<init>:([B)V
            areturn
        15: .line 390
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DERUniversalString
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.DERUniversalString.<init>:([B)V
            areturn
        16: .line 392
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.ASN1UTCTime
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.ASN1UTCTime.<init>:([B)V
            areturn
        17: .line 394
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DERUTF8String
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.DERUTF8String.<init>:([B)V
            areturn
        18: .line 396
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DERVisibleString
            dup
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.DERVisibleString.<init>:([B)V
            areturn
        19: .line 398
      StackMap locals:
      StackMap stack:
            new org.bouncycastle.asn1.DERUnknownTag
            dup
            iconst_0
            iload 0 /* tagNo */
            aload 1 /* bytes */
            invokespecial org.bouncycastle.asn1.DERUnknownTag.<init>:(ZI[B)V
            areturn
        end local 1 // byte[] bytes
        end local 0 // int tagNo
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   20     0  tagNo  I
            0   20     1  bytes  [B
    MethodParameters:
       Name  Flags
      tagNo  
      bytes  
}
SourceFile: "ASN1InputStream.java"