public final class com.sun.crypto.provider.DHParameterGenerator extends java.security.AlgorithmParameterGeneratorSpi
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.sun.crypto.provider.DHParameterGenerator
  super_class: java.security.AlgorithmParameterGeneratorSpi
{
  private int primeSize;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int exponentSize;
    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=2, locals=1, args_size=1
        start local 0 // com.sun.crypto.provider.DHParameterGenerator this
         0: .line 51
            aload 0 /* this */
            invokespecial java.security.AlgorithmParameterGeneratorSpi.<init>:()V
         1: .line 54
            aload 0 /* this */
            getstatic sun.security.util.SecurityProviderConstants.DEF_DH_KEY_SIZE:I
            putfield com.sun.crypto.provider.DHParameterGenerator.primeSize:I
         2: .line 57
            aload 0 /* this */
            iconst_0
            putfield com.sun.crypto.provider.DHParameterGenerator.exponentSize:I
         3: .line 60
            aload 0 /* this */
            aconst_null
            putfield com.sun.crypto.provider.DHParameterGenerator.random:Ljava/security/SecureRandom;
         4: .line 51
            return
        end local 0 // com.sun.crypto.provider.DHParameterGenerator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/sun/crypto/provider/DHParameterGenerator;

  private static void checkKeySize(int);
    descriptor: (I)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // int keysize
         0: .line 65
            iload 0 /* keysize */
            sipush 2048
            if_icmpeq 3
            iload 0 /* keysize */
            sipush 3072
            if_icmpeq 3
         1: .line 66
            iload 0 /* keysize */
            sipush 512
            if_icmplt 2
            iload 0 /* keysize */
            sipush 1024
            if_icmpgt 2
            iload 0 /* keysize */
            bipush 63
            iand
            ifeq 3
         2: .line 65
      StackMap locals:
      StackMap stack:
            iconst_0
            goto 4
      StackMap locals:
      StackMap stack:
         3: iconst_1
      StackMap locals:
      StackMap stack: int
         4: istore 1 /* supported */
        start local 1 // boolean supported
         5: .line 68
            iload 1 /* supported */
            ifne 11
         6: .line 69
            new java.security.InvalidParameterException
            dup
         7: .line 70
            new java.lang.StringBuilder
            dup
            ldc "DH key size must be multiple of 64 and range from 512 to 1024 (inclusive), or 2048, 3072. The specific key size "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         8: .line 72
            iload 0 /* keysize */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " is not supported"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         9: .line 70
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        10: .line 69
            invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 74
      StackMap locals: int
      StackMap stack:
            return
        end local 1 // boolean supported
        end local 0 // int keysize
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   12     0    keysize  I
            5   12     1  supported  Z
    Exceptions:
      throws java.security.InvalidParameterException
    MethodParameters:
         Name  Flags
      keysize  

  protected void engineInit(int, java.security.SecureRandom);
    descriptor: (ILjava/security/SecureRandom;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // com.sun.crypto.provider.DHParameterGenerator this
        start local 1 // int keysize
        start local 2 // java.security.SecureRandom random
         0: .line 86
            iload 1 /* keysize */
            invokestatic com.sun.crypto.provider.DHParameterGenerator.checkKeySize:(I)V
         1: .line 87
            aload 0 /* this */
            iload 1 /* keysize */
            putfield com.sun.crypto.provider.DHParameterGenerator.primeSize:I
         2: .line 88
            aload 0 /* this */
            aload 2 /* random */
            putfield com.sun.crypto.provider.DHParameterGenerator.random:Ljava/security/SecureRandom;
         3: .line 89
            return
        end local 2 // java.security.SecureRandom random
        end local 1 // int keysize
        end local 0 // com.sun.crypto.provider.DHParameterGenerator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lcom/sun/crypto/provider/DHParameterGenerator;
            0    4     1  keysize  I
            0    4     2   random  Ljava/security/SecureRandom;
    MethodParameters:
         Name  Flags
      keysize  
      random   

  protected void engineInit(java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
    descriptor: (Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // com.sun.crypto.provider.DHParameterGenerator this
        start local 1 // java.security.spec.AlgorithmParameterSpec genParamSpec
        start local 2 // java.security.SecureRandom random
         0: .line 106
            aload 1 /* genParamSpec */
            instanceof javax.crypto.spec.DHGenParameterSpec
            ifne 4
         1: .line 107
            new java.security.InvalidAlgorithmParameterException
            dup
         2: .line 108
            ldc "Inappropriate parameter type"
         3: .line 107
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 111
      StackMap locals:
      StackMap stack:
            aload 1 /* genParamSpec */
            checkcast javax.crypto.spec.DHGenParameterSpec
            astore 3 /* dhParamSpec */
        start local 3 // javax.crypto.spec.DHGenParameterSpec dhParamSpec
         5: .line 112
            aload 0 /* this */
            aload 3 /* dhParamSpec */
            invokevirtual javax.crypto.spec.DHGenParameterSpec.getPrimeSize:()I
            putfield com.sun.crypto.provider.DHParameterGenerator.primeSize:I
         6: .line 113
            aload 0 /* this */
            aload 3 /* dhParamSpec */
            invokevirtual javax.crypto.spec.DHGenParameterSpec.getExponentSize:()I
            putfield com.sun.crypto.provider.DHParameterGenerator.exponentSize:I
         7: .line 114
            aload 0 /* this */
            getfield com.sun.crypto.provider.DHParameterGenerator.exponentSize:I
            ifle 8
            aload 0 /* this */
            getfield com.sun.crypto.provider.DHParameterGenerator.exponentSize:I
            aload 0 /* this */
            getfield com.sun.crypto.provider.DHParameterGenerator.primeSize:I
            if_icmplt 14
         8: .line 115
      StackMap locals: javax.crypto.spec.DHGenParameterSpec
      StackMap stack:
            new java.security.InvalidAlgorithmParameterException
            dup
         9: .line 116
            new java.lang.StringBuilder
            dup
            ldc "Exponent size ("
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield com.sun.crypto.provider.DHParameterGenerator.exponentSize:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
        10: .line 117
            ldc ") must be positive and less than modulus size ("
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        11: .line 118
            aload 0 /* this */
            getfield com.sun.crypto.provider.DHParameterGenerator.primeSize:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        12: .line 116
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        13: .line 115
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
        14: .line 121
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.crypto.provider.DHParameterGenerator.primeSize:I
            invokestatic com.sun.crypto.provider.DHParameterGenerator.checkKeySize:(I)V
        15: .line 122
            goto 18
      StackMap locals:
      StackMap stack: java.security.InvalidParameterException
        16: astore 4 /* ipe */
        start local 4 // java.security.InvalidParameterException ipe
        17: .line 123
            new java.security.InvalidAlgorithmParameterException
            dup
            aload 4 /* ipe */
            invokevirtual java.security.InvalidParameterException.getMessage:()Ljava/lang/String;
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
        end local 4 // java.security.InvalidParameterException ipe
        18: .line 126
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* random */
            putfield com.sun.crypto.provider.DHParameterGenerator.random:Ljava/security/SecureRandom;
        19: .line 127
            return
        end local 3 // javax.crypto.spec.DHGenParameterSpec dhParamSpec
        end local 2 // java.security.SecureRandom random
        end local 1 // java.security.spec.AlgorithmParameterSpec genParamSpec
        end local 0 // com.sun.crypto.provider.DHParameterGenerator this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   20     0          this  Lcom/sun/crypto/provider/DHParameterGenerator;
            0   20     1  genParamSpec  Ljava/security/spec/AlgorithmParameterSpec;
            0   20     2        random  Ljava/security/SecureRandom;
            5   20     3   dhParamSpec  Ljavax/crypto/spec/DHGenParameterSpec;
           17   18     4           ipe  Ljava/security/InvalidParameterException;
      Exception table:
        from    to  target  type
          14    15      16  Class java.security.InvalidParameterException
    Exceptions:
      throws java.security.InvalidAlgorithmParameterException
    MethodParameters:
              Name  Flags
      genParamSpec  
      random        

  protected java.security.AlgorithmParameters engineGenerateParameters();
    descriptor: ()Ljava/security/AlgorithmParameters;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=5, locals=6, args_size=1
        start local 0 // com.sun.crypto.provider.DHParameterGenerator this
         0: .line 137
            aload 0 /* this */
            getfield com.sun.crypto.provider.DHParameterGenerator.random:Ljava/security/SecureRandom;
            ifnonnull 2
         1: .line 138
            aload 0 /* this */
            invokestatic com.sun.crypto.provider.SunJCE.getRandom:()Ljava/security/SecureRandom;
            putfield com.sun.crypto.provider.DHParameterGenerator.random:Ljava/security/SecureRandom;
         2: .line 145
      StackMap locals:
      StackMap stack:
            ldc "DSA"
            invokestatic java.security.AlgorithmParameterGenerator.getInstance:(Ljava/lang/String;)Ljava/security/AlgorithmParameterGenerator;
         3: .line 144
            astore 1 /* dsaParamGen */
        start local 1 // java.security.AlgorithmParameterGenerator dsaParamGen
         4: .line 146
            aload 1 /* dsaParamGen */
            aload 0 /* this */
            getfield com.sun.crypto.provider.DHParameterGenerator.primeSize:I
            aload 0 /* this */
            getfield com.sun.crypto.provider.DHParameterGenerator.random:Ljava/security/SecureRandom;
            invokevirtual java.security.AlgorithmParameterGenerator.init:(ILjava/security/SecureRandom;)V
         5: .line 147
            aload 1 /* dsaParamGen */
            invokevirtual java.security.AlgorithmParameterGenerator.generateParameters:()Ljava/security/AlgorithmParameters;
            astore 2 /* dsaParams */
        start local 2 // java.security.AlgorithmParameters dsaParams
         6: .line 149
            aload 2 /* dsaParams */
            ldc Ljava/security/spec/DSAParameterSpec;
            invokevirtual java.security.AlgorithmParameters.getParameterSpec:(Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec;
            checkcast java.security.spec.DSAParameterSpec
         7: .line 148
            astore 3 /* dsaParamSpec */
        start local 3 // java.security.spec.DSAParameterSpec dsaParamSpec
         8: .line 152
            aload 0 /* this */
            getfield com.sun.crypto.provider.DHParameterGenerator.exponentSize:I
            ifle 14
         9: .line 153
            new javax.crypto.spec.DHParameterSpec
            dup
            aload 3 /* dsaParamSpec */
            invokevirtual java.security.spec.DSAParameterSpec.getP:()Ljava/math/BigInteger;
        10: .line 154
            aload 3 /* dsaParamSpec */
            invokevirtual java.security.spec.DSAParameterSpec.getG:()Ljava/math/BigInteger;
        11: .line 155
            aload 0 /* this */
            getfield com.sun.crypto.provider.DHParameterGenerator.exponentSize:I
        12: .line 153
            invokespecial javax.crypto.spec.DHParameterSpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;I)V
            astore 4 /* dhParamSpec */
        start local 4 // javax.crypto.spec.DHParameterSpec dhParamSpec
        13: .line 156
            goto 17
        end local 4 // javax.crypto.spec.DHParameterSpec dhParamSpec
        14: .line 157
      StackMap locals: java.security.AlgorithmParameterGenerator java.security.AlgorithmParameters java.security.spec.DSAParameterSpec
      StackMap stack:
            new javax.crypto.spec.DHParameterSpec
            dup
            aload 3 /* dsaParamSpec */
            invokevirtual java.security.spec.DSAParameterSpec.getP:()Ljava/math/BigInteger;
        15: .line 158
            aload 3 /* dsaParamSpec */
            invokevirtual java.security.spec.DSAParameterSpec.getG:()Ljava/math/BigInteger;
        16: .line 157
            invokespecial javax.crypto.spec.DHParameterSpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
            astore 4 /* dhParamSpec */
        start local 4 // javax.crypto.spec.DHParameterSpec dhParamSpec
        17: .line 161
      StackMap locals: javax.crypto.spec.DHParameterSpec
      StackMap stack:
            ldc "DH"
            invokestatic com.sun.crypto.provider.SunJCE.getInstance:()Lcom/sun/crypto/provider/SunJCE;
            invokestatic java.security.AlgorithmParameters.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/AlgorithmParameters;
        18: .line 160
            astore 5 /* algParams */
        start local 5 // java.security.AlgorithmParameters algParams
        19: .line 162
            aload 5 /* algParams */
            aload 4 /* dhParamSpec */
            invokevirtual java.security.AlgorithmParameters.init:(Ljava/security/spec/AlgorithmParameterSpec;)V
        20: .line 164
            aload 5 /* algParams */
        21: areturn
        end local 5 // java.security.AlgorithmParameters algParams
        end local 4 // javax.crypto.spec.DHParameterSpec dhParamSpec
        end local 3 // java.security.spec.DSAParameterSpec dsaParamSpec
        end local 2 // java.security.AlgorithmParameters dsaParams
        end local 1 // java.security.AlgorithmParameterGenerator dsaParamGen
        22: .line 165
      StackMap locals: com.sun.crypto.provider.DHParameterGenerator
      StackMap stack: java.lang.Exception
            astore 1 /* ex */
        start local 1 // java.lang.Exception ex
        23: .line 166
            new java.security.ProviderException
            dup
            ldc "Unexpected exception"
            aload 1 /* ex */
            invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.lang.Exception ex
        end local 0 // com.sun.crypto.provider.DHParameterGenerator this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   24     0          this  Lcom/sun/crypto/provider/DHParameterGenerator;
            4   22     1   dsaParamGen  Ljava/security/AlgorithmParameterGenerator;
            6   22     2     dsaParams  Ljava/security/AlgorithmParameters;
            8   22     3  dsaParamSpec  Ljava/security/spec/DSAParameterSpec;
           13   14     4   dhParamSpec  Ljavax/crypto/spec/DHParameterSpec;
           17   22     4   dhParamSpec  Ljavax/crypto/spec/DHParameterSpec;
           19   22     5     algParams  Ljava/security/AlgorithmParameters;
           23   24     1            ex  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           2    21      22  Class java.lang.Exception
}
SourceFile: "DHParameterGenerator.java"