public abstract class org.bouncycastle.asn1.DERGenerator extends org.bouncycastle.asn1.ASN1Generator
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.bouncycastle.asn1.DERGenerator
  super_class: org.bouncycastle.asn1.ASN1Generator
{
  private boolean _tagged;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private boolean _isExplicit;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private int _tagNo;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  protected void <init>(java.io.OutputStream);
    descriptor: (Ljava/io/OutputStream;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.bouncycastle.asn1.DERGenerator this
        start local 1 // java.io.OutputStream out
         0: .line 20
            aload 0 /* this */
            aload 1 /* out */
            invokespecial org.bouncycastle.asn1.ASN1Generator.<init>:(Ljava/io/OutputStream;)V
         1: .line 13
            aload 0 /* this */
            iconst_0
            putfield org.bouncycastle.asn1.DERGenerator._tagged:Z
         2: .line 21
            return
        end local 1 // java.io.OutputStream out
        end local 0 // org.bouncycastle.asn1.DERGenerator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/bouncycastle/asn1/DERGenerator;
            0    3     1   out  Ljava/io/OutputStream;
    MethodParameters:
      Name  Flags
      out   

  public void <init>(java.io.OutputStream, int, boolean);
    descriptor: (Ljava/io/OutputStream;IZ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.bouncycastle.asn1.DERGenerator this
        start local 1 // java.io.OutputStream out
        start local 2 // int tagNo
        start local 3 // boolean isExplicit
         0: .line 28
            aload 0 /* this */
            aload 1 /* out */
            invokespecial org.bouncycastle.asn1.ASN1Generator.<init>:(Ljava/io/OutputStream;)V
         1: .line 13
            aload 0 /* this */
            iconst_0
            putfield org.bouncycastle.asn1.DERGenerator._tagged:Z
         2: .line 30
            aload 0 /* this */
            iconst_1
            putfield org.bouncycastle.asn1.DERGenerator._tagged:Z
         3: .line 31
            aload 0 /* this */
            iload 3 /* isExplicit */
            putfield org.bouncycastle.asn1.DERGenerator._isExplicit:Z
         4: .line 32
            aload 0 /* this */
            iload 2 /* tagNo */
            putfield org.bouncycastle.asn1.DERGenerator._tagNo:I
         5: .line 33
            return
        end local 3 // boolean isExplicit
        end local 2 // int tagNo
        end local 1 // java.io.OutputStream out
        end local 0 // org.bouncycastle.asn1.DERGenerator this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0        this  Lorg/bouncycastle/asn1/DERGenerator;
            0    6     1         out  Ljava/io/OutputStream;
            0    6     2       tagNo  I
            0    6     3  isExplicit  Z
    MethodParameters:
            Name  Flags
      out         
      tagNo       
      isExplicit  

  private void writeLength(java.io.OutputStream, int);
    descriptor: (Ljava/io/OutputStream;I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=6, args_size=3
        start local 0 // org.bouncycastle.asn1.DERGenerator this
        start local 1 // java.io.OutputStream out
        start local 2 // int length
         0: .line 40
            iload 2 /* length */
            bipush 127
            if_icmple 13
         1: .line 42
            iconst_1
            istore 3 /* size */
        start local 3 // int size
         2: .line 43
            iload 2 /* length */
            istore 4 /* val */
        start local 4 // int val
         3: .line 45
            goto 5
         4: .line 47
      StackMap locals: int int
      StackMap stack:
            iinc 3 /* size */ 1
         5: .line 45
      StackMap locals:
      StackMap stack:
            iload 4 /* val */
            bipush 8
            iushr
            dup
            istore 4 /* val */
            ifne 4
         6: .line 50
            aload 1 /* out */
            iload 3 /* size */
            sipush 128
            ior
            i2b
            invokevirtual java.io.OutputStream.write:(I)V
         7: .line 52
            iload 3 /* size */
            iconst_1
            isub
            bipush 8
            imul
            istore 5 /* i */
        start local 5 // int i
         8: goto 11
         9: .line 54
      StackMap locals: int
      StackMap stack:
            aload 1 /* out */
            iload 2 /* length */
            iload 5 /* i */
            ishr
            i2b
            invokevirtual java.io.OutputStream.write:(I)V
        10: .line 52
            iinc 5 /* i */ -8
      StackMap locals:
      StackMap stack:
        11: iload 5 /* i */
            ifge 9
        end local 5 // int i
        end local 4 // int val
        end local 3 // int size
        12: .line 56
            goto 14
        13: .line 59
      StackMap locals:
      StackMap stack:
            aload 1 /* out */
            iload 2 /* length */
            i2b
            invokevirtual java.io.OutputStream.write:(I)V
        14: .line 61
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int length
        end local 1 // java.io.OutputStream out
        end local 0 // org.bouncycastle.asn1.DERGenerator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   15     0    this  Lorg/bouncycastle/asn1/DERGenerator;
            0   15     1     out  Ljava/io/OutputStream;
            0   15     2  length  I
            2   12     3    size  I
            3   12     4     val  I
            8   12     5       i  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      out     
      length  

  void writeDEREncoded(java.io.OutputStream, int, byte[]);
    descriptor: (Ljava/io/OutputStream;I[B)V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // org.bouncycastle.asn1.DERGenerator this
        start local 1 // java.io.OutputStream out
        start local 2 // int tag
        start local 3 // byte[] bytes
         0: .line 69
            aload 1 /* out */
            iload 2 /* tag */
            invokevirtual java.io.OutputStream.write:(I)V
         1: .line 70
            aload 0 /* this */
            aload 1 /* out */
            aload 3 /* bytes */
            arraylength
            invokevirtual org.bouncycastle.asn1.DERGenerator.writeLength:(Ljava/io/OutputStream;I)V
         2: .line 71
            aload 1 /* out */
            aload 3 /* bytes */
            invokevirtual java.io.OutputStream.write:([B)V
         3: .line 72
            return
        end local 3 // byte[] bytes
        end local 2 // int tag
        end local 1 // java.io.OutputStream out
        end local 0 // org.bouncycastle.asn1.DERGenerator this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lorg/bouncycastle/asn1/DERGenerator;
            0    4     1    out  Ljava/io/OutputStream;
            0    4     2    tag  I
            0    4     3  bytes  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      out    
      tag    
      bytes  

  void writeDEREncoded(int, byte[]);
    descriptor: (I[B)V
    flags: (0x0000) 
    Code:
      stack=4, locals=6, args_size=3
        start local 0 // org.bouncycastle.asn1.DERGenerator this
        start local 1 // int tag
        start local 2 // byte[] bytes
         0: .line 79
            aload 0 /* this */
            getfield org.bouncycastle.asn1.DERGenerator._tagged:Z
            ifeq 13
         1: .line 81
            aload 0 /* this */
            getfield org.bouncycastle.asn1.DERGenerator._tagNo:I
            sipush 128
            ior
            istore 3 /* tagNum */
        start local 3 // int tagNum
         2: .line 83
            aload 0 /* this */
            getfield org.bouncycastle.asn1.DERGenerator._isExplicit:Z
            ifeq 8
         3: .line 85
            aload 0 /* this */
            getfield org.bouncycastle.asn1.DERGenerator._tagNo:I
            bipush 32
            ior
            sipush 128
            ior
            istore 4 /* newTag */
        start local 4 // int newTag
         4: .line 87
            new java.io.ByteArrayOutputStream
            dup
            invokespecial java.io.ByteArrayOutputStream.<init>:()V
            astore 5 /* bOut */
        start local 5 // java.io.ByteArrayOutputStream bOut
         5: .line 89
            aload 0 /* this */
            aload 5 /* bOut */
            iload 1 /* tag */
            aload 2 /* bytes */
            invokevirtual org.bouncycastle.asn1.DERGenerator.writeDEREncoded:(Ljava/io/OutputStream;I[B)V
         6: .line 91
            aload 0 /* this */
            aload 0 /* this */
            getfield org.bouncycastle.asn1.DERGenerator._out:Ljava/io/OutputStream;
            iload 4 /* newTag */
            aload 5 /* bOut */
            invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
            invokevirtual org.bouncycastle.asn1.DERGenerator.writeDEREncoded:(Ljava/io/OutputStream;I[B)V
        end local 5 // java.io.ByteArrayOutputStream bOut
        end local 4 // int newTag
         7: .line 92
            goto 14
         8: .line 95
      StackMap locals: int
      StackMap stack:
            iload 1 /* tag */
            bipush 32
            iand
            ifeq 11
         9: .line 97
            aload 0 /* this */
            aload 0 /* this */
            getfield org.bouncycastle.asn1.DERGenerator._out:Ljava/io/OutputStream;
            iload 3 /* tagNum */
            bipush 32
            ior
            aload 2 /* bytes */
            invokevirtual org.bouncycastle.asn1.DERGenerator.writeDEREncoded:(Ljava/io/OutputStream;I[B)V
        10: .line 98
            goto 14
        11: .line 101
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.bouncycastle.asn1.DERGenerator._out:Ljava/io/OutputStream;
            iload 3 /* tagNum */
            aload 2 /* bytes */
            invokevirtual org.bouncycastle.asn1.DERGenerator.writeDEREncoded:(Ljava/io/OutputStream;I[B)V
        end local 3 // int tagNum
        12: .line 104
            goto 14
        13: .line 107
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.bouncycastle.asn1.DERGenerator._out:Ljava/io/OutputStream;
            iload 1 /* tag */
            aload 2 /* bytes */
            invokevirtual org.bouncycastle.asn1.DERGenerator.writeDEREncoded:(Ljava/io/OutputStream;I[B)V
        14: .line 109
      StackMap locals:
      StackMap stack:
            return
        end local 2 // byte[] bytes
        end local 1 // int tag
        end local 0 // org.bouncycastle.asn1.DERGenerator this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   15     0    this  Lorg/bouncycastle/asn1/DERGenerator;
            0   15     1     tag  I
            0   15     2   bytes  [B
            2   12     3  tagNum  I
            4    7     4  newTag  I
            5    7     5    bOut  Ljava/io/ByteArrayOutputStream;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      tag    
      bytes  

  void writeDEREncoded(java.io.OutputStream, int, java.io.InputStream);
    descriptor: (Ljava/io/OutputStream;ILjava/io/InputStream;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // org.bouncycastle.asn1.DERGenerator this
        start local 1 // java.io.OutputStream out
        start local 2 // int tag
        start local 3 // java.io.InputStream in
         0: .line 117
            aload 0 /* this */
            aload 1 /* out */
            iload 2 /* tag */
            aload 3 /* in */
            invokestatic org.bouncycastle.util.io.Streams.readAll:(Ljava/io/InputStream;)[B
            invokevirtual org.bouncycastle.asn1.DERGenerator.writeDEREncoded:(Ljava/io/OutputStream;I[B)V
         1: .line 118
            return
        end local 3 // java.io.InputStream in
        end local 2 // int tag
        end local 1 // java.io.OutputStream out
        end local 0 // org.bouncycastle.asn1.DERGenerator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/bouncycastle/asn1/DERGenerator;
            0    2     1   out  Ljava/io/OutputStream;
            0    2     2   tag  I
            0    2     3    in  Ljava/io/InputStream;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      out   
      tag   
      in    
}
SourceFile: "DERGenerator.java"