public class org.bouncycastle.cert.path.validations.BasicConstraintsValidation implements org.bouncycastle.cert.path.CertPathValidation
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bouncycastle.cert.path.validations.BasicConstraintsValidation
  super_class: java.lang.Object
{
  private boolean isMandatory;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private org.bouncycastle.asn1.x509.BasicConstraints bc;
    descriptor: Lorg/bouncycastle/asn1/x509/BasicConstraints;
    flags: (0x0002) ACC_PRIVATE

  private int pathLengthRemaining;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private java.math.BigInteger maxPathLength;
    descriptor: Ljava/math/BigInteger;
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.bouncycastle.cert.path.validations.BasicConstraintsValidation this
         0: .line 23
            aload 0 /* this */
            iconst_1
            invokespecial org.bouncycastle.cert.path.validations.BasicConstraintsValidation.<init>:(Z)V
         1: .line 24
            return
        end local 0 // org.bouncycastle.cert.path.validations.BasicConstraintsValidation this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/bouncycastle/cert/path/validations/BasicConstraintsValidation;

  public void <init>(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.bouncycastle.cert.path.validations.BasicConstraintsValidation this
        start local 1 // boolean isMandatory
         0: .line 26
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 28
            aload 0 /* this */
            iload 1 /* isMandatory */
            putfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.isMandatory:Z
         2: .line 29
            return
        end local 1 // boolean isMandatory
        end local 0 // org.bouncycastle.cert.path.validations.BasicConstraintsValidation this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0         this  Lorg/bouncycastle/cert/path/validations/BasicConstraintsValidation;
            0    3     1  isMandatory  Z
    MethodParameters:
             Name  Flags
      isMandatory  

  public void validate(org.bouncycastle.cert.path.CertPathValidationContext, org.bouncycastle.cert.X509CertificateHolder);
    descriptor: (Lorg/bouncycastle/cert/path/CertPathValidationContext;Lorg/bouncycastle/cert/X509CertificateHolder;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=3
        start local 0 // org.bouncycastle.cert.path.validations.BasicConstraintsValidation this
        start local 1 // org.bouncycastle.cert.path.CertPathValidationContext context
        start local 2 // org.bouncycastle.cert.X509CertificateHolder certificate
         0: .line 34
            aload 0 /* this */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.maxPathLength:Ljava/math/BigInteger;
            ifnull 2
            aload 0 /* this */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.pathLengthRemaining:I
            ifge 2
         1: .line 36
            new org.bouncycastle.cert.path.CertPathValidationException
            dup
            ldc "BasicConstraints path length exceeded"
            invokespecial org.bouncycastle.cert.path.CertPathValidationException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 39
      StackMap locals:
      StackMap stack:
            aload 1 /* context */
            getstatic org.bouncycastle.asn1.x509.Extension.basicConstraints:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            invokevirtual org.bouncycastle.cert.path.CertPathValidationContext.addHandledExtension:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)V
         3: .line 41
            aload 2 /* certificate */
            invokevirtual org.bouncycastle.cert.X509CertificateHolder.getExtensions:()Lorg/bouncycastle/asn1/x509/Extensions;
            invokestatic org.bouncycastle.asn1.x509.BasicConstraints.fromExtensions:(Lorg/bouncycastle/asn1/x509/Extensions;)Lorg/bouncycastle/asn1/x509/BasicConstraints;
            astore 3 /* certBC */
        start local 3 // org.bouncycastle.asn1.x509.BasicConstraints certBC
         4: .line 43
            aload 3 /* certBC */
            ifnull 20
         5: .line 45
            aload 0 /* this */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.bc:Lorg/bouncycastle/asn1/x509/BasicConstraints;
            ifnull 14
         6: .line 47
            aload 3 /* certBC */
            invokevirtual org.bouncycastle.asn1.x509.BasicConstraints.isCA:()Z
            ifeq 22
         7: .line 49
            aload 3 /* certBC */
            invokevirtual org.bouncycastle.asn1.x509.BasicConstraints.getPathLenConstraint:()Ljava/math/BigInteger;
            astore 4 /* pathLengthConstraint */
        start local 4 // java.math.BigInteger pathLengthConstraint
         8: .line 51
            aload 4 /* pathLengthConstraint */
            ifnull 22
         9: .line 53
            aload 4 /* pathLengthConstraint */
            invokevirtual java.math.BigInteger.intValue:()I
            istore 5 /* plc */
        start local 5 // int plc
        10: .line 55
            iload 5 /* plc */
            aload 0 /* this */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.pathLengthRemaining:I
            if_icmpge 22
        11: .line 57
            aload 0 /* this */
            iload 5 /* plc */
            putfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.pathLengthRemaining:I
        12: .line 58
            aload 0 /* this */
            aload 3 /* certBC */
            putfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.bc:Lorg/bouncycastle/asn1/x509/BasicConstraints;
        end local 5 // int plc
        end local 4 // java.math.BigInteger pathLengthConstraint
        13: .line 62
            goto 22
        14: .line 65
      StackMap locals: org.bouncycastle.asn1.x509.BasicConstraints
      StackMap stack:
            aload 0 /* this */
            aload 3 /* certBC */
            putfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.bc:Lorg/bouncycastle/asn1/x509/BasicConstraints;
        15: .line 66
            aload 3 /* certBC */
            invokevirtual org.bouncycastle.asn1.x509.BasicConstraints.isCA:()Z
            ifeq 22
        16: .line 68
            aload 0 /* this */
            aload 3 /* certBC */
            invokevirtual org.bouncycastle.asn1.x509.BasicConstraints.getPathLenConstraint:()Ljava/math/BigInteger;
            putfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.maxPathLength:Ljava/math/BigInteger;
        17: .line 70
            aload 0 /* this */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.maxPathLength:Ljava/math/BigInteger;
            ifnull 22
        18: .line 72
            aload 0 /* this */
            aload 0 /* this */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.maxPathLength:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.intValue:()I
            putfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.pathLengthRemaining:I
        19: .line 76
            goto 22
        20: .line 79
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.bc:Lorg/bouncycastle/asn1/x509/BasicConstraints;
            ifnull 22
        21: .line 81
            aload 0 /* this */
            dup
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.pathLengthRemaining:I
            iconst_1
            isub
            putfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.pathLengthRemaining:I
        22: .line 85
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.isMandatory:Z
            ifeq 24
            aload 0 /* this */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.bc:Lorg/bouncycastle/asn1/x509/BasicConstraints;
            ifnonnull 24
        23: .line 87
            new org.bouncycastle.cert.path.CertPathValidationException
            dup
            ldc "BasicConstraints not present in path"
            invokespecial org.bouncycastle.cert.path.CertPathValidationException.<init>:(Ljava/lang/String;)V
            athrow
        24: .line 89
      StackMap locals:
      StackMap stack:
            return
        end local 3 // org.bouncycastle.asn1.x509.BasicConstraints certBC
        end local 2 // org.bouncycastle.cert.X509CertificateHolder certificate
        end local 1 // org.bouncycastle.cert.path.CertPathValidationContext context
        end local 0 // org.bouncycastle.cert.path.validations.BasicConstraintsValidation this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   25     0                  this  Lorg/bouncycastle/cert/path/validations/BasicConstraintsValidation;
            0   25     1               context  Lorg/bouncycastle/cert/path/CertPathValidationContext;
            0   25     2           certificate  Lorg/bouncycastle/cert/X509CertificateHolder;
            4   25     3                certBC  Lorg/bouncycastle/asn1/x509/BasicConstraints;
            8   13     4  pathLengthConstraint  Ljava/math/BigInteger;
           10   13     5                   plc  I
    Exceptions:
      throws org.bouncycastle.cert.path.CertPathValidationException
    MethodParameters:
             Name  Flags
      context      
      certificate  

  public org.bouncycastle.util.Memoable copy();
    descriptor: ()Lorg/bouncycastle/util/Memoable;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // org.bouncycastle.cert.path.validations.BasicConstraintsValidation this
         0: .line 93
            new org.bouncycastle.cert.path.validations.BasicConstraintsValidation
            dup
            aload 0 /* this */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.isMandatory:Z
            invokespecial org.bouncycastle.cert.path.validations.BasicConstraintsValidation.<init>:(Z)V
            astore 1 /* v */
        start local 1 // org.bouncycastle.cert.path.validations.BasicConstraintsValidation v
         1: .line 95
            aload 1 /* v */
            aload 0 /* this */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.bc:Lorg/bouncycastle/asn1/x509/BasicConstraints;
            putfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.bc:Lorg/bouncycastle/asn1/x509/BasicConstraints;
         2: .line 96
            aload 1 /* v */
            aload 0 /* this */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.pathLengthRemaining:I
            putfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.pathLengthRemaining:I
         3: .line 98
            aload 1 /* v */
            areturn
        end local 1 // org.bouncycastle.cert.path.validations.BasicConstraintsValidation v
        end local 0 // org.bouncycastle.cert.path.validations.BasicConstraintsValidation this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/bouncycastle/cert/path/validations/BasicConstraintsValidation;
            1    4     1     v  Lorg/bouncycastle/cert/path/validations/BasicConstraintsValidation;

  public void reset(org.bouncycastle.util.Memoable);
    descriptor: (Lorg/bouncycastle/util/Memoable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.bouncycastle.cert.path.validations.BasicConstraintsValidation this
        start local 1 // org.bouncycastle.util.Memoable other
         0: .line 103
            aload 1 /* other */
            checkcast org.bouncycastle.cert.path.validations.BasicConstraintsValidation
            astore 2 /* v */
        start local 2 // org.bouncycastle.cert.path.validations.BasicConstraintsValidation v
         1: .line 105
            aload 0 /* this */
            aload 2 /* v */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.isMandatory:Z
            putfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.isMandatory:Z
         2: .line 106
            aload 0 /* this */
            aload 2 /* v */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.bc:Lorg/bouncycastle/asn1/x509/BasicConstraints;
            putfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.bc:Lorg/bouncycastle/asn1/x509/BasicConstraints;
         3: .line 107
            aload 0 /* this */
            aload 2 /* v */
            getfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.pathLengthRemaining:I
            putfield org.bouncycastle.cert.path.validations.BasicConstraintsValidation.pathLengthRemaining:I
         4: .line 108
            return
        end local 2 // org.bouncycastle.cert.path.validations.BasicConstraintsValidation v
        end local 1 // org.bouncycastle.util.Memoable other
        end local 0 // org.bouncycastle.cert.path.validations.BasicConstraintsValidation this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Lorg/bouncycastle/cert/path/validations/BasicConstraintsValidation;
            0    5     1  other  Lorg/bouncycastle/util/Memoable;
            1    5     2      v  Lorg/bouncycastle/cert/path/validations/BasicConstraintsValidation;
    MethodParameters:
       Name  Flags
      other  
}
SourceFile: "BasicConstraintsValidation.java"