public class org.bouncycastle.asn1.x509.BasicConstraints extends org.bouncycastle.asn1.ASN1Encodable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.x509.BasicConstraints
super_class: org.bouncycastle.asn1.ASN1Encodable
{
org.bouncycastle.asn1.DERBoolean cA;
descriptor: Lorg/bouncycastle/asn1/DERBoolean;
flags: (0x0000)
org.bouncycastle.asn1.DERInteger pathLenConstraint;
descriptor: Lorg/bouncycastle/asn1/DERInteger;
flags: (0x0000)
public static org.bouncycastle.asn1.x509.BasicConstraints getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/BasicConstraints;
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.BasicConstraints.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/BasicConstraints;
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.BasicConstraints getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/BasicConstraints;
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.x509.BasicConstraints
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.bouncycastle.asn1.x509.BasicConstraints
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.bouncycastle.asn1.ASN1Sequence
ifeq 4
3: new org.bouncycastle.asn1.x509.BasicConstraints
dup
aload 0
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.x509.BasicConstraints.<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.BasicConstraints.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/BasicConstraints;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown object in factory: "
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.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)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 org.bouncycastle.asn1.DERBoolean
dup
iconst_0
invokespecial org.bouncycastle.asn1.DERBoolean.<init>:(Z)V
putfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
2: aload 0
aconst_null
putfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
3: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
ifne 7
4: aload 0
aconst_null
putfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
5: aload 0
aconst_null
putfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
6: goto 17
7: StackMap locals: org.bouncycastle.asn1.x509.BasicConstraints org.bouncycastle.asn1.ASN1Sequence
StackMap stack:
aload 1
iconst_0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
instanceof org.bouncycastle.asn1.DERBoolean
ifeq 10
8: aload 0
aload 1
iconst_0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
invokestatic org.bouncycastle.asn1.DERBoolean.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/DERBoolean;
putfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
9: goto 12
10: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
11: aload 0
aload 1
iconst_0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
invokestatic org.bouncycastle.asn1.DERInteger.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/DERInteger;
putfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_1
if_icmple 17
13: aload 0
getfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
ifnull 16
14: aload 0
aload 1
iconst_1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
invokestatic org.bouncycastle.asn1.DERInteger.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/DERInteger;
putfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
15: goto 17
16: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "wrong sequence in constructor"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/bouncycastle/asn1/x509/BasicConstraints;
0 18 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
MethodParameters:
Name Flags
seq
public void <init>(boolean, int);
descriptor: (ZI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
new org.bouncycastle.asn1.DERBoolean
dup
iconst_0
invokespecial org.bouncycastle.asn1.DERBoolean.<init>:(Z)V
putfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
2: aload 0
aconst_null
putfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
3: iload 1
ifeq 7
4: aload 0
new org.bouncycastle.asn1.DERBoolean
dup
iload 1
invokespecial org.bouncycastle.asn1.DERBoolean.<init>:(Z)V
putfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
5: aload 0
new org.bouncycastle.asn1.DERInteger
dup
iload 2
invokespecial org.bouncycastle.asn1.DERInteger.<init>:(I)V
putfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
6: goto 9
7: StackMap locals: org.bouncycastle.asn1.x509.BasicConstraints int int
StackMap stack:
aload 0
aconst_null
putfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
8: aload 0
aconst_null
putfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/asn1/x509/BasicConstraints;
0 10 1 cA Z
0 10 2 pathLenConstraint I
MethodParameters:
Name Flags
cA
pathLenConstraint
public void <init>(boolean);
descriptor: (Z)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 org.bouncycastle.asn1.DERBoolean
dup
iconst_0
invokespecial org.bouncycastle.asn1.DERBoolean.<init>:(Z)V
putfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
2: aload 0
aconst_null
putfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
3: iload 1
ifeq 6
4: aload 0
new org.bouncycastle.asn1.DERBoolean
dup
iconst_1
invokespecial org.bouncycastle.asn1.DERBoolean.<init>:(Z)V
putfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
5: goto 7
6: StackMap locals: org.bouncycastle.asn1.x509.BasicConstraints int
StackMap stack:
aload 0
aconst_null
putfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
7: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/asn1/x509/BasicConstraints;
0 9 1 cA Z
MethodParameters:
Name Flags
cA
public void <init>(int);
descriptor: (I)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 org.bouncycastle.asn1.DERBoolean
dup
iconst_0
invokespecial org.bouncycastle.asn1.DERBoolean.<init>:(Z)V
putfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
2: aload 0
aconst_null
putfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
3: aload 0
new org.bouncycastle.asn1.DERBoolean
dup
iconst_1
invokespecial org.bouncycastle.asn1.DERBoolean.<init>:(Z)V
putfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
4: aload 0
new org.bouncycastle.asn1.DERInteger
dup
iload 1
invokespecial org.bouncycastle.asn1.DERInteger.<init>:(I)V
putfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/x509/BasicConstraints;
0 6 1 pathLenConstraint I
MethodParameters:
Name Flags
pathLenConstraint
public boolean isCA();
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.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
ifnull 1
aload 0
getfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
invokevirtual org.bouncycastle.asn1.DERBoolean.isTrue:()Z
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/x509/BasicConstraints;
public java.math.BigInteger getPathLenConstraint();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
ifnull 2
1: aload 0
getfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
invokevirtual org.bouncycastle.asn1.DERInteger.getValue:()Ljava/math/BigInteger;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/asn1/x509/BasicConstraints;
public org.bouncycastle.asn1.DERObject toASN1Object();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
ifnull 3
2: aload 1
aload 0
getfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
3: StackMap locals: org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack:
aload 0
getfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
ifnull 5
4: aload 1
aload 0
getfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
5: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.DERSequence
dup
aload 1
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/x509/BasicConstraints;
1 6 1 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
ifnonnull 4
1: aload 0
getfield org.bouncycastle.asn1.x509.BasicConstraints.cA:Lorg/bouncycastle/asn1/DERBoolean;
ifnonnull 3
2: ldc "BasicConstraints: isCa(false)"
areturn
3: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "BasicConstraints: isCa("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.bouncycastle.asn1.x509.BasicConstraints.isCA:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "BasicConstraints: isCa("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.bouncycastle.asn1.x509.BasicConstraints.isCA:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc "), pathLenConstraint = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.bouncycastle.asn1.x509.BasicConstraints.pathLenConstraint:Lorg/bouncycastle/asn1/DERInteger;
invokevirtual org.bouncycastle.asn1.DERInteger.getValue:()Ljava/math/BigInteger;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/asn1/x509/BasicConstraints;
}
SourceFile: "BasicConstraints.java"