public final class org.bouncycastle.util.BigIntegers
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.bouncycastle.util.BigIntegers
  super_class: java.lang.Object
{
  private static final int MAX_ITERATIONS;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1000

  private static final java.math.BigInteger ZERO;
    descriptor: Ljava/math/BigInteger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 12
            lconst_0
            invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
            putstatic org.bouncycastle.util.BigIntegers.ZERO:Ljava/math/BigInteger;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.util.BigIntegers this
         0: .line 9
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.bouncycastle.util.BigIntegers this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/util/BigIntegers;

  public static byte[] asUnsignedByteArray(java.math.BigInteger);
    descriptor: (Ljava/math/BigInteger;)[B
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // java.math.BigInteger value
         0: .line 23
            aload 0 /* value */
            invokevirtual java.math.BigInteger.toByteArray:()[B
            astore 1 /* bytes */
        start local 1 // byte[] bytes
         1: .line 25
            aload 1 /* bytes */
            iconst_0
            baload
            ifne 5
         2: .line 27
            aload 1 /* bytes */
            arraylength
            iconst_1
            isub
            newarray 8
            astore 2 /* tmp */
        start local 2 // byte[] tmp
         3: .line 29
            aload 1 /* bytes */
            iconst_1
            aload 2 /* tmp */
            iconst_0
            aload 2 /* tmp */
            arraylength
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         4: .line 31
            aload 2 /* tmp */
            areturn
        end local 2 // byte[] tmp
         5: .line 34
      StackMap locals: byte[]
      StackMap stack:
            aload 1 /* bytes */
            areturn
        end local 1 // byte[] bytes
        end local 0 // java.math.BigInteger value
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0  value  Ljava/math/BigInteger;
            1    6     1  bytes  [B
            3    5     2    tmp  [B
    MethodParameters:
       Name  Flags
      value  

  public static java.math.BigInteger createRandomInRange(java.math.BigInteger, java.math.BigInteger, java.security.SecureRandom);
    descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/security/SecureRandom;)Ljava/math/BigInteger;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=3
        start local 0 // java.math.BigInteger min
        start local 1 // java.math.BigInteger max
        start local 2 // java.security.SecureRandom random
         0: .line 50
            aload 0 /* min */
            aload 1 /* max */
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            istore 3 /* cmp */
        start local 3 // int cmp
         1: .line 51
            iload 3 /* cmp */
            iflt 5
         2: .line 53
            iload 3 /* cmp */
            ifle 4
         3: .line 55
            new java.lang.IllegalArgumentException
            dup
            ldc "'min' may not be greater than 'max'"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 58
      StackMap locals: int
      StackMap stack:
            aload 0 /* min */
            areturn
         5: .line 61
      StackMap locals:
      StackMap stack:
            aload 0 /* min */
            invokevirtual java.math.BigInteger.bitLength:()I
            aload 1 /* max */
            invokevirtual java.math.BigInteger.bitLength:()I
            iconst_2
            idiv
            if_icmple 7
         6: .line 63
            getstatic org.bouncycastle.util.BigIntegers.ZERO:Ljava/math/BigInteger;
            aload 1 /* max */
            aload 0 /* min */
            invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 2 /* random */
            invokestatic org.bouncycastle.util.BigIntegers.createRandomInRange:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/security/SecureRandom;)Ljava/math/BigInteger;
            aload 0 /* min */
            invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            areturn
         7: .line 66
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         8: goto 13
         9: .line 68
      StackMap locals: int
      StackMap stack:
            new java.math.BigInteger
            dup
            aload 1 /* max */
            invokevirtual java.math.BigInteger.bitLength:()I
            aload 2 /* random */
            invokespecial java.math.BigInteger.<init>:(ILjava/util/Random;)V
            astore 5 /* x */
        start local 5 // java.math.BigInteger x
        10: .line 69
            aload 5 /* x */
            aload 0 /* min */
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            iflt 12
            aload 5 /* x */
            aload 1 /* max */
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            ifgt 12
        11: .line 71
            aload 5 /* x */
            areturn
        end local 5 // java.math.BigInteger x
        12: .line 66
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        13: iload 4 /* i */
            sipush 1000
            if_icmplt 9
        end local 4 // int i
        14: .line 76
            new java.math.BigInteger
            dup
            aload 1 /* max */
            aload 0 /* min */
            invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.bitLength:()I
            iconst_1
            isub
            aload 2 /* random */
            invokespecial java.math.BigInteger.<init>:(ILjava/util/Random;)V
            aload 0 /* min */
            invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            areturn
        end local 3 // int cmp
        end local 2 // java.security.SecureRandom random
        end local 1 // java.math.BigInteger max
        end local 0 // java.math.BigInteger min
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   15     0     min  Ljava/math/BigInteger;
            0   15     1     max  Ljava/math/BigInteger;
            0   15     2  random  Ljava/security/SecureRandom;
            1   15     3     cmp  I
            8   14     4       i  I
           10   12     5       x  Ljava/math/BigInteger;
    MethodParameters:
        Name  Flags
      min     
      max     
      random  
}
SourceFile: "BigIntegers.java"