public class org.bouncycastle.asn1.BERConstructedOctetString extends org.bouncycastle.asn1.DEROctetString
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.BERConstructedOctetString
super_class: org.bouncycastle.asn1.DEROctetString
{
private static final int MAX_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1000
private java.util.Vector octs;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
private static byte[] toBytes(java.util.Vector);
descriptor: (Ljava/util/Vector;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 11
3: StackMap locals: java.io.ByteArrayOutputStream int
StackMap stack:
aload 0
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast org.bouncycastle.asn1.DEROctetString
astore 3
start local 3 4: aload 1
aload 3
invokevirtual org.bouncycastle.asn1.DEROctetString.getOctets:()[B
invokevirtual java.io.ByteArrayOutputStream.write:([B)V
end local 3 5: goto 10
6: StackMap locals:
StackMap stack: java.lang.ClassCastException
pop
7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
aload 0
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " found in input should only contain DEROctetString"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 9: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "exception converting octets "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 10: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
aload 0
invokevirtual java.util.Vector.size:()I
if_icmpne 3
end local 2 12: aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 octs Ljava/util/Vector;
1 13 1 bOut Ljava/io/ByteArrayOutputStream;
2 12 2 i I
4 5 3 o Lorg/bouncycastle/asn1/DEROctetString;
9 10 3 e Ljava/io/IOException;
Exception table:
from to target type
3 5 6 Class java.lang.ClassCastException
3 5 8 Class java.io.IOException
MethodParameters:
Name Flags
octs
public void <init>(byte[]);
descriptor: ([B)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 org.bouncycastle.asn1.DEROctetString.<init>:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/BERConstructedOctetString;
0 2 1 string [B
MethodParameters:
Name Flags
string
public void <init>(java.util.Vector);
descriptor: (Ljava/util/Vector;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.bouncycastle.asn1.BERConstructedOctetString.toBytes:(Ljava/util/Vector;)[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.BERConstructedOctetString.octs:Ljava/util/Vector;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/BERConstructedOctetString;
0 3 1 octs Ljava/util/Vector;
MethodParameters:
Name Flags
octs
public void <init>(org.bouncycastle.asn1.DERObject);
descriptor: (Lorg/bouncycastle/asn1/DERObject;)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 org.bouncycastle.asn1.DEROctetString.<init>:(Lorg/bouncycastle/asn1/DEREncodable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/BERConstructedOctetString;
0 2 1 obj Lorg/bouncycastle/asn1/DERObject;
MethodParameters:
Name Flags
obj
public void <init>(org.bouncycastle.asn1.DEREncodable);
descriptor: (Lorg/bouncycastle/asn1/DEREncodable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.bouncycastle.asn1.DEREncodable.getDERObject:()Lorg/bouncycastle/asn1/DERObject;
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:(Lorg/bouncycastle/asn1/DEREncodable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/BERConstructedOctetString;
0 2 1 obj Lorg/bouncycastle/asn1/DEREncodable;
MethodParameters:
Name Flags
obj
public byte[] getOctets();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.BERConstructedOctetString.string:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/BERConstructedOctetString;
public java.util.Enumeration getObjects();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.BERConstructedOctetString.octs:Ljava/util/Vector;
ifnonnull 2
1: aload 0
invokevirtual org.bouncycastle.asn1.BERConstructedOctetString.generateOcts:()Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.BERConstructedOctetString.octs:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/BERConstructedOctetString;
private java.util.Vector generateOcts();
descriptor: ()Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=1
start local 0 0: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 11
3: StackMap locals: java.util.Vector int
StackMap stack:
iload 2
sipush 1000
iadd
aload 0
getfield org.bouncycastle.asn1.BERConstructedOctetString.string:[B
arraylength
if_icmple 6
4: aload 0
getfield org.bouncycastle.asn1.BERConstructedOctetString.string:[B
arraylength
istore 3
start local 3 5: goto 7
end local 3 6: StackMap locals:
StackMap stack:
iload 2
sipush 1000
iadd
istore 3
start local 3 7: StackMap locals: int
StackMap stack:
iload 3
iload 2
isub
newarray 8
astore 4
start local 4 8: aload 0
getfield org.bouncycastle.asn1.BERConstructedOctetString.string:[B
iload 2
aload 4
iconst_0
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: aload 1
new org.bouncycastle.asn1.DEROctetString
dup
aload 4
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 4 end local 3 10: iinc 2 1000
StackMap locals:
StackMap stack:
11: iload 2
aload 0
getfield org.bouncycastle.asn1.BERConstructedOctetString.string:[B
arraylength
if_icmplt 3
end local 2 12: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bouncycastle/asn1/BERConstructedOctetString;
1 13 1 vec Ljava/util/Vector;
2 12 2 i I
5 6 3 end I
7 10 3 end I
8 10 4 nStr [B
public void encode(org.bouncycastle.asn1.DEROutputStream);
descriptor: (Lorg/bouncycastle/asn1/DEROutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.asn1.ASN1OutputStream
ifne 1
aload 1
instanceof org.bouncycastle.asn1.BEROutputStream
ifeq 10
1: StackMap locals:
StackMap stack:
aload 1
bipush 36
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:(I)V
2: aload 1
sipush 128
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:(I)V
3: aload 0
invokevirtual org.bouncycastle.asn1.BERConstructedOctetString.getObjects:()Ljava/util/Enumeration;
astore 2
start local 2 4: goto 6
5: StackMap locals: java.util.Enumeration
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokevirtual org.bouncycastle.asn1.DEROutputStream.writeObject:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 5
7: aload 1
iconst_0
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:(I)V
8: aload 1
iconst_0
invokevirtual org.bouncycastle.asn1.DEROutputStream.write:(I)V
end local 2 9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.bouncycastle.asn1.DEROctetString.encode:(Lorg/bouncycastle/asn1/DEROutputStream;)V
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/asn1/BERConstructedOctetString;
0 12 1 out Lorg/bouncycastle/asn1/DEROutputStream;
4 9 2 e Ljava/util/Enumeration;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public static org.bouncycastle.asn1.BERConstructedOctetString fromSequence(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)Lorg/bouncycastle/asn1/BERConstructedOctetString;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 2
start local 2 2: goto 4
3: StackMap locals: java.util.Vector java.util.Enumeration
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
5: new org.bouncycastle.asn1.BERConstructedOctetString
dup
aload 1
invokespecial org.bouncycastle.asn1.BERConstructedOctetString.<init>:(Ljava/util/Vector;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 seq Lorg/bouncycastle/asn1/ASN1Sequence;
1 6 1 v Ljava/util/Vector;
2 6 2 e Ljava/util/Enumeration;
MethodParameters:
Name Flags
seq
}
SourceFile: "BERConstructedOctetString.java"