public class org.bouncycastle.asn1.x509.X509ExtensionsGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.x509.X509ExtensionsGenerator
super_class: java.lang.Object
{
private java.util.Hashtable extensions;
descriptor: Ljava/util/Hashtable;
flags: (0x0002) ACC_PRIVATE
private java.util.Vector extOrdering;
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 java.lang.Object.<init>:()V
1: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield org.bouncycastle.asn1.x509.X509ExtensionsGenerator.extensions:Ljava/util/Hashtable;
2: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield org.bouncycastle.asn1.x509.X509ExtensionsGenerator.extOrdering:Ljava/util/Vector;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/x509/X509ExtensionsGenerator;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield org.bouncycastle.asn1.x509.X509ExtensionsGenerator.extensions:Ljava/util/Hashtable;
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield org.bouncycastle.asn1.x509.X509ExtensionsGenerator.extOrdering:Ljava/util/Vector;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/x509/X509ExtensionsGenerator;
public void addExtension(org.bouncycastle.asn1.DERObjectIdentifier, boolean, org.bouncycastle.asn1.DEREncodable);
descriptor: (Lorg/bouncycastle/asn1/DERObjectIdentifier;ZLorg/bouncycastle/asn1/DEREncodable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
aload 3
invokeinterface org.bouncycastle.asn1.DEREncodable.getDERObject:()Lorg/bouncycastle/asn1/DERObject;
ldc "DER"
invokevirtual org.bouncycastle.asn1.DERObject.getEncoded:(Ljava/lang/String;)[B
invokevirtual org.bouncycastle.asn1.x509.X509ExtensionsGenerator.addExtension:(Lorg/bouncycastle/asn1/DERObjectIdentifier;Z[B)V
1: goto 4
2: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "error encoding value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
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
end local 4 4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/x509/X509ExtensionsGenerator;
0 5 1 oid Lorg/bouncycastle/asn1/DERObjectIdentifier;
0 5 2 critical Z
0 5 3 value Lorg/bouncycastle/asn1/DEREncodable;
3 4 4 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
oid
critical
value
public void addExtension(org.bouncycastle.asn1.DERObjectIdentifier, boolean, byte[]);
descriptor: (Lorg/bouncycastle/asn1/DERObjectIdentifier;Z[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.asn1.x509.X509ExtensionsGenerator.extensions:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "extension "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " already added"
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
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.x509.X509ExtensionsGenerator.extOrdering:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
3: aload 0
getfield org.bouncycastle.asn1.x509.X509ExtensionsGenerator.extensions:Ljava/util/Hashtable;
aload 1
new org.bouncycastle.asn1.x509.X509Extension
dup
iload 2
new org.bouncycastle.asn1.DEROctetString
dup
aload 3
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.x509.X509Extension.<init>:(ZLorg/bouncycastle/asn1/ASN1OctetString;)V
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/x509/X509ExtensionsGenerator;
0 5 1 oid Lorg/bouncycastle/asn1/DERObjectIdentifier;
0 5 2 critical Z
0 5 3 value [B
MethodParameters:
Name Flags
oid
critical
value
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.X509ExtensionsGenerator.extOrdering:Ljava/util/Vector;
invokevirtual java.util.Vector.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/X509ExtensionsGenerator;
public org.bouncycastle.asn1.x509.X509Extensions generate();
descriptor: ()Lorg/bouncycastle/asn1/x509/X509Extensions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.bouncycastle.asn1.x509.X509Extensions
dup
aload 0
getfield org.bouncycastle.asn1.x509.X509ExtensionsGenerator.extOrdering:Ljava/util/Vector;
aload 0
getfield org.bouncycastle.asn1.x509.X509ExtensionsGenerator.extensions:Ljava/util/Hashtable;
invokespecial org.bouncycastle.asn1.x509.X509Extensions.<init>:(Ljava/util/Vector;Ljava/util/Hashtable;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/X509ExtensionsGenerator;
}
SourceFile: "X509ExtensionsGenerator.java"