class org.bouncycastle.crypto.generators.DHParametersHelper
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.bouncycastle.crypto.generators.DHParametersHelper
  super_class: java.lang.Object
{
  private static final java.math.BigInteger ONE;
    descriptor: Ljava/math/BigInteger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.math.BigInteger TWO;
    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 10
            lconst_1
            invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
            putstatic org.bouncycastle.crypto.generators.DHParametersHelper.ONE:Ljava/math/BigInteger;
         1: .line 11
            ldc 2
            invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
            putstatic org.bouncycastle.crypto.generators.DHParametersHelper.TWO:Ljava/math/BigInteger;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bouncycastle.crypto.generators.DHParametersHelper this
         0: .line 8
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.bouncycastle.crypto.generators.DHParametersHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/crypto/generators/DHParametersHelper;

  static java.math.BigInteger[] generateSafePrimes(int, int, java.security.SecureRandom);
    descriptor: (IILjava/security/SecureRandom;)[Ljava/math/BigInteger;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // int size
        start local 1 // int certainty
        start local 2 // java.security.SecureRandom random
         0: .line 21
            iload 0 /* size */
            iconst_1
            isub
            istore 5 /* qLength */
        start local 5 // int qLength
         1: .line 25
      StackMap locals: int int java.security.SecureRandom top top int
      StackMap stack:
            new java.math.BigInteger
            dup
            iload 5 /* qLength */
            iconst_2
            aload 2 /* random */
            invokespecial java.math.BigInteger.<init>:(IILjava/util/Random;)V
            astore 4 /* q */
        start local 4 // java.math.BigInteger q
         2: .line 28
            aload 4 /* q */
            iconst_1
            invokevirtual java.math.BigInteger.shiftLeft:(I)Ljava/math/BigInteger;
            getstatic org.bouncycastle.crypto.generators.DHParametersHelper.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 3 /* p */
        start local 3 // java.math.BigInteger p
         3: .line 30
            aload 3 /* p */
            iload 1 /* certainty */
            invokevirtual java.math.BigInteger.isProbablePrime:(I)Z
            ifeq 1
            iload 1 /* certainty */
            iconst_2
            if_icmple 4
            aload 4 /* q */
            iload 1 /* certainty */
            invokevirtual java.math.BigInteger.isProbablePrime:(I)Z
            ifeq 1
         4: .line 32
      StackMap locals: int int java.security.SecureRandom java.math.BigInteger java.math.BigInteger int
      StackMap stack:
            iconst_2
            anewarray java.math.BigInteger
            dup
            iconst_0
         5: .line 36
            aload 3 /* p */
            aastore
            dup
            iconst_1
            aload 4 /* q */
            aastore
            areturn
        end local 5 // int qLength
        end local 4 // java.math.BigInteger q
        end local 3 // java.math.BigInteger p
        end local 2 // java.security.SecureRandom random
        end local 1 // int certainty
        end local 0 // int size
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0       size  I
            0    6     1  certainty  I
            0    6     2     random  Ljava/security/SecureRandom;
            3    6     3          p  Ljava/math/BigInteger;
            2    6     4          q  Ljava/math/BigInteger;
            1    6     5    qLength  I
    MethodParameters:
           Name  Flags
      size       
      certainty  
      random     

  static java.math.BigInteger selectGenerator(java.math.BigInteger, java.math.BigInteger, java.security.SecureRandom);
    descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/security/SecureRandom;)Ljava/math/BigInteger;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=6, args_size=3
        start local 0 // java.math.BigInteger p
        start local 1 // java.math.BigInteger q
        start local 2 // java.security.SecureRandom random
         0: .line 46
            aload 0 /* p */
            getstatic org.bouncycastle.crypto.generators.DHParametersHelper.TWO:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 3 /* pMinusTwo */
        start local 3 // java.math.BigInteger pMinusTwo
         1: .line 64
      StackMap locals: java.math.BigInteger
      StackMap stack:
            getstatic org.bouncycastle.crypto.generators.DHParametersHelper.TWO:Ljava/math/BigInteger;
            aload 3 /* pMinusTwo */
            aload 2 /* random */
            invokestatic org.bouncycastle.util.BigIntegers.createRandomInRange:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/security/SecureRandom;)Ljava/math/BigInteger;
            astore 5 /* h */
        start local 5 // java.math.BigInteger h
         2: .line 66
            aload 5 /* h */
            getstatic org.bouncycastle.crypto.generators.DHParametersHelper.TWO:Ljava/math/BigInteger;
            aload 0 /* p */
            invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 4 /* g */
        end local 5 // java.math.BigInteger h
        start local 4 // java.math.BigInteger g
         3: .line 68
            aload 4 /* g */
            getstatic org.bouncycastle.crypto.generators.DHParametersHelper.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
            ifne 1
         4: .line 71
            aload 4 /* g */
            areturn
        end local 4 // java.math.BigInteger g
        end local 3 // java.math.BigInteger pMinusTwo
        end local 2 // java.security.SecureRandom random
        end local 1 // java.math.BigInteger q
        end local 0 // java.math.BigInteger p
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0          p  Ljava/math/BigInteger;
            0    5     1          q  Ljava/math/BigInteger;
            0    5     2     random  Ljava/security/SecureRandom;
            1    5     3  pMinusTwo  Ljava/math/BigInteger;
            3    5     4          g  Ljava/math/BigInteger;
            2    3     5          h  Ljava/math/BigInteger;
    MethodParameters:
        Name  Flags
      p       
      q       
      random  
}
SourceFile: "DHParametersHelper.java"