public class org.bouncycastle.asn1.ASN1Boolean extends org.bouncycastle.asn1.ASN1Primitive
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.ASN1Boolean
super_class: org.bouncycastle.asn1.ASN1Primitive
{
private static final byte[] TRUE_VALUE;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] FALSE_VALUE;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final byte[] value;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final org.bouncycastle.asn1.ASN1Boolean FALSE;
descriptor: Lorg/bouncycastle/asn1/ASN1Boolean;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.bouncycastle.asn1.ASN1Boolean TRUE;
descriptor: Lorg/bouncycastle/asn1/ASN1Boolean;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
newarray 8
dup
iconst_0
iconst_m1
bastore
putstatic org.bouncycastle.asn1.ASN1Boolean.TRUE_VALUE:[B
1: iconst_1
newarray 8
putstatic org.bouncycastle.asn1.ASN1Boolean.FALSE_VALUE:[B
2: new org.bouncycastle.asn1.ASN1Boolean
dup
iconst_0
invokespecial org.bouncycastle.asn1.ASN1Boolean.<init>:(Z)V
putstatic org.bouncycastle.asn1.ASN1Boolean.FALSE:Lorg/bouncycastle/asn1/ASN1Boolean;
3: new org.bouncycastle.asn1.ASN1Boolean
dup
iconst_1
invokespecial org.bouncycastle.asn1.ASN1Boolean.<init>:(Z)V
putstatic org.bouncycastle.asn1.ASN1Boolean.TRUE:Lorg/bouncycastle/asn1/ASN1Boolean;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.bouncycastle.asn1.ASN1Boolean getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Boolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
instanceof org.bouncycastle.asn1.ASN1Boolean
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.bouncycastle.asn1.ASN1Boolean
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof byte[]
ifeq 8
3: aload 0
checkcast byte[]
astore 1
start local 1 4: aload 1
invokestatic org.bouncycastle.asn1.ASN1Boolean.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Primitive;
checkcast org.bouncycastle.asn1.ASN1Boolean
5: areturn
6: StackMap locals: java.lang.Object byte[]
StackMap stack: java.io.IOException
astore 2
start local 2 7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "failed to construct boolean from byte[]: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.io.IOException.getMessage:()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 2 end local 1 8: 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 9 0 obj Ljava/lang/Object;
4 8 1 enc [B
7 8 2 e Ljava/io/IOException;
Exception table:
from to target type
4 5 6 Class java.io.IOException
MethodParameters:
Name Flags
obj
public static org.bouncycastle.asn1.ASN1Boolean getInstance(boolean);
descriptor: (Z)Lorg/bouncycastle/asn1/ASN1Boolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ifeq 1
getstatic org.bouncycastle.asn1.ASN1Boolean.TRUE:Lorg/bouncycastle/asn1/ASN1Boolean;
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.bouncycastle.asn1.ASN1Boolean.FALSE:Lorg/bouncycastle/asn1/ASN1Boolean;
StackMap locals:
StackMap stack: org.bouncycastle.asn1.ASN1Boolean
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value Z
MethodParameters:
Name Flags
value
public static org.bouncycastle.asn1.ASN1Boolean getInstance(int);
descriptor: (I)Lorg/bouncycastle/asn1/ASN1Boolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ifeq 1
getstatic org.bouncycastle.asn1.ASN1Boolean.TRUE:Lorg/bouncycastle/asn1/ASN1Boolean;
goto 2
StackMap locals:
StackMap stack:
1: getstatic org.bouncycastle.asn1.ASN1Boolean.FALSE:Lorg/bouncycastle/asn1/ASN1Boolean;
StackMap locals:
StackMap stack: org.bouncycastle.asn1.ASN1Boolean
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value I
MethodParameters:
Name Flags
value
public static org.bouncycastle.asn1.ASN1Boolean getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1Boolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bouncycastle.asn1.ASN1TaggedObject.getObject:()Lorg/bouncycastle/asn1/ASN1Primitive;
astore 2
start local 2 1: iload 1
ifne 2
aload 2
instanceof org.bouncycastle.asn1.ASN1Boolean
ifeq 3
2: StackMap locals: org.bouncycastle.asn1.ASN1Primitive
StackMap stack:
aload 2
invokestatic org.bouncycastle.asn1.ASN1Boolean.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Boolean;
areturn
3: StackMap locals:
StackMap stack:
aload 2
checkcast org.bouncycastle.asn1.ASN1OctetString
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokestatic org.bouncycastle.asn1.ASN1Boolean.fromOctetString:([B)Lorg/bouncycastle/asn1/ASN1Boolean;
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/ASN1Primitive;
MethodParameters:
Name Flags
obj
explicit
void <init>(byte[]);
descriptor: ([B)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Primitive.<init>:()V
1: aload 1
arraylength
iconst_1
if_icmpeq 3
2: new java.lang.IllegalArgumentException
dup
ldc "byte value should have 1 byte in it"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.bouncycastle.asn1.ASN1Boolean byte[]
StackMap stack:
aload 1
iconst_0
baload
ifne 6
4: aload 0
getstatic org.bouncycastle.asn1.ASN1Boolean.FALSE_VALUE:[B
putfield org.bouncycastle.asn1.ASN1Boolean.value:[B
5: goto 10
6: StackMap locals:
StackMap stack:
aload 1
iconst_0
baload
sipush 255
iand
sipush 255
if_icmpne 9
7: aload 0
getstatic org.bouncycastle.asn1.ASN1Boolean.TRUE_VALUE:[B
putfield org.bouncycastle.asn1.ASN1Boolean.value:[B
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.bouncycastle.util.Arrays.clone:([B)[B
putfield org.bouncycastle.asn1.ASN1Boolean.value:[B
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/asn1/ASN1Boolean;
0 11 1 value [B
MethodParameters:
Name Flags
value
public void <init>(boolean);
descriptor: (Z)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.ASN1Primitive.<init>:()V
1: aload 0
iload 1
ifeq 2
getstatic org.bouncycastle.asn1.ASN1Boolean.TRUE_VALUE:[B
goto 3
StackMap locals: org.bouncycastle.asn1.ASN1Boolean int
StackMap stack: org.bouncycastle.asn1.ASN1Boolean
2: getstatic org.bouncycastle.asn1.ASN1Boolean.FALSE_VALUE:[B
StackMap locals: org.bouncycastle.asn1.ASN1Boolean int
StackMap stack: org.bouncycastle.asn1.ASN1Boolean byte[]
3: putfield org.bouncycastle.asn1.ASN1Boolean.value:[B
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/ASN1Boolean;
0 5 1 value Z
MethodParameters:
Name Flags
value
public boolean isTrue();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.ASN1Boolean.value:[B
iconst_0
baload
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/ASN1Boolean;
boolean isConstructed();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1Boolean;
int encodedLength();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_3
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1Boolean;
void encode(org.bouncycastle.asn1.ASN1OutputStream);
descriptor: (Lorg/bouncycastle/asn1/ASN1OutputStream;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iconst_1
aload 0
getfield org.bouncycastle.asn1.ASN1Boolean.value:[B
invokevirtual org.bouncycastle.asn1.ASN1OutputStream.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/ASN1Boolean;
0 2 1 out Lorg/bouncycastle/asn1/ASN1OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
protected boolean asn1Equals(org.bouncycastle.asn1.ASN1Primitive);
descriptor: (Lorg/bouncycastle/asn1/ASN1Primitive;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.asn1.ASN1Boolean
ifeq 3
1: aload 0
getfield org.bouncycastle.asn1.ASN1Boolean.value:[B
iconst_0
baload
aload 1
checkcast org.bouncycastle.asn1.ASN1Boolean
getfield org.bouncycastle.asn1.ASN1Boolean.value:[B
iconst_0
baload
if_icmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/ASN1Boolean;
0 4 1 o Lorg/bouncycastle/asn1/ASN1Primitive;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.ASN1Boolean.value:[B
iconst_0
baload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/ASN1Boolean;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.ASN1Boolean.value:[B
iconst_0
baload
ifeq 1
ldc "TRUE"
goto 2
StackMap locals:
StackMap stack:
1: ldc "FALSE"
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/ASN1Boolean;
static org.bouncycastle.asn1.ASN1Boolean fromOctetString(byte[]);
descriptor: ([B)Lorg/bouncycastle/asn1/ASN1Boolean;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
arraylength
iconst_1
if_icmpeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "BOOLEAN value should have 1 byte in it"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
baload
ifne 4
3: getstatic org.bouncycastle.asn1.ASN1Boolean.FALSE:Lorg/bouncycastle/asn1/ASN1Boolean;
areturn
4: StackMap locals:
StackMap stack:
aload 0
iconst_0
baload
sipush 255
iand
sipush 255
if_icmpne 6
5: getstatic org.bouncycastle.asn1.ASN1Boolean.TRUE:Lorg/bouncycastle/asn1/ASN1Boolean;
areturn
6: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.ASN1Boolean
dup
aload 0
invokespecial org.bouncycastle.asn1.ASN1Boolean.<init>:([B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 value [B
MethodParameters:
Name Flags
value
}
SourceFile: "ASN1Boolean.java"