public class org.bouncycastle.crypto.generators.RSAKeyPairGenerator implements org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bouncycastle.crypto.generators.RSAKeyPairGenerator
  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 org.bouncycastle.crypto.params.RSAKeyGenerationParameters param;
    descriptor: Lorg/bouncycastle/crypto/params/RSAKeyGenerationParameters;
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 18
            lconst_1
            invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
            putstatic org.bouncycastle.crypto.generators.RSAKeyPairGenerator.ONE: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.crypto.generators.RSAKeyPairGenerator this
         0: .line 15
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.bouncycastle.crypto.generators.RSAKeyPairGenerator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bouncycastle/crypto/generators/RSAKeyPairGenerator;

  public void init(org.bouncycastle.crypto.KeyGenerationParameters);
    descriptor: (Lorg/bouncycastle/crypto/KeyGenerationParameters;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.bouncycastle.crypto.generators.RSAKeyPairGenerator this
        start local 1 // org.bouncycastle.crypto.KeyGenerationParameters param
         0: .line 25
            aload 0 /* this */
            aload 1 /* param */
            checkcast org.bouncycastle.crypto.params.RSAKeyGenerationParameters
            putfield org.bouncycastle.crypto.generators.RSAKeyPairGenerator.param:Lorg/bouncycastle/crypto/params/RSAKeyGenerationParameters;
         1: .line 26
            return
        end local 1 // org.bouncycastle.crypto.KeyGenerationParameters param
        end local 0 // org.bouncycastle.crypto.generators.RSAKeyPairGenerator this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lorg/bouncycastle/crypto/generators/RSAKeyPairGenerator;
            0    2     1  param  Lorg/bouncycastle/crypto/KeyGenerationParameters;
    MethodParameters:
       Name  Flags
      param  

  public org.bouncycastle.crypto.AsymmetricCipherKeyPair generateKeyPair();
    descriptor: ()Lorg/bouncycastle/crypto/AsymmetricCipherKeyPair;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=13, locals=16, args_size=1
        start local 0 // org.bouncycastle.crypto.generators.RSAKeyPairGenerator this
         0: .line 35
            aload 0 /* this */
            getfield org.bouncycastle.crypto.generators.RSAKeyPairGenerator.param:Lorg/bouncycastle/crypto/params/RSAKeyGenerationParameters;
            invokevirtual org.bouncycastle.crypto.params.RSAKeyGenerationParameters.getStrength:()I
            istore 9 /* strength */
        start local 9 // int strength
         1: .line 36
            iload 9 /* strength */
            iconst_1
            iadd
            iconst_2
            idiv
            istore 10 /* pbitlength */
        start local 10 // int pbitlength
         2: .line 37
            iload 9 /* strength */
            iload 10 /* pbitlength */
            isub
            istore 11 /* qbitlength */
        start local 11 // int qbitlength
         3: .line 38
            iload 9 /* strength */
            iconst_3
            idiv
            istore 12 /* mindiffbits */
        start local 12 // int mindiffbits
         4: .line 40
            aload 0 /* this */
            getfield org.bouncycastle.crypto.generators.RSAKeyPairGenerator.param:Lorg/bouncycastle/crypto/params/RSAKeyGenerationParameters;
            invokevirtual org.bouncycastle.crypto.params.RSAKeyGenerationParameters.getPublicExponent:()Ljava/math/BigInteger;
            astore 5 /* e */
        start local 5 // java.math.BigInteger e
         5: .line 50
      StackMap locals: org.bouncycastle.crypto.generators.RSAKeyPairGenerator top top top top java.math.BigInteger top top top int int int int
      StackMap stack:
            new java.math.BigInteger
            dup
            iload 10 /* pbitlength */
            iconst_1
            aload 0 /* this */
            getfield org.bouncycastle.crypto.generators.RSAKeyPairGenerator.param:Lorg/bouncycastle/crypto/params/RSAKeyGenerationParameters;
            invokevirtual org.bouncycastle.crypto.params.RSAKeyGenerationParameters.getRandom:()Ljava/security/SecureRandom;
            invokespecial java.math.BigInteger.<init>:(IILjava/util/Random;)V
            astore 1 /* p */
        start local 1 // java.math.BigInteger p
         6: .line 52
            aload 1 /* p */
            aload 5 /* e */
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            getstatic org.bouncycastle.crypto.generators.RSAKeyPairGenerator.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
            ifeq 8
         7: .line 54
            goto 5
         8: .line 57
      StackMap locals: org.bouncycastle.crypto.generators.RSAKeyPairGenerator java.math.BigInteger top top top java.math.BigInteger top top top int int int int
      StackMap stack:
            aload 1 /* p */
            aload 0 /* this */
            getfield org.bouncycastle.crypto.generators.RSAKeyPairGenerator.param:Lorg/bouncycastle/crypto/params/RSAKeyGenerationParameters;
            invokevirtual org.bouncycastle.crypto.params.RSAKeyGenerationParameters.getCertainty:()I
            invokevirtual java.math.BigInteger.isProbablePrime:(I)Z
            ifne 10
         9: .line 59
            goto 5
        10: .line 62
      StackMap locals:
      StackMap stack:
            aload 5 /* e */
            aload 1 /* p */
            getstatic org.bouncycastle.crypto.generators.RSAKeyPairGenerator.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.gcd:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            getstatic org.bouncycastle.crypto.generators.RSAKeyPairGenerator.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
            ifeq 5
        11: .line 78
      StackMap locals:
      StackMap stack:
            new java.math.BigInteger
            dup
            iload 11 /* qbitlength */
            iconst_1
            aload 0 /* this */
            getfield org.bouncycastle.crypto.generators.RSAKeyPairGenerator.param:Lorg/bouncycastle/crypto/params/RSAKeyGenerationParameters;
            invokevirtual org.bouncycastle.crypto.params.RSAKeyGenerationParameters.getRandom:()Ljava/security/SecureRandom;
            invokespecial java.math.BigInteger.<init>:(IILjava/util/Random;)V
            astore 2 /* q */
        start local 2 // java.math.BigInteger q
        12: .line 80
            aload 2 /* q */
            aload 1 /* p */
            invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.abs:()Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.bitLength:()I
            iload 12 /* mindiffbits */
            if_icmpge 14
        13: .line 82
            goto 11
        14: .line 85
      StackMap locals: org.bouncycastle.crypto.generators.RSAKeyPairGenerator java.math.BigInteger java.math.BigInteger top top java.math.BigInteger top top top int int int int
      StackMap stack:
            aload 2 /* q */
            aload 5 /* e */
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            getstatic org.bouncycastle.crypto.generators.RSAKeyPairGenerator.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
            ifeq 16
        15: .line 87
            goto 11
        16: .line 90
      StackMap locals:
      StackMap stack:
            aload 2 /* q */
            aload 0 /* this */
            getfield org.bouncycastle.crypto.generators.RSAKeyPairGenerator.param:Lorg/bouncycastle/crypto/params/RSAKeyGenerationParameters;
            invokevirtual org.bouncycastle.crypto.params.RSAKeyGenerationParameters.getCertainty:()I
            invokevirtual java.math.BigInteger.isProbablePrime:(I)Z
            ifne 18
        17: .line 92
            goto 11
        18: .line 95
      StackMap locals:
      StackMap stack:
            aload 5 /* e */
            aload 2 /* q */
            getstatic org.bouncycastle.crypto.generators.RSAKeyPairGenerator.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.gcd:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            getstatic org.bouncycastle.crypto.generators.RSAKeyPairGenerator.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
            ifeq 11
        19: .line 104
            aload 1 /* p */
            aload 2 /* q */
            invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 3 /* n */
        start local 3 // java.math.BigInteger n
        20: .line 106
            aload 3 /* n */
            invokevirtual java.math.BigInteger.bitLength:()I
            aload 0 /* this */
            getfield org.bouncycastle.crypto.generators.RSAKeyPairGenerator.param:Lorg/bouncycastle/crypto/params/RSAKeyGenerationParameters;
            invokevirtual org.bouncycastle.crypto.params.RSAKeyGenerationParameters.getStrength:()I
            if_icmpne 22
        21: .line 108
            goto 24
        22: .line 115
      StackMap locals: org.bouncycastle.crypto.generators.RSAKeyPairGenerator java.math.BigInteger java.math.BigInteger java.math.BigInteger top java.math.BigInteger top top top int int int int
      StackMap stack:
            aload 1 /* p */
            aload 2 /* q */
            invokevirtual java.math.BigInteger.max:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 1 /* p */
        end local 3 // java.math.BigInteger n
        end local 2 // java.math.BigInteger q
        23: .line 71
            goto 11
        start local 2 // java.math.BigInteger q
        start local 3 // java.math.BigInteger n
        24: .line 118
      StackMap locals:
      StackMap stack:
            aload 1 /* p */
            aload 2 /* q */
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            ifge 28
        25: .line 120
            aload 1 /* p */
            astore 8 /* phi */
        start local 8 // java.math.BigInteger phi
        26: .line 121
            aload 2 /* q */
            astore 1 /* p */
        27: .line 122
            aload 8 /* phi */
            astore 2 /* q */
        end local 8 // java.math.BigInteger phi
        28: .line 125
      StackMap locals:
      StackMap stack:
            aload 1 /* p */
            getstatic org.bouncycastle.crypto.generators.RSAKeyPairGenerator.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 6 /* pSub1 */
        start local 6 // java.math.BigInteger pSub1
        29: .line 126
            aload 2 /* q */
            getstatic org.bouncycastle.crypto.generators.RSAKeyPairGenerator.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 7 /* qSub1 */
        start local 7 // java.math.BigInteger qSub1
        30: .line 127
            aload 6 /* pSub1 */
            aload 7 /* qSub1 */
            invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 8 /* phi */
        start local 8 // java.math.BigInteger phi
        31: .line 132
            aload 5 /* e */
            aload 8 /* phi */
            invokevirtual java.math.BigInteger.modInverse:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 4 /* d */
        start local 4 // java.math.BigInteger d
        32: .line 139
            aload 4 /* d */
            aload 6 /* pSub1 */
            invokevirtual java.math.BigInteger.remainder:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 13 /* dP */
        start local 13 // java.math.BigInteger dP
        33: .line 140
            aload 4 /* d */
            aload 7 /* qSub1 */
            invokevirtual java.math.BigInteger.remainder:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 14 /* dQ */
        start local 14 // java.math.BigInteger dQ
        34: .line 141
            aload 2 /* q */
            aload 1 /* p */
            invokevirtual java.math.BigInteger.modInverse:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 15 /* qInv */
        start local 15 // java.math.BigInteger qInv
        35: .line 143
            new org.bouncycastle.crypto.AsymmetricCipherKeyPair
            dup
        36: .line 144
            new org.bouncycastle.crypto.params.RSAKeyParameters
            dup
            iconst_0
            aload 3 /* n */
            aload 5 /* e */
            invokespecial org.bouncycastle.crypto.params.RSAKeyParameters.<init>:(ZLjava/math/BigInteger;Ljava/math/BigInteger;)V
        37: .line 145
            new org.bouncycastle.crypto.params.RSAPrivateCrtKeyParameters
            dup
            aload 3 /* n */
            aload 5 /* e */
            aload 4 /* d */
            aload 1 /* p */
            aload 2 /* q */
            aload 13 /* dP */
            aload 14 /* dQ */
            aload 15 /* qInv */
            invokespecial org.bouncycastle.crypto.params.RSAPrivateCrtKeyParameters.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
        38: .line 143
            invokespecial org.bouncycastle.crypto.AsymmetricCipherKeyPair.<init>:(Lorg/bouncycastle/crypto/CipherParameters;Lorg/bouncycastle/crypto/CipherParameters;)V
            areturn
        end local 15 // java.math.BigInteger qInv
        end local 14 // java.math.BigInteger dQ
        end local 13 // java.math.BigInteger dP
        end local 12 // int mindiffbits
        end local 11 // int qbitlength
        end local 10 // int pbitlength
        end local 9 // int strength
        end local 8 // java.math.BigInteger phi
        end local 7 // java.math.BigInteger qSub1
        end local 6 // java.math.BigInteger pSub1
        end local 5 // java.math.BigInteger e
        end local 4 // java.math.BigInteger d
        end local 3 // java.math.BigInteger n
        end local 2 // java.math.BigInteger q
        end local 1 // java.math.BigInteger p
        end local 0 // org.bouncycastle.crypto.generators.RSAKeyPairGenerator this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   39     0         this  Lorg/bouncycastle/crypto/generators/RSAKeyPairGenerator;
            6   39     1            p  Ljava/math/BigInteger;
           12   23     2            q  Ljava/math/BigInteger;
           24   39     2            q  Ljava/math/BigInteger;
           20   23     3            n  Ljava/math/BigInteger;
           24   39     3            n  Ljava/math/BigInteger;
           32   39     4            d  Ljava/math/BigInteger;
            5   39     5            e  Ljava/math/BigInteger;
           29   39     6        pSub1  Ljava/math/BigInteger;
           30   39     7        qSub1  Ljava/math/BigInteger;
           26   28     8          phi  Ljava/math/BigInteger;
           31   39     8          phi  Ljava/math/BigInteger;
            1   39     9     strength  I
            2   39    10   pbitlength  I
            3   39    11   qbitlength  I
            4   39    12  mindiffbits  I
           33   39    13           dP  Ljava/math/BigInteger;
           34   39    14           dQ  Ljava/math/BigInteger;
           35   39    15         qInv  Ljava/math/BigInteger;
}
SourceFile: "RSAKeyPairGenerator.java"