public final class sun.security.rsa.RSAKeyPairGenerator extends java.security.KeyPairGeneratorSpi
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: sun.security.rsa.RSAKeyPairGenerator
  super_class: java.security.KeyPairGeneratorSpi
{
  private java.math.BigInteger publicExponent;
    descriptor: Ljava/math/BigInteger;
    flags: (0x0002) ACC_PRIVATE

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

  private java.security.SecureRandom random;
    descriptor: Ljava/security/SecureRandom;
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.security.rsa.RSAKeyPairGenerator this
         0: .line 57
            aload 0 /* this */
            invokespecial java.security.KeyPairGeneratorSpi.<init>:()V
         1: .line 59
            aload 0 /* this */
            getstatic sun.security.util.SecurityProviderConstants.DEF_RSA_KEY_SIZE:I
            aconst_null
            invokevirtual sun.security.rsa.RSAKeyPairGenerator.initialize:(ILjava/security/SecureRandom;)V
         2: .line 60
            return
        end local 0 // sun.security.rsa.RSAKeyPairGenerator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/security/rsa/RSAKeyPairGenerator;

  public void initialize(int, java.security.SecureRandom);
    descriptor: (ILjava/security/SecureRandom;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // sun.security.rsa.RSAKeyPairGenerator this
        start local 1 // int keySize
        start local 2 // java.security.SecureRandom random
         0: .line 68
            iload 1 /* keySize */
            getstatic java.security.spec.RSAKeyGenParameterSpec.F4:Ljava/math/BigInteger;
         1: .line 69
            sipush 512
            ldc 65536
         2: .line 68
            invokestatic sun.security.rsa.RSAKeyFactory.checkKeyLengths:(ILjava/math/BigInteger;II)V
         3: .line 70
            goto 6
      StackMap locals:
      StackMap stack: java.security.InvalidKeyException
         4: astore 3 /* e */
        start local 3 // java.security.InvalidKeyException e
         5: .line 71
            new java.security.InvalidParameterException
            dup
            aload 3 /* e */
            invokevirtual java.security.InvalidKeyException.getMessage:()Ljava/lang/String;
            invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.security.InvalidKeyException e
         6: .line 74
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 1 /* keySize */
            putfield sun.security.rsa.RSAKeyPairGenerator.keySize:I
         7: .line 75
            aload 0 /* this */
            aload 2 /* random */
            putfield sun.security.rsa.RSAKeyPairGenerator.random:Ljava/security/SecureRandom;
         8: .line 76
            aload 0 /* this */
            getstatic java.security.spec.RSAKeyGenParameterSpec.F4:Ljava/math/BigInteger;
            putfield sun.security.rsa.RSAKeyPairGenerator.publicExponent:Ljava/math/BigInteger;
         9: .line 77
            return
        end local 2 // java.security.SecureRandom random
        end local 1 // int keySize
        end local 0 // sun.security.rsa.RSAKeyPairGenerator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Lsun/security/rsa/RSAKeyPairGenerator;
            0   10     1  keySize  I
            0   10     2   random  Ljava/security/SecureRandom;
            5    6     3        e  Ljava/security/InvalidKeyException;
      Exception table:
        from    to  target  type
           0     3       4  Class java.security.InvalidKeyException
    MethodParameters:
         Name  Flags
      keySize  
      random   

  public void initialize(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
    descriptor: (Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=7, args_size=3
        start local 0 // sun.security.rsa.RSAKeyPairGenerator this
        start local 1 // java.security.spec.AlgorithmParameterSpec params
        start local 2 // java.security.SecureRandom random
         0: .line 83
            aload 1 /* params */
            instanceof java.security.spec.RSAKeyGenParameterSpec
            ifne 4
         1: .line 84
            new java.security.InvalidAlgorithmParameterException
            dup
         2: .line 85
            ldc "Params must be instance of RSAKeyGenParameterSpec"
         3: .line 84
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 88
      StackMap locals:
      StackMap stack:
            aload 1 /* params */
            checkcast java.security.spec.RSAKeyGenParameterSpec
            astore 3 /* rsaSpec */
        start local 3 // java.security.spec.RSAKeyGenParameterSpec rsaSpec
         5: .line 89
            aload 3 /* rsaSpec */
            invokevirtual java.security.spec.RSAKeyGenParameterSpec.getKeysize:()I
            istore 4 /* tmpKeySize */
        start local 4 // int tmpKeySize
         6: .line 90
            aload 3 /* rsaSpec */
            invokevirtual java.security.spec.RSAKeyGenParameterSpec.getPublicExponent:()Ljava/math/BigInteger;
            astore 5 /* tmpPublicExponent */
        start local 5 // java.math.BigInteger tmpPublicExponent
         7: .line 92
            aload 5 /* tmpPublicExponent */
            ifnonnull 10
         8: .line 93
            getstatic java.security.spec.RSAKeyGenParameterSpec.F4:Ljava/math/BigInteger;
            astore 5 /* tmpPublicExponent */
         9: .line 94
            goto 18
        10: .line 95
      StackMap locals: java.security.spec.RSAKeyGenParameterSpec int java.math.BigInteger
      StackMap stack:
            aload 5 /* tmpPublicExponent */
            getstatic java.security.spec.RSAKeyGenParameterSpec.F0:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            ifge 14
        11: .line 96
            new java.security.InvalidAlgorithmParameterException
            dup
        12: .line 97
            ldc "Public exponent must be 3 or larger"
        13: .line 96
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
        14: .line 99
      StackMap locals:
      StackMap stack:
            aload 5 /* tmpPublicExponent */
            invokevirtual java.math.BigInteger.bitLength:()I
            iload 4 /* tmpKeySize */
            if_icmple 18
        15: .line 100
            new java.security.InvalidAlgorithmParameterException
            dup
        16: .line 101
            ldc "Public exponent must be smaller than key size"
        17: .line 100
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
        18: .line 107
      StackMap locals:
      StackMap stack:
            iload 4 /* tmpKeySize */
            aload 5 /* tmpPublicExponent */
        19: .line 108
            sipush 512
            ldc 65536
        20: .line 107
            invokestatic sun.security.rsa.RSAKeyFactory.checkKeyLengths:(ILjava/math/BigInteger;II)V
        21: .line 109
            goto 26
      StackMap locals:
      StackMap stack: java.security.InvalidKeyException
        22: astore 6 /* e */
        start local 6 // java.security.InvalidKeyException e
        23: .line 110
            new java.security.InvalidAlgorithmParameterException
            dup
        24: .line 111
            ldc "Invalid key sizes"
            aload 6 /* e */
        25: .line 110
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 6 // java.security.InvalidKeyException e
        26: .line 114
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 4 /* tmpKeySize */
            putfield sun.security.rsa.RSAKeyPairGenerator.keySize:I
        27: .line 115
            aload 0 /* this */
            aload 5 /* tmpPublicExponent */
            putfield sun.security.rsa.RSAKeyPairGenerator.publicExponent:Ljava/math/BigInteger;
        28: .line 116
            aload 0 /* this */
            aload 2 /* random */
            putfield sun.security.rsa.RSAKeyPairGenerator.random:Ljava/security/SecureRandom;
        29: .line 117
            return
        end local 5 // java.math.BigInteger tmpPublicExponent
        end local 4 // int tmpKeySize
        end local 3 // java.security.spec.RSAKeyGenParameterSpec rsaSpec
        end local 2 // java.security.SecureRandom random
        end local 1 // java.security.spec.AlgorithmParameterSpec params
        end local 0 // sun.security.rsa.RSAKeyPairGenerator this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   30     0               this  Lsun/security/rsa/RSAKeyPairGenerator;
            0   30     1             params  Ljava/security/spec/AlgorithmParameterSpec;
            0   30     2             random  Ljava/security/SecureRandom;
            5   30     3            rsaSpec  Ljava/security/spec/RSAKeyGenParameterSpec;
            6   30     4         tmpKeySize  I
            7   30     5  tmpPublicExponent  Ljava/math/BigInteger;
           23   26     6                  e  Ljava/security/InvalidKeyException;
      Exception table:
        from    to  target  type
          18    21      22  Class java.security.InvalidKeyException
    Exceptions:
      throws java.security.InvalidAlgorithmParameterException
    MethodParameters:
        Name  Flags
      params  
      random  

  public java.security.KeyPair generateKeyPair();
    descriptor: ()Ljava/security/KeyPair;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=10, locals=16, args_size=1
        start local 0 // sun.security.rsa.RSAKeyPairGenerator this
         0: .line 122
            aload 0 /* this */
            getfield sun.security.rsa.RSAKeyPairGenerator.keySize:I
            iconst_1
            iadd
            iconst_1
            ishr
            istore 1 /* lp */
        start local 1 // int lp
         1: .line 123
            aload 0 /* this */
            getfield sun.security.rsa.RSAKeyPairGenerator.keySize:I
            iload 1 /* lp */
            isub
            istore 2 /* lq */
        start local 2 // int lq
         2: .line 124
            aload 0 /* this */
            getfield sun.security.rsa.RSAKeyPairGenerator.random:Ljava/security/SecureRandom;
            ifnonnull 4
         3: .line 125
            aload 0 /* this */
            invokestatic sun.security.jca.JCAUtil.getSecureRandom:()Ljava/security/SecureRandom;
            putfield sun.security.rsa.RSAKeyPairGenerator.random:Ljava/security/SecureRandom;
         4: .line 127
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            getfield sun.security.rsa.RSAKeyPairGenerator.publicExponent:Ljava/math/BigInteger;
            astore 3 /* e */
        start local 3 // java.math.BigInteger e
         5: .line 130
      StackMap locals: java.math.BigInteger
      StackMap stack:
            iload 1 /* lp */
            aload 0 /* this */
            getfield sun.security.rsa.RSAKeyPairGenerator.random:Ljava/security/SecureRandom;
            invokestatic java.math.BigInteger.probablePrime:(ILjava/util/Random;)Ljava/math/BigInteger;
            astore 4 /* p */
        start local 4 // java.math.BigInteger p
         6: .line 133
      StackMap locals: java.math.BigInteger
      StackMap stack:
            iload 2 /* lq */
            aload 0 /* this */
            getfield sun.security.rsa.RSAKeyPairGenerator.random:Ljava/security/SecureRandom;
            invokestatic java.math.BigInteger.probablePrime:(ILjava/util/Random;)Ljava/math/BigInteger;
            astore 5 /* q */
        start local 5 // java.math.BigInteger q
         7: .line 135
            aload 4 /* p */
            aload 5 /* q */
            invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
            ifge 11
         8: .line 136
            aload 4 /* p */
            astore 7 /* tmp */
        start local 7 // java.math.BigInteger tmp
         9: .line 137
            aload 5 /* q */
            astore 4 /* p */
        10: .line 138
            aload 7 /* tmp */
            astore 5 /* q */
        end local 7 // java.math.BigInteger tmp
        11: .line 141
      StackMap locals: java.math.BigInteger
      StackMap stack:
            aload 4 /* p */
            aload 5 /* q */
            invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 6 /* n */
        start local 6 // java.math.BigInteger n
        12: .line 144
            aload 6 /* n */
            invokevirtual java.math.BigInteger.bitLength:()I
            aload 0 /* this */
            getfield sun.security.rsa.RSAKeyPairGenerator.keySize:I
        13: .line 132
            if_icmplt 6
        14: .line 148
            aload 4 /* p */
            getstatic java.math.BigInteger.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 7 /* p1 */
        start local 7 // java.math.BigInteger p1
        15: .line 149
            aload 5 /* q */
            getstatic java.math.BigInteger.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 8 /* q1 */
        start local 8 // java.math.BigInteger q1
        16: .line 150
            aload 7 /* p1 */
            aload 8 /* q1 */
            invokevirtual java.math.BigInteger.multiply:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 9 /* phi */
        start local 9 // java.math.BigInteger phi
        17: .line 153
            aload 3 /* e */
            aload 9 /* phi */
            invokevirtual java.math.BigInteger.gcd:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            getstatic java.math.BigInteger.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
            ifne 19
        18: .line 154
            goto 5
        19: .line 158
      StackMap locals: sun.security.rsa.RSAKeyPairGenerator int int java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger
      StackMap stack:
            aload 3 /* e */
            aload 9 /* phi */
            invokevirtual java.math.BigInteger.modInverse:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 10 /* d */
        start local 10 // java.math.BigInteger d
        20: .line 161
            aload 10 /* d */
            aload 7 /* p1 */
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 11 /* pe */
        start local 11 // java.math.BigInteger pe
        21: .line 163
            aload 10 /* d */
            aload 8 /* q1 */
            invokevirtual java.math.BigInteger.mod:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 12 /* qe */
        start local 12 // java.math.BigInteger qe
        22: .line 166
            aload 5 /* q */
            aload 4 /* p */
            invokevirtual java.math.BigInteger.modInverse:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 13 /* coeff */
        start local 13 // java.math.BigInteger coeff
        23: .line 169
            new sun.security.rsa.RSAPublicKeyImpl
            dup
            aload 6 /* n */
            aload 3 /* e */
            invokespecial sun.security.rsa.RSAPublicKeyImpl.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
            astore 14 /* publicKey */
        start local 14 // java.security.PublicKey publicKey
        24: .line 171
            new sun.security.rsa.RSAPrivateCrtKeyImpl
            dup
            aload 6 /* n */
            aload 3 /* e */
            aload 10 /* d */
            aload 4 /* p */
            aload 5 /* q */
            aload 11 /* pe */
            aload 12 /* qe */
            aload 13 /* coeff */
            invokespecial sun.security.rsa.RSAPrivateCrtKeyImpl.<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
        25: .line 170
            astore 15 /* privateKey */
        start local 15 // java.security.PrivateKey privateKey
        26: .line 172
            new java.security.KeyPair
            dup
            aload 14 /* publicKey */
            aload 15 /* privateKey */
            invokespecial java.security.KeyPair.<init>:(Ljava/security/PublicKey;Ljava/security/PrivateKey;)V
        27: areturn
        end local 15 // java.security.PrivateKey privateKey
        end local 14 // java.security.PublicKey publicKey
        28: .line 173
      StackMap locals: sun.security.rsa.RSAKeyPairGenerator int int java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger java.math.BigInteger
      StackMap stack: java.security.InvalidKeyException
            astore 14 /* exc */
        start local 14 // java.security.InvalidKeyException exc
        29: .line 176
            new java.lang.RuntimeException
            dup
            aload 14 /* exc */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 14 // java.security.InvalidKeyException exc
        end local 13 // java.math.BigInteger coeff
        end local 12 // java.math.BigInteger qe
        end local 11 // java.math.BigInteger pe
        end local 10 // java.math.BigInteger d
        end local 9 // java.math.BigInteger phi
        end local 8 // java.math.BigInteger q1
        end local 7 // java.math.BigInteger p1
        end local 6 // java.math.BigInteger n
        end local 5 // java.math.BigInteger q
        end local 4 // java.math.BigInteger p
        end local 3 // java.math.BigInteger e
        end local 2 // int lq
        end local 1 // int lp
        end local 0 // sun.security.rsa.RSAKeyPairGenerator this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   30     0        this  Lsun/security/rsa/RSAKeyPairGenerator;
            1   30     1          lp  I
            2   30     2          lq  I
            5   30     3           e  Ljava/math/BigInteger;
            6   30     4           p  Ljava/math/BigInteger;
            7   30     5           q  Ljava/math/BigInteger;
           12   30     6           n  Ljava/math/BigInteger;
            9   11     7         tmp  Ljava/math/BigInteger;
           15   30     7          p1  Ljava/math/BigInteger;
           16   30     8          q1  Ljava/math/BigInteger;
           17   30     9         phi  Ljava/math/BigInteger;
           20   30    10           d  Ljava/math/BigInteger;
           21   30    11          pe  Ljava/math/BigInteger;
           22   30    12          qe  Ljava/math/BigInteger;
           23   30    13       coeff  Ljava/math/BigInteger;
           24   28    14   publicKey  Ljava/security/PublicKey;
           26   28    15  privateKey  Ljava/security/PrivateKey;
           29   30    14         exc  Ljava/security/InvalidKeyException;
      Exception table:
        from    to  target  type
          23    27      28  Class java.security.InvalidKeyException
}
SourceFile: "RSAKeyPairGenerator.java"