public class org.bouncycastle.asn1.x509.Extensions extends org.bouncycastle.asn1.ASN1Object
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.x509.Extensions
super_class: org.bouncycastle.asn1.ASN1Object
{
private java.util.Hashtable extensions;
descriptor: Ljava/util/Hashtable;
flags: (0x0002) ACC_PRIVATE
private java.util.Vector ordering;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
public static org.bouncycastle.asn1.x509.Extensions getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/Extensions;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1Sequence;
invokestatic org.bouncycastle.asn1.x509.Extensions.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/Extensions;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Lorg/bouncycastle/asn1/ASN1TaggedObject;
0 1 1 explicit Z
MethodParameters:
Name Flags
obj
explicit
public static org.bouncycastle.asn1.x509.Extensions getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/Extensions;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.bouncycastle.asn1.x509.Extensions
ifeq 2
1: aload 0
checkcast org.bouncycastle.asn1.x509.Extensions
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 4
3: new org.bouncycastle.asn1.x509.Extensions
dup
aload 0
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.asn1.x509.Extensions.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
private void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield org.bouncycastle.asn1.x509.Extensions.extensions:Ljava/util/Hashtable;
2: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield org.bouncycastle.asn1.x509.Extensions.ordering:Ljava/util/Vector;
3: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 2
start local 2 4: goto 10
5: StackMap locals: org.bouncycastle.asn1.x509.Extensions org.bouncycastle.asn1.ASN1Sequence java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokestatic org.bouncycastle.asn1.x509.Extension.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/Extension;
astore 3
start local 3 6: aload 0
getfield org.bouncycastle.asn1.x509.Extensions.extensions:Ljava/util/Hashtable;
aload 3
invokevirtual org.bouncycastle.asn1.x509.Extension.getExtnId:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.containsKey:(Ljava/lang/Object;)Z
ifeq 8
7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "repeated extension found: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual org.bouncycastle.asn1.x509.Extension.getExtnId:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: org.bouncycastle.asn1.x509.Extension
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.x509.Extensions.extensions:Ljava/util/Hashtable;
aload 3
invokevirtual org.bouncycastle.asn1.x509.Extension.getExtnId:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 3
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
getfield org.bouncycastle.asn1.x509.Extensions.ordering:Ljava/util/Vector;
aload 3
invokevirtual org.bouncycastle.asn1.x509.Extension.getExtnId:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 3 10: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 5
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/asn1/x509/Extensions;
0 12 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
4 12 2 e Ljava/util/Enumeration;
6 10 3 ext Lorg/bouncycastle/asn1/x509/Extension;
MethodParameters:
Name Flags
seq
public void <init>(org.bouncycastle.asn1.x509.Extension);
descriptor: (Lorg/bouncycastle/asn1/x509/Extension;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield org.bouncycastle.asn1.x509.Extensions.extensions:Ljava/util/Hashtable;
2: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield org.bouncycastle.asn1.x509.Extensions.ordering:Ljava/util/Vector;
3: aload 0
getfield org.bouncycastle.asn1.x509.Extensions.ordering:Ljava/util/Vector;
aload 1
invokevirtual org.bouncycastle.asn1.x509.Extension.getExtnId:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
4: aload 0
getfield org.bouncycastle.asn1.x509.Extensions.extensions:Ljava/util/Hashtable;
aload 1
invokevirtual org.bouncycastle.asn1.x509.Extension.getExtnId:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 1
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/x509/Extensions;
0 6 1 extension Lorg/bouncycastle/asn1/x509/Extension;
MethodParameters:
Name Flags
extension
public void <init>(org.bouncycastle.asn1.x509.Extension[]);
descriptor: ([Lorg/bouncycastle/asn1/x509/Extension;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield org.bouncycastle.asn1.x509.Extensions.extensions:Ljava/util/Hashtable;
2: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield org.bouncycastle.asn1.x509.Extensions.ordering:Ljava/util/Vector;
3: iconst_0
istore 2
start local 2 4: goto 9
5: StackMap locals: org.bouncycastle.asn1.x509.Extensions org.bouncycastle.asn1.x509.Extension[] int
StackMap stack:
aload 1
iload 2
aaload
astore 3
start local 3 6: aload 0
getfield org.bouncycastle.asn1.x509.Extensions.ordering:Ljava/util/Vector;
aload 3
invokevirtual org.bouncycastle.asn1.x509.Extension.getExtnId:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
7: aload 0
getfield org.bouncycastle.asn1.x509.Extensions.extensions:Ljava/util/Hashtable;
aload 3
invokevirtual org.bouncycastle.asn1.x509.Extension.getExtnId:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 3
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 8: iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 1
arraylength
if_icmpne 5
end local 2 10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/asn1/x509/Extensions;
0 11 1 extensions [Lorg/bouncycastle/asn1/x509/Extension;
4 10 2 i I
6 8 3 ext Lorg/bouncycastle/asn1/x509/Extension;
MethodParameters:
Name Flags
extensions
public java.util.Enumeration oids();
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.x509.Extensions.ordering: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/x509/Extensions;
public org.bouncycastle.asn1.x509.Extension getExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/x509/Extension;
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.x509.Extensions.extensions:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bouncycastle.asn1.x509.Extension
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/Extensions;
0 1 1 oid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
MethodParameters:
Name Flags
oid
public org.bouncycastle.asn1.ASN1Encodable getExtensionParsedValue(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/ASN1Encodable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.bouncycastle.asn1.x509.Extensions.getExtension:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/x509/Extension;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
invokevirtual org.bouncycastle.asn1.x509.Extension.getParsedValue:()Lorg/bouncycastle/asn1/ASN1Encodable;
areturn
3: StackMap locals: org.bouncycastle.asn1.x509.Extension
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/x509/Extensions;
0 4 1 oid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
1 4 2 ext Lorg/bouncycastle/asn1/x509/Extension;
MethodParameters:
Name Flags
oid
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Primitive;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.asn1.x509.Extensions.ordering:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
astore 2
start local 2 2: goto 6
3: StackMap locals: org.bouncycastle.asn1.ASN1EncodableVector java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1ObjectIdentifier
astore 3
start local 3 4: aload 0
getfield org.bouncycastle.asn1.x509.Extensions.extensions:Ljava/util/Hashtable;
aload 3
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bouncycastle.asn1.x509.Extension
astore 4
start local 4 5: aload 1
aload 4
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
end local 4 end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
7: new org.bouncycastle.asn1.DERSequence
dup
aload 1
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/asn1/x509/Extensions;
1 8 1 vec Lorg/bouncycastle/asn1/ASN1EncodableVector;
2 8 2 e Ljava/util/Enumeration;
4 6 3 oid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
5 6 4 ext Lorg/bouncycastle/asn1/x509/Extension;
public boolean equivalent(org.bouncycastle.asn1.x509.Extensions);
descriptor: (Lorg/bouncycastle/asn1/x509/Extensions;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.asn1.x509.Extensions.extensions:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.size:()I
aload 1
getfield org.bouncycastle.asn1.x509.Extensions.extensions:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.size:()I
if_icmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.x509.Extensions.extensions:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.keys:()Ljava/util/Enumeration;
astore 2
start local 2 3: goto 7
4: StackMap locals: java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
astore 3
start local 3 5: aload 0
getfield org.bouncycastle.asn1.x509.Extensions.extensions:Ljava/util/Hashtable;
aload 3
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
aload 1
getfield org.bouncycastle.asn1.x509.Extensions.extensions:Ljava/util/Hashtable;
aload 3
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 7
6: iconst_0
ireturn
end local 3 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 4
8: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/asn1/x509/Extensions;
0 9 1 other Lorg/bouncycastle/asn1/x509/Extensions;
3 9 2 e1 Ljava/util/Enumeration;
5 7 3 key Ljava/lang/Object;
MethodParameters:
Name Flags
other
public org.bouncycastle.asn1.ASN1ObjectIdentifier[] getExtensionOIDs();
descriptor: ()[Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.bouncycastle.asn1.x509.Extensions.ordering:Ljava/util/Vector;
invokevirtual org.bouncycastle.asn1.x509.Extensions.toOidArray:(Ljava/util/Vector;)[Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/Extensions;
public org.bouncycastle.asn1.ASN1ObjectIdentifier[] getNonCriticalExtensionOIDs();
descriptor: ()[Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.bouncycastle.asn1.x509.Extensions.getExtensionOIDs:(Z)[Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/Extensions;
public org.bouncycastle.asn1.ASN1ObjectIdentifier[] getCriticalExtensionOIDs();
descriptor: ()[Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.bouncycastle.asn1.x509.Extensions.getExtensionOIDs:(Z)[Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/Extensions;
private org.bouncycastle.asn1.ASN1ObjectIdentifier[] getExtensionOIDs(boolean);
descriptor: (Z)[Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 7
3: StackMap locals: java.util.Vector int
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.x509.Extensions.ordering:Ljava/util/Vector;
iload 3
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
astore 4
start local 4 4: aload 0
getfield org.bouncycastle.asn1.x509.Extensions.extensions:Ljava/util/Hashtable;
aload 4
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bouncycastle.asn1.x509.Extension
invokevirtual org.bouncycastle.asn1.x509.Extension.isCritical:()Z
iload 1
if_icmpne 6
5: aload 2
aload 4
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 4 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 0
getfield org.bouncycastle.asn1.x509.Extensions.ordering:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmpne 3
end local 3 8: aload 0
aload 2
invokevirtual org.bouncycastle.asn1.x509.Extensions.toOidArray:(Ljava/util/Vector;)[Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/asn1/x509/Extensions;
0 9 1 isCritical Z
1 9 2 oidVec Ljava/util/Vector;
2 8 3 i I
4 6 4 oid Ljava/lang/Object;
MethodParameters:
Name Flags
isCritical
private org.bouncycastle.asn1.ASN1ObjectIdentifier[] toOidArray(java.util.Vector);
descriptor: (Ljava/util/Vector;)[Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.Vector.size:()I
anewarray org.bouncycastle.asn1.ASN1ObjectIdentifier
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 5
3: StackMap locals: org.bouncycastle.asn1.ASN1ObjectIdentifier[] int
StackMap stack:
aload 2
iload 3
aload 1
iload 3
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1ObjectIdentifier
aastore
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 2
arraylength
if_icmpne 3
end local 3 6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/asn1/x509/Extensions;
0 7 1 oidVec Ljava/util/Vector;
1 7 2 oids [Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
2 6 3 i I
MethodParameters:
Name Flags
oidVec
}
SourceFile: "Extensions.java"