public class org.bouncycastle.asn1.DEROutputStream extends java.io.FilterOutputStream implements org.bouncycastle.asn1.DERTags
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.DEROutputStream
super_class: java.io.FilterOutputStream
{
public void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.io.FilterOutputStream.<init>:(Ljava/io/OutputStream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/DEROutputStream;
0 2 1 os Ljava/io/OutputStream;
MethodParameters:
Name Flags
os
private void writeLength(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: iload 1
bipush 127
if_icmple 13
1: iconst_1
istore 2
start local 2 2: iload 1
istore 3
start local 3 3: goto 5
4: StackMap locals: int int
StackMap stack:
iinc 2 1
5: StackMap locals:
StackMap stack:
iload 3
bipush 8
iushr
dup
istore 3
ifne 4
6: aload 0
iload 2
sipush 128
ior
i2b
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:(I)V
7: iload 2
iconst_1
isub
bipush 8
imul
istore 4
start local 4 8: goto 11
9: StackMap locals: int
StackMap stack:
aload 0
iload 1
iload 4
ishr
i2b
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:(I)V
10: iinc 4 -8
StackMap locals:
StackMap stack:
11: iload 4
ifge 9
end local 4 end local 3 end local 2 12: goto 14
13: StackMap locals:
StackMap stack:
aload 0
iload 1
i2b
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:(I)V
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bouncycastle/asn1/DEROutputStream;
0 15 1 length I
2 12 2 size I
3 12 3 val I
8 12 4 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
length
void writeEncoded(int, byte[]);
descriptor: (I[B)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:(I)V
1: aload 0
aload 2
arraylength
invokevirtual org.bouncycastle.asn1.DEROutputStream.writeLength:(I)V
2: aload 0
aload 2
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:([B)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/DEROutputStream;
0 4 1 tag I
0 4 2 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
tag
bytes
void writeTag(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
bipush 31
if_icmpge 3
1: aload 0
iload 1
iload 2
ior
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:(I)V
2: goto 15
3: StackMap locals:
StackMap stack:
aload 0
iload 1
bipush 31
ior
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:(I)V
4: iload 2
sipush 128
if_icmpge 7
5: aload 0
iload 2
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:(I)V
6: goto 15
7: StackMap locals:
StackMap stack:
iconst_5
newarray 8
astore 3
start local 3 8: aload 3
arraylength
istore 4
start local 4 9: aload 3
iinc 4 -1
iload 4
iload 2
bipush 127
iand
i2b
bastore
10: StackMap locals: byte[] int
StackMap stack:
iload 2
bipush 7
ishr
istore 2
11: aload 3
iinc 4 -1
iload 4
iload 2
bipush 127
iand
sipush 128
ior
i2b
bastore
12: iload 2
bipush 127
13: if_icmpgt 10
14: aload 0
aload 3
iload 4
aload 3
arraylength
iload 4
isub
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:([BII)V
end local 4 end local 3 15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/bouncycastle/asn1/DEROutputStream;
0 16 1 flags I
0 16 2 tagNo I
8 15 3 stack [B
9 15 4 pos I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
flags
tagNo
void writeEncoded(int, int, byte[]);
descriptor: (II[B)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
invokevirtual org.bouncycastle.asn1.DEROutputStream.writeTag:(II)V
1: aload 0
aload 3
arraylength
invokevirtual org.bouncycastle.asn1.DEROutputStream.writeLength:(I)V
2: aload 0
aload 3
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:([B)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/DEROutputStream;
0 4 1 flags I
0 4 2 tagNo I
0 4 3 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
flags
tagNo
bytes
protected void writeNull();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_5
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:(I)V
1: aload 0
iconst_0
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:(I)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/DEROutputStream;
Exceptions:
throws java.io.IOException
public void write(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.asn1.DEROutputStream.out:Ljava/io/OutputStream;
aload 1
iconst_0
aload 1
arraylength
invokevirtual java.io.OutputStream.write:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/DEROutputStream;
0 2 1 buf [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.asn1.DEROutputStream.out:Ljava/io/OutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.OutputStream.write:([BII)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/DEROutputStream;
0 2 1 buf [B
0 2 2 offSet I
0 2 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
offSet
len
public void writeObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
invokevirtual org.bouncycastle.asn1.DEROutputStream.writeNull:()V
2: goto 10
3: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.asn1.DERObject
ifeq 6
4: aload 1
checkcast org.bouncycastle.asn1.DERObject
aload 0
invokevirtual org.bouncycastle.asn1.DERObject.encode:(Lorg/bouncycastle/asn1/DEROutputStream;)V
5: goto 10
6: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.asn1.DEREncodable
ifeq 9
7: aload 1
checkcast org.bouncycastle.asn1.DEREncodable
invokeinterface org.bouncycastle.asn1.DEREncodable.getDERObject:()Lorg/bouncycastle/asn1/DERObject;
aload 0
invokevirtual org.bouncycastle.asn1.DERObject.encode:(Lorg/bouncycastle/asn1/DEROutputStream;)V
8: goto 10
9: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "object not DEREncodable"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/asn1/DEROutputStream;
0 11 1 obj Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
obj
}
SourceFile: "DEROutputStream.java"