public abstract class org.bouncycastle.asn1.ASN1Sequence extends org.bouncycastle.asn1.ASN1Object
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.bouncycastle.asn1.ASN1Sequence
super_class: org.bouncycastle.asn1.ASN1Object
{
private java.util.Vector seq;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield org.bouncycastle.asn1.ASN1Sequence.seq:Ljava/util/Vector;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/ASN1Sequence;
public static org.bouncycastle.asn1.ASN1Sequence getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
instanceof org.bouncycastle.asn1.ASN1Sequence
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.bouncycastle.asn1.ASN1Sequence
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof byte[]
ifeq 7
3: aload 0
checkcast byte[]
invokestatic org.bouncycastle.asn1.ASN1Object.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Object;
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
4: areturn
5: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "failed to construct sequence from byte[]: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.io.IOException.getMessage:()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 1 7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown object in getInstance: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()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 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 obj Ljava/lang/Object;
6 7 1 e Ljava/io/IOException;
Exception table:
from to target type
3 4 5 Class java.io.IOException
MethodParameters:
Name Flags
obj
public static org.bouncycastle.asn1.ASN1Sequence getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1Sequence;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 4
1: aload 0
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.isExplicit:()Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
ldc "object implicit - explicit expected."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/DERObject;
checkcast org.bouncycastle.asn1.ASN1Sequence
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.isExplicit:()Z
ifeq 8
5: aload 0
instanceof org.bouncycastle.asn1.BERTaggedObject
ifeq 7
6: new org.bouncycastle.asn1.BERSequence
dup
aload 0
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/DERObject;
invokespecial org.bouncycastle.asn1.BERSequence.<init>:(Lorg/bouncycastle/asn1/DEREncodable;)V
areturn
7: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.DERSequence
dup
aload 0
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/DERObject;
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/DEREncodable;)V
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/DERObject;
instanceof org.bouncycastle.asn1.ASN1Sequence
ifeq 10
9: aload 0
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/DERObject;
checkcast org.bouncycastle.asn1.ASN1Sequence
areturn
10: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown object in getInstance: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 obj Lorg/bouncycastle/asn1/ASN1TaggedObject;
0 11 1 explicit Z
MethodParameters:
Name Flags
obj
explicit
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.ASN1Sequence.seq:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1Sequence;
public org.bouncycastle.asn1.ASN1SequenceParser parser();
descriptor: ()Lorg/bouncycastle/asn1/ASN1SequenceParser;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: new org.bouncycastle.asn1.ASN1Sequence$1
dup
aload 0
aload 1
invokespecial org.bouncycastle.asn1.ASN1Sequence$1.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;Lorg/bouncycastle/asn1/ASN1Sequence;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/ASN1Sequence;
1 2 1 outer Lorg/bouncycastle/asn1/ASN1Sequence;
public org.bouncycastle.asn1.DEREncodable getObjectAt(int);
descriptor: (I)Lorg/bouncycastle/asn1/DEREncodable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.asn1.ASN1Sequence.seq:Ljava/util/Vector;
iload 1
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast org.bouncycastle.asn1.DEREncodable
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1Sequence;
0 1 1 index I
MethodParameters:
Name Flags
index
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.ASN1Sequence.seq:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1Sequence;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 1
start local 1 1: aload 0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
istore 2
start local 2 2: goto 6
3: StackMap locals: java.util.Enumeration int
StackMap stack:
aload 0
aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getNext:(Ljava/util/Enumeration;)Lorg/bouncycastle/asn1/DEREncodable;
astore 3
start local 3 4: iload 2
bipush 17
imul
istore 2
5: iload 2
aload 3
invokevirtual java.lang.Object.hashCode:()I
ixor
istore 2
end local 3 6: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
7: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/asn1/ASN1Sequence;
1 8 1 e Ljava/util/Enumeration;
2 8 2 hashCode I
4 6 3 o Ljava/lang/Object;
boolean asn1Equals(org.bouncycastle.asn1.DERObject);
descriptor: (Lorg/bouncycastle/asn1/DERObject;)Z
flags: (0x0000)
Code:
stack=2, locals=9, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.asn1.ASN1Sequence
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.asn1.ASN1Sequence
astore 2
start local 2 3: aload 0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
aload 2
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
if_icmpeq 5
4: iconst_0
ireturn
5: StackMap locals: org.bouncycastle.asn1.ASN1Sequence
StackMap stack:
aload 0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 3
start local 3 6: aload 2
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 4
start local 4 7: goto 15
8: StackMap locals: java.util.Enumeration java.util.Enumeration
StackMap stack:
aload 0
aload 3
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getNext:(Ljava/util/Enumeration;)Lorg/bouncycastle/asn1/DEREncodable;
astore 5
start local 5 9: aload 0
aload 4
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getNext:(Ljava/util/Enumeration;)Lorg/bouncycastle/asn1/DEREncodable;
astore 6
start local 6 10: aload 5
invokeinterface org.bouncycastle.asn1.DEREncodable.getDERObject:()Lorg/bouncycastle/asn1/DERObject;
astore 7
start local 7 11: aload 6
invokeinterface org.bouncycastle.asn1.DEREncodable.getDERObject:()Lorg/bouncycastle/asn1/DERObject;
astore 8
start local 8 12: aload 7
aload 8
if_acmpeq 15
aload 7
aload 8
invokevirtual org.bouncycastle.asn1.DERObject.equals:(Ljava/lang/Object;)Z
ifeq 14
13: goto 15
14: StackMap locals: org.bouncycastle.asn1.ASN1Sequence org.bouncycastle.asn1.DERObject org.bouncycastle.asn1.ASN1Sequence java.util.Enumeration java.util.Enumeration org.bouncycastle.asn1.DEREncodable org.bouncycastle.asn1.DEREncodable org.bouncycastle.asn1.DERObject org.bouncycastle.asn1.DERObject
StackMap stack:
iconst_0
ireturn
end local 8 end local 7 end local 6 end local 5 15: StackMap locals: org.bouncycastle.asn1.ASN1Sequence org.bouncycastle.asn1.DERObject org.bouncycastle.asn1.ASN1Sequence java.util.Enumeration java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 8
16: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/bouncycastle/asn1/ASN1Sequence;
0 17 1 o Lorg/bouncycastle/asn1/DERObject;
3 17 2 other Lorg/bouncycastle/asn1/ASN1Sequence;
6 17 3 s1 Ljava/util/Enumeration;
7 17 4 s2 Ljava/util/Enumeration;
9 15 5 obj1 Lorg/bouncycastle/asn1/DEREncodable;
10 15 6 obj2 Lorg/bouncycastle/asn1/DEREncodable;
11 15 7 o1 Lorg/bouncycastle/asn1/DERObject;
12 15 8 o2 Lorg/bouncycastle/asn1/DERObject;
MethodParameters:
Name Flags
o
private org.bouncycastle.asn1.DEREncodable getNext(java.util.Enumeration);
descriptor: (Ljava/util/Enumeration;)Lorg/bouncycastle/asn1/DEREncodable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.DEREncodable
astore 2
start local 2 1: aload 2
ifnonnull 3
2: getstatic org.bouncycastle.asn1.DERNull.INSTANCE:Lorg/bouncycastle/asn1/DERNull;
areturn
3: StackMap locals: org.bouncycastle.asn1.DEREncodable
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/ASN1Sequence;
0 4 1 e Ljava/util/Enumeration;
1 4 2 encObj Lorg/bouncycastle/asn1/DEREncodable;
MethodParameters:
Name Flags
e
protected void addObject(org.bouncycastle.asn1.DEREncodable);
descriptor: (Lorg/bouncycastle/asn1/DEREncodable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.asn1.ASN1Sequence.seq:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/ASN1Sequence;
0 2 1 obj Lorg/bouncycastle/asn1/DEREncodable;
MethodParameters:
Name Flags
obj
abstract void encode(org.bouncycastle.asn1.DEROutputStream);
descriptor: (Lorg/bouncycastle/asn1/DEROutputStream;)V
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.ASN1Sequence.seq:Ljava/util/Vector;
invokevirtual java.util.Vector.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1Sequence;
}
SourceFile: "ASN1Sequence.java"
NestMembers:
org.bouncycastle.asn1.ASN1Sequence$1
InnerClasses:
org.bouncycastle.asn1.ASN1Sequence$1