public class org.bouncycastle.asn1.x509.ExtendedKeyUsage extends org.bouncycastle.asn1.ASN1Object
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.x509.ExtendedKeyUsage
super_class: org.bouncycastle.asn1.ASN1Object
{
java.util.Hashtable usageTable;
descriptor: Ljava/util/Hashtable;
flags: (0x0000)
org.bouncycastle.asn1.ASN1Sequence seq;
descriptor: Lorg/bouncycastle/asn1/ASN1Sequence;
flags: (0x0000)
public static org.bouncycastle.asn1.x509.ExtendedKeyUsage getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
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.ExtendedKeyUsage.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
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.ExtendedKeyUsage getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
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.ExtendedKeyUsage
ifeq 2
1: aload 0
checkcast org.bouncycastle.asn1.x509.ExtendedKeyUsage
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 4
3: new org.bouncycastle.asn1.x509.ExtendedKeyUsage
dup
aload 0
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.asn1.x509.ExtendedKeyUsage.<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
public static org.bouncycastle.asn1.x509.ExtendedKeyUsage fromExtensions(org.bouncycastle.asn1.x509.Extensions);
descriptor: (Lorg/bouncycastle/asn1/x509/Extensions;)Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.bouncycastle.asn1.x509.Extension.extendedKeyUsage:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.x509.Extensions.getExtensionParsedValue:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.x509.ExtendedKeyUsage.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 extensions Lorg/bouncycastle/asn1/x509/Extensions;
MethodParameters:
Name Flags
extensions
public void <init>(org.bouncycastle.asn1.x509.KeyPurposeId);
descriptor: (Lorg/bouncycastle/asn1/x509/KeyPurposeId;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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.ExtendedKeyUsage.usageTable:Ljava/util/Hashtable;
2: aload 0
new org.bouncycastle.asn1.DERSequence
dup
aload 1
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
putfield org.bouncycastle.asn1.x509.ExtendedKeyUsage.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
3: aload 0
getfield org.bouncycastle.asn1.x509.ExtendedKeyUsage.usageTable:Ljava/util/Hashtable;
aload 1
aload 1
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
0 5 1 usage Lorg/bouncycastle/asn1/x509/KeyPurposeId;
MethodParameters:
Name Flags
usage
private void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0002) ACC_PRIVATE
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.ExtendedKeyUsage.usageTable:Ljava/util/Hashtable;
2: aload 0
aload 1
putfield org.bouncycastle.asn1.x509.ExtendedKeyUsage.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
3: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 2
start local 2 4: goto 9
5: StackMap locals: org.bouncycastle.asn1.x509.ExtendedKeyUsage org.bouncycastle.asn1.ASN1Sequence java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1Encodable
astore 3
start local 3 6: aload 3
invokeinterface org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
instanceof org.bouncycastle.asn1.ASN1ObjectIdentifier
ifne 8
7: new java.lang.IllegalArgumentException
dup
ldc "Only ASN1ObjectIdentifiers allowed in ExtendedKeyUsage."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: org.bouncycastle.asn1.ASN1Encodable
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.x509.ExtendedKeyUsage.usageTable:Ljava/util/Hashtable;
aload 3
aload 3
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 5
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
0 11 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
4 11 2 e Ljava/util/Enumeration;
6 9 3 o Lorg/bouncycastle/asn1/ASN1Encodable;
MethodParameters:
Name Flags
seq
public void <init>(org.bouncycastle.asn1.x509.KeyPurposeId[]);
descriptor: ([Lorg/bouncycastle/asn1/x509/KeyPurposeId;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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.ExtendedKeyUsage.usageTable:Ljava/util/Hashtable;
2: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: org.bouncycastle.asn1.x509.ExtendedKeyUsage org.bouncycastle.asn1.x509.KeyPurposeId[] org.bouncycastle.asn1.ASN1EncodableVector int
StackMap stack:
aload 2
aload 1
iload 3
aaload
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
6: aload 0
getfield org.bouncycastle.asn1.x509.ExtendedKeyUsage.usageTable:Ljava/util/Hashtable;
aload 1
iload 3
aaload
aload 1
iload 3
aaload
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 1
arraylength
if_icmpne 5
end local 3 9: aload 0
new org.bouncycastle.asn1.DERSequence
dup
aload 2
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
putfield org.bouncycastle.asn1.x509.ExtendedKeyUsage.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
0 11 1 usages [Lorg/bouncycastle/asn1/x509/KeyPurposeId;
3 11 2 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
4 9 3 i I
MethodParameters:
Name Flags
usages
public void <init>(java.util.Vector);
descriptor: (Ljava/util/Vector;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, 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.ExtendedKeyUsage.usageTable:Ljava/util/Hashtable;
2: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 2
start local 2 3: aload 1
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
astore 3
start local 3 4: goto 8
5: StackMap locals: org.bouncycastle.asn1.x509.ExtendedKeyUsage java.util.Vector org.bouncycastle.asn1.ASN1EncodableVector java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokestatic org.bouncycastle.asn1.x509.KeyPurposeId.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/KeyPurposeId;
astore 4
start local 4 6: aload 2
aload 4
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
7: aload 0
getfield org.bouncycastle.asn1.x509.ExtendedKeyUsage.usageTable:Ljava/util/Hashtable;
aload 4
aload 4
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 5
9: aload 0
new org.bouncycastle.asn1.DERSequence
dup
aload 2
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
putfield org.bouncycastle.asn1.x509.ExtendedKeyUsage.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
0 11 1 usages Ljava/util/Vector;
3 11 2 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
4 11 3 e Ljava/util/Enumeration;
6 8 4 o Lorg/bouncycastle/asn1/x509/KeyPurposeId;
MethodParameters:
Name Flags
usages
public boolean hasKeyPurposeId(org.bouncycastle.asn1.x509.KeyPurposeId);
descriptor: (Lorg/bouncycastle/asn1/x509/KeyPurposeId;)Z
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.ExtendedKeyUsage.usageTable:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
0 2 1 keyPurposeId Lorg/bouncycastle/asn1/x509/KeyPurposeId;
MethodParameters:
Name Flags
keyPurposeId
public org.bouncycastle.asn1.x509.KeyPurposeId[] getUsages();
descriptor: ()[Lorg/bouncycastle/asn1/x509/KeyPurposeId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.ExtendedKeyUsage.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
anewarray org.bouncycastle.asn1.x509.KeyPurposeId
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
getfield org.bouncycastle.asn1.x509.ExtendedKeyUsage.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjects:()Ljava/util/Enumeration;
astore 3
start local 3 3: goto 5
4: StackMap locals: org.bouncycastle.asn1.x509.KeyPurposeId[] int java.util.Enumeration
StackMap stack:
aload 1
iload 2
iinc 2 1
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
invokestatic org.bouncycastle.asn1.x509.KeyPurposeId.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/KeyPurposeId;
aastore
5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 4
end local 3 6: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
1 7 1 temp [Lorg/bouncycastle/asn1/x509/KeyPurposeId;
2 7 2 i I
3 6 3 it Ljava/util/Enumeration;
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.x509.ExtendedKeyUsage.usageTable:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Primitive;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.ExtendedKeyUsage.seq:Lorg/bouncycastle/asn1/ASN1Sequence;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
}
SourceFile: "ExtendedKeyUsage.java"