class org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream extends java.io.OutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream
super_class: java.io.OutputStream
{
private byte[] _buf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private int _off;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.DEROutputStream _derOut;
descriptor: Lorg/bouncycastle/asn1/DEROutputStream;
flags: (0x0002) ACC_PRIVATE
final org.bouncycastle.asn1.BEROctetStringGenerator this$0;
descriptor: Lorg/bouncycastle/asn1/BEROctetStringGenerator;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.bouncycastle.asn1.BEROctetStringGenerator, byte[]);
descriptor: (Lorg/bouncycastle/asn1/BEROctetStringGenerator;[B)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream.this$0:Lorg/bouncycastle/asn1/BEROctetStringGenerator;
1: aload 0
invokespecial java.io.OutputStream.<init>:()V
2: aload 0
aload 2
putfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._buf:[B
3: aload 0
iconst_0
putfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._off:I
4: aload 0
new org.bouncycastle.asn1.DEROutputStream
dup
aload 1
getfield org.bouncycastle.asn1.BEROctetStringGenerator._out:Ljava/io/OutputStream;
invokespecial org.bouncycastle.asn1.DEROutputStream.<init>:(Ljava/io/OutputStream;)V
putfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._derOut:Lorg/bouncycastle/asn1/DEROutputStream;
5: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/BEROctetStringGenerator$BufferedBEROctetStream;
0 6 2 buf [B
MethodParameters:
Name Flags
this$0 final
buf
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._buf:[B
aload 0
dup
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._off:I
dup_x1
iconst_1
iadd
putfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._off:I
iload 1
i2b
bastore
1: aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._off:I
aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._buf:[B
arraylength
if_icmpne 4
2: aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._derOut:Lorg/bouncycastle/asn1/DEROutputStream;
aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._buf:[B
invokestatic org.bouncycastle.asn1.DEROctetString.encode:(Lorg/bouncycastle/asn1/DEROutputStream;[B)V
3: aload 0
iconst_0
putfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._off:I
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/BEROctetStringGenerator$BufferedBEROctetStream;
0 5 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
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: goto 10
1: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._buf:[B
arraylength
aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._off:I
isub
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 2: aload 1
iload 2
aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._buf:[B
aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._off:I
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
dup
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._off:I
iload 4
iadd
putfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._off:I
4: aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._off:I
aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._buf:[B
arraylength
if_icmpge 6
5: goto 11
6: StackMap locals: int
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._derOut:Lorg/bouncycastle/asn1/DEROutputStream;
aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._buf:[B
invokestatic org.bouncycastle.asn1.DEROctetString.encode:(Lorg/bouncycastle/asn1/DEROutputStream;[B)V
7: aload 0
iconst_0
putfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._off:I
8: iload 2
iload 4
iadd
istore 2
9: iload 3
iload 4
isub
istore 3
end local 4 10: StackMap locals:
StackMap stack:
iload 3
ifgt 1
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/asn1/BEROctetStringGenerator$BufferedBEROctetStream;
0 12 1 b [B
0 12 2 off I
0 12 3 len I
2 10 4 numToCopy I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._off:I
ifeq 4
1: aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._off:I
newarray 8
astore 1
start local 1 2: aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._buf:[B
iconst_0
aload 1
iconst_0
aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._off:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream._derOut:Lorg/bouncycastle/asn1/DEROutputStream;
aload 1
invokestatic org.bouncycastle.asn1.DEROctetString.encode:(Lorg/bouncycastle/asn1/DEROutputStream;[B)V
end local 1 4: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream.this$0:Lorg/bouncycastle/asn1/BEROctetStringGenerator;
invokevirtual org.bouncycastle.asn1.BEROctetStringGenerator.writeBEREnd:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/BEROctetStringGenerator$BufferedBEROctetStream;
2 4 1 bytes [B
Exceptions:
throws java.io.IOException
}
SourceFile: "BEROctetStringGenerator.java"
NestHost: org.bouncycastle.asn1.BEROctetStringGenerator
InnerClasses:
private BufferedBEROctetStream = org.bouncycastle.asn1.BEROctetStringGenerator$BufferedBEROctetStream of org.bouncycastle.asn1.BEROctetStringGenerator