public class org.bouncycastle.asn1.ASN1OutputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.ASN1OutputStream
super_class: java.lang.Object
{
private java.io.OutputStream os;
descriptor: Ljava/io/OutputStream;
flags: (0x0002) ACC_PRIVATE
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
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.ASN1OutputStream.os:Ljava/io/OutputStream;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/ASN1OutputStream;
0 3 1 os Ljava/io/OutputStream;
MethodParameters:
Name Flags
os
void writeLength(int);
descriptor: (I)V
flags: (0x0000)
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.ASN1OutputStream.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.ASN1OutputStream.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.ASN1OutputStream.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/ASN1OutputStream;
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 write(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.asn1.ASN1OutputStream.os:Ljava/io/OutputStream;
iload 1
invokevirtual java.io.OutputStream.write:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/ASN1OutputStream;
0 2 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
void write(byte[]);
descriptor: ([B)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.asn1.ASN1OutputStream.os:Ljava/io/OutputStream;
aload 1
invokevirtual java.io.OutputStream.write:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/ASN1OutputStream;
0 2 1 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0000)
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.ASN1OutputStream.os: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/ASN1OutputStream;
0 2 1 bytes [B
0 2 2 off I
0 2 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
off
len
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.ASN1OutputStream.write:(I)V
1: aload 0
aload 2
arraylength
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.writeLength:(I)V
2: aload 0
aload 2
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.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/ASN1OutputStream;
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.ASN1OutputStream.write:(I)V
2: goto 15
3: StackMap locals:
StackMap stack:
aload 0
iload 1
bipush 31
ior
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.write:(I)V
4: iload 2
sipush 128
if_icmpge 7
5: aload 0
iload 2
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.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.ASN1OutputStream.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/ASN1OutputStream;
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.ASN1OutputStream.writeTag:(II)V
1: aload 0
aload 3
arraylength
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.writeLength:(I)V
2: aload 0
aload 3
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.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/ASN1OutputStream;
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
getfield org.bouncycastle.asn1.ASN1OutputStream.os:Ljava/io/OutputStream;
iconst_5
invokevirtual java.io.OutputStream.write:(I)V
1: aload 0
getfield org.bouncycastle.asn1.ASN1OutputStream.os:Ljava/io/OutputStream;
iconst_0
invokevirtual java.io.OutputStream.write:(I)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/ASN1OutputStream;
Exceptions:
throws java.io.IOException
public void writeObject(org.bouncycastle.asn1.ASN1Encodable);
descriptor: (Lorg/bouncycastle/asn1/ASN1Encodable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 3
1: aload 1
invokeinterface org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
aload 0
invokevirtual org.bouncycastle.asn1.ASN1Primitive.encode:(Lorg/bouncycastle/asn1/ASN1OutputStream;)V
2: goto 4
3: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "null object detected"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
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/ASN1OutputStream;
0 5 1 obj Lorg/bouncycastle/asn1/ASN1Encodable;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
obj
void writeImplicitObject(org.bouncycastle.asn1.ASN1Primitive);
descriptor: (Lorg/bouncycastle/asn1/ASN1Primitive;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 3
1: aload 1
new org.bouncycastle.asn1.ASN1OutputStream$ImplicitOutputStream
dup
aload 0
aload 0
getfield org.bouncycastle.asn1.ASN1OutputStream.os:Ljava/io/OutputStream;
invokespecial org.bouncycastle.asn1.ASN1OutputStream$ImplicitOutputStream.<init>:(Lorg/bouncycastle/asn1/ASN1OutputStream;Ljava/io/OutputStream;)V
invokevirtual org.bouncycastle.asn1.ASN1Primitive.encode:(Lorg/bouncycastle/asn1/ASN1OutputStream;)V
2: goto 4
3: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "null object detected"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
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/ASN1OutputStream;
0 5 1 obj Lorg/bouncycastle/asn1/ASN1Primitive;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
obj
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.ASN1OutputStream.os:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/ASN1OutputStream;
Exceptions:
throws java.io.IOException
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.ASN1OutputStream.os:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.flush:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/ASN1OutputStream;
Exceptions:
throws java.io.IOException
org.bouncycastle.asn1.ASN1OutputStream getDERSubStream();
descriptor: ()Lorg/bouncycastle/asn1/ASN1OutputStream;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.bouncycastle.asn1.DEROutputStream
dup
aload 0
getfield org.bouncycastle.asn1.ASN1OutputStream.os:Ljava/io/OutputStream;
invokespecial org.bouncycastle.asn1.DEROutputStream.<init>:(Ljava/io/OutputStream;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1OutputStream;
org.bouncycastle.asn1.ASN1OutputStream getDLSubStream();
descriptor: ()Lorg/bouncycastle/asn1/ASN1OutputStream;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.bouncycastle.asn1.DLOutputStream
dup
aload 0
getfield org.bouncycastle.asn1.ASN1OutputStream.os:Ljava/io/OutputStream;
invokespecial org.bouncycastle.asn1.DLOutputStream.<init>:(Ljava/io/OutputStream;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1OutputStream;
}
SourceFile: "ASN1OutputStream.java"
NestMembers:
org.bouncycastle.asn1.ASN1OutputStream$ImplicitOutputStream
InnerClasses:
private ImplicitOutputStream = org.bouncycastle.asn1.ASN1OutputStream$ImplicitOutputStream of org.bouncycastle.asn1.ASN1OutputStream