public class org.bouncycastle.asn1.DEREnumerated extends org.bouncycastle.asn1.ASN1Object
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.DEREnumerated
super_class: org.bouncycastle.asn1.ASN1Object
{
byte[] bytes;
descriptor: [B
flags: (0x0000)
public static org.bouncycastle.asn1.DEREnumerated getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/DEREnumerated;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
instanceof org.bouncycastle.asn1.DEREnumerated
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.bouncycastle.asn1.DEREnumerated
areturn
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "illegal 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 3 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public static org.bouncycastle.asn1.DEREnumerated getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/DEREnumerated;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/DERObject;
astore 2
start local 2 1: iload 1
ifne 2
aload 2
instanceof org.bouncycastle.asn1.DEREnumerated
ifeq 3
2: StackMap locals: org.bouncycastle.asn1.DERObject
StackMap stack:
aload 2
invokestatic org.bouncycastle.asn1.DEREnumerated.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/DEREnumerated;
areturn
3: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.DEREnumerated
dup
aload 2
checkcast org.bouncycastle.asn1.ASN1OctetString
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokespecial org.bouncycastle.asn1.DEREnumerated.<init>:([B)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 obj Lorg/bouncycastle/asn1/ASN1TaggedObject;
0 4 1 explicit Z
1 4 2 o Lorg/bouncycastle/asn1/DERObject;
MethodParameters:
Name Flags
obj
explicit
public void <init>(int);
descriptor: (I)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
iload 1
i2l
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.toByteArray:()[B
putfield org.bouncycastle.asn1.DEREnumerated.bytes:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/DEREnumerated;
0 3 1 value I
MethodParameters:
Name Flags
value
public void <init>(java.math.BigInteger);
descriptor: (Ljava/math/BigInteger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
aload 1
invokevirtual java.math.BigInteger.toByteArray:()[B
putfield org.bouncycastle.asn1.DEREnumerated.bytes:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/DEREnumerated;
0 3 1 value Ljava/math/BigInteger;
MethodParameters:
Name Flags
value
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.asn1.DEREnumerated.bytes:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/DEREnumerated;
0 3 1 bytes [B
MethodParameters:
Name Flags
bytes
public java.math.BigInteger getValue();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.math.BigInteger
dup
aload 0
getfield org.bouncycastle.asn1.DEREnumerated.bytes:[B
invokespecial java.math.BigInteger.<init>:([B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/DEREnumerated;
void encode(org.bouncycastle.asn1.DEROutputStream);
descriptor: (Lorg/bouncycastle/asn1/DEROutputStream;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
bipush 10
aload 0
getfield org.bouncycastle.asn1.DEREnumerated.bytes:[B
invokevirtual org.bouncycastle.asn1.DEROutputStream.writeEncoded:(I[B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/DEREnumerated;
0 2 1 out Lorg/bouncycastle/asn1/DEROutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
boolean asn1Equals(org.bouncycastle.asn1.DERObject);
descriptor: (Lorg/bouncycastle/asn1/DERObject;)Z
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.asn1.DEREnumerated
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.asn1.DEREnumerated
astore 2
start local 2 3: aload 0
getfield org.bouncycastle.asn1.DEREnumerated.bytes:[B
aload 2
getfield org.bouncycastle.asn1.DEREnumerated.bytes:[B
invokestatic org.bouncycastle.util.Arrays.areEqual:([B[B)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/DEREnumerated;
0 4 1 o Lorg/bouncycastle/asn1/DERObject;
3 4 2 other Lorg/bouncycastle/asn1/DEREnumerated;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.DEREnumerated.bytes:[B
invokestatic org.bouncycastle.util.Arrays.hashCode:([B)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/DEREnumerated;
}
SourceFile: "DEREnumerated.java"