public class org.bouncycastle.asn1.x509.ExtendedKeyUsage extends org.bouncycastle.asn1.ASN1Encodable
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.ASN1Encodable
{
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=5, 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
instanceof org.bouncycastle.asn1.ASN1Sequence
ifeq 4
3: new org.bouncycastle.asn1.x509.ExtendedKeyUsage
dup
aload 0
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.x509.ExtendedKeyUsage.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
areturn
4: StackMap locals:
StackMap stack:
aload 0
instanceof org.bouncycastle.asn1.x509.X509Extension
ifeq 6
5: aload 0
checkcast org.bouncycastle.asn1.x509.X509Extension
invokestatic org.bouncycastle.asn1.x509.X509Extension.convertValueToObject:(Lorg/bouncycastle/asn1/x509/X509Extension;)Lorg/bouncycastle/asn1/ASN1Object;
invokestatic org.bouncycastle.asn1.x509.ExtendedKeyUsage.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid ExtendedKeyUsage: "
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 7 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
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.ASN1Encodable.<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/DEREncodable;)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
public void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)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.ASN1Encodable.<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;
astore 3
start local 3 6: aload 3
instanceof org.bouncycastle.asn1.DERObjectIdentifier
ifne 8
7: new java.lang.IllegalArgumentException
dup
ldc "Only DERObjectIdentifiers allowed in ExtendedKeyUsage."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: java.lang.Object
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 Ljava/lang/Object;
MethodParameters:
Name Flags
seq
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.ASN1Encodable.<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;
checkcast org.bouncycastle.asn1.DERObject
astore 4
start local 4 6: aload 2
aload 4
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)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/DERObject;
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 java.util.Vector getUsages();
descriptor: ()Ljava/util/Vector;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
getfield org.bouncycastle.asn1.x509.ExtendedKeyUsage.usageTable:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.elements:()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
end local 2 5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/x509/ExtendedKeyUsage;
1 6 1 temp Ljava/util/Vector;
2 5 2 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.DERObject toASN1Object();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
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"