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

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

  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.DSAKeyPairGenerator this
        start local 1 // org.bouncycastle.crypto.KeyGenerationParameters param
         0: .line 31
            aload 0 /* this */
            aload 1 /* param */
            checkcast org.bouncycastle.crypto.params.DSAKeyGenerationParameters
            putfield org.bouncycastle.crypto.generators.DSAKeyPairGenerator.param:Lorg/bouncycastle/crypto/params/DSAKeyGenerationParameters;
         1: .line 32
            return
        end local 1 // org.bouncycastle.crypto.KeyGenerationParameters param
        end local 0 // org.bouncycastle.crypto.generators.DSAKeyPairGenerator this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lorg/bouncycastle/crypto/generators/DSAKeyPairGenerator;
            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=7, locals=4, args_size=1
        start local 0 // org.bouncycastle.crypto.generators.DSAKeyPairGenerator this
         0: .line 36
            aload 0 /* this */
            getfield org.bouncycastle.crypto.generators.DSAKeyPairGenerator.param:Lorg/bouncycastle/crypto/params/DSAKeyGenerationParameters;
            invokevirtual org.bouncycastle.crypto.params.DSAKeyGenerationParameters.getParameters:()Lorg/bouncycastle/crypto/params/DSAParameters;
            astore 1 /* dsaParams */
        start local 1 // org.bouncycastle.crypto.params.DSAParameters dsaParams
         1: .line 38
            aload 1 /* dsaParams */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getQ:()Ljava/math/BigInteger;
            aload 0 /* this */
            getfield org.bouncycastle.crypto.generators.DSAKeyPairGenerator.param:Lorg/bouncycastle/crypto/params/DSAKeyGenerationParameters;
            invokevirtual org.bouncycastle.crypto.params.DSAKeyGenerationParameters.getRandom:()Ljava/security/SecureRandom;
            invokestatic org.bouncycastle.crypto.generators.DSAKeyPairGenerator.generatePrivateKey:(Ljava/math/BigInteger;Ljava/security/SecureRandom;)Ljava/math/BigInteger;
            astore 2 /* x */
        start local 2 // java.math.BigInteger x
         2: .line 39
            aload 1 /* dsaParams */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getP:()Ljava/math/BigInteger;
            aload 1 /* dsaParams */
            invokevirtual org.bouncycastle.crypto.params.DSAParameters.getG:()Ljava/math/BigInteger;
            aload 2 /* x */
            invokestatic org.bouncycastle.crypto.generators.DSAKeyPairGenerator.calculatePublicKey:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
            astore 3 /* y */
        start local 3 // java.math.BigInteger y
         3: .line 41
            new org.bouncycastle.crypto.AsymmetricCipherKeyPair
            dup
         4: .line 42
            new org.bouncycastle.crypto.params.DSAPublicKeyParameters
            dup
            aload 3 /* y */
            aload 1 /* dsaParams */
            invokespecial org.bouncycastle.crypto.params.DSAPublicKeyParameters.<init>:(Ljava/math/BigInteger;Lorg/bouncycastle/crypto/params/DSAParameters;)V
         5: .line 43
            new org.bouncycastle.crypto.params.DSAPrivateKeyParameters
            dup
            aload 2 /* x */
            aload 1 /* dsaParams */
            invokespecial org.bouncycastle.crypto.params.DSAPrivateKeyParameters.<init>:(Ljava/math/BigInteger;Lorg/bouncycastle/crypto/params/DSAParameters;)V
         6: .line 41
            invokespecial org.bouncycastle.crypto.AsymmetricCipherKeyPair.<init>:(Lorg/bouncycastle/crypto/CipherParameters;Lorg/bouncycastle/crypto/CipherParameters;)V
            areturn
        end local 3 // java.math.BigInteger y
        end local 2 // java.math.BigInteger x
        end local 1 // org.bouncycastle.crypto.params.DSAParameters dsaParams
        end local 0 // org.bouncycastle.crypto.generators.DSAKeyPairGenerator this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0       this  Lorg/bouncycastle/crypto/generators/DSAKeyPairGenerator;
            1    7     1  dsaParams  Lorg/bouncycastle/crypto/params/DSAParameters;
            2    7     2          x  Ljava/math/BigInteger;
            3    7     3          y  Ljava/math/BigInteger;

  private static java.math.BigInteger generatePrivateKey(java.math.BigInteger, java.security.SecureRandom);
    descriptor: (Ljava/math/BigInteger;Ljava/security/SecureRandom;)Ljava/math/BigInteger;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // java.math.BigInteger q
        start local 1 // java.security.SecureRandom random
         0: .line 54
            getstatic org.bouncycastle.crypto.generators.DSAKeyPairGenerator.ONE:Ljava/math/BigInteger;
            aload 0 /* q */
            getstatic org.bouncycastle.crypto.generators.DSAKeyPairGenerator.ONE:Ljava/math/BigInteger;
            invokevirtual java.math.BigInteger.subtract:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
            aload 1 /* random */
            invokestatic org.bouncycastle.util.BigIntegers.createRandomInRange:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/security/SecureRandom;)Ljava/math/BigInteger;
            areturn
        end local 1 // java.security.SecureRandom random
        end local 0 // java.math.BigInteger q
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0       q  Ljava/math/BigInteger;
            0    1     1  random  Ljava/security/SecureRandom;
    MethodParameters:
        Name  Flags
      q       
      random  

  private static java.math.BigInteger calculatePublicKey(java.math.BigInteger, java.math.BigInteger, java.math.BigInteger);
    descriptor: (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // java.math.BigInteger p
        start local 1 // java.math.BigInteger g
        start local 2 // java.math.BigInteger x
         0: .line 59
            aload 1 /* g */
            aload 2 /* x */
            aload 0 /* p */
            invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
            areturn
        end local 2 // java.math.BigInteger x
        end local 1 // java.math.BigInteger g
        end local 0 // java.math.BigInteger p
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     p  Ljava/math/BigInteger;
            0    1     1     g  Ljava/math/BigInteger;
            0    1     2     x  Ljava/math/BigInteger;
    MethodParameters:
      Name  Flags
      p     
      g     
      x     
}
SourceFile: "DSAKeyPairGenerator.java"