public class org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal extends org.bouncycastle.jce.provider.JDKKeyPairGenerator
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal
  super_class: org.bouncycastle.jce.provider.JDKKeyPairGenerator
{
  org.bouncycastle.crypto.params.ElGamalKeyGenerationParameters param;
    descriptor: Lorg/bouncycastle/crypto/params/ElGamalKeyGenerationParameters;
    flags: (0x0000) 

  org.bouncycastle.crypto.generators.ElGamalKeyPairGenerator engine;
    descriptor: Lorg/bouncycastle/crypto/generators/ElGamalKeyPairGenerator;
    flags: (0x0000) 

  int strength;
    descriptor: I
    flags: (0x0000) 

  int certainty;
    descriptor: I
    flags: (0x0000) 

  java.security.SecureRandom random;
    descriptor: Ljava/security/SecureRandom;
    flags: (0x0000) 

  boolean initialised;
    descriptor: Z
    flags: (0x0000) 

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal this
         0: .line 275
            aload 0 /* this */
            ldc "ElGamal"
            invokespecial org.bouncycastle.jce.provider.JDKKeyPairGenerator.<init>:(Ljava/lang/String;)V
         1: .line 267
            aload 0 /* this */
            new org.bouncycastle.crypto.generators.ElGamalKeyPairGenerator
            dup
            invokespecial org.bouncycastle.crypto.generators.ElGamalKeyPairGenerator.<init>:()V
            putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.engine:Lorg/bouncycastle/crypto/generators/ElGamalKeyPairGenerator;
         2: .line 268
            aload 0 /* this */
            sipush 1024
            putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.strength:I
         3: .line 269
            aload 0 /* this */
            bipush 20
            putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.certainty:I
         4: .line 270
            aload 0 /* this */
            new java.security.SecureRandom
            dup
            invokespecial java.security.SecureRandom.<init>:()V
            putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.random:Ljava/security/SecureRandom;
         5: .line 271
            aload 0 /* this */
            iconst_0
            putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.initialised:Z
         6: .line 276
            return
        end local 0 // org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lorg/bouncycastle/jce/provider/JDKKeyPairGenerator$ElGamal;

  public void initialize(int, java.security.SecureRandom);
    descriptor: (ILjava/security/SecureRandom;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal this
        start local 1 // int strength
        start local 2 // java.security.SecureRandom random
         0: .line 282
            aload 0 /* this */
            iload 1 /* strength */
            putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.strength:I
         1: .line 283
            aload 0 /* this */
            aload 2 /* random */
            putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.random:Ljava/security/SecureRandom;
         2: .line 284
            return
        end local 2 // java.security.SecureRandom random
        end local 1 // int strength
        end local 0 // org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Lorg/bouncycastle/jce/provider/JDKKeyPairGenerator$ElGamal;
            0    3     1  strength  I
            0    3     2    random  Ljava/security/SecureRandom;
    MethodParameters:
          Name  Flags
      strength  
      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=9, locals=4, args_size=3
        start local 0 // org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal this
        start local 1 // java.security.spec.AlgorithmParameterSpec params
        start local 2 // java.security.SecureRandom random
         0: .line 291
            aload 1 /* params */
            instanceof org.bouncycastle.jce.spec.ElGamalParameterSpec
            ifne 2
            aload 1 /* params */
            instanceof javax.crypto.spec.DHParameterSpec
            ifne 2
         1: .line 293
            new java.security.InvalidAlgorithmParameterException
            dup
            ldc "parameter object not a DHParameterSpec or an ElGamalParameterSpec"
            invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 296
      StackMap locals:
      StackMap stack:
            aload 1 /* params */
            instanceof org.bouncycastle.jce.spec.ElGamalParameterSpec
            ifeq 6
         3: .line 298
            aload 1 /* params */
            checkcast org.bouncycastle.jce.spec.ElGamalParameterSpec
            astore 3 /* elParams */
        start local 3 // org.bouncycastle.jce.spec.ElGamalParameterSpec elParams
         4: .line 300
            aload 0 /* this */
            new org.bouncycastle.crypto.params.ElGamalKeyGenerationParameters
            dup
            aload 2 /* random */
            new org.bouncycastle.crypto.params.ElGamalParameters
            dup
            aload 3 /* elParams */
            invokevirtual org.bouncycastle.jce.spec.ElGamalParameterSpec.getP:()Ljava/math/BigInteger;
            aload 3 /* elParams */
            invokevirtual org.bouncycastle.jce.spec.ElGamalParameterSpec.getG:()Ljava/math/BigInteger;
            invokespecial org.bouncycastle.crypto.params.ElGamalParameters.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
            invokespecial org.bouncycastle.crypto.params.ElGamalKeyGenerationParameters.<init>:(Ljava/security/SecureRandom;Lorg/bouncycastle/crypto/params/ElGamalParameters;)V
            putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.param:Lorg/bouncycastle/crypto/params/ElGamalKeyGenerationParameters;
        end local 3 // org.bouncycastle.jce.spec.ElGamalParameterSpec elParams
         5: .line 301
            goto 8
         6: .line 304
      StackMap locals:
      StackMap stack:
            aload 1 /* params */
            checkcast javax.crypto.spec.DHParameterSpec
            astore 3 /* dhParams */
        start local 3 // javax.crypto.spec.DHParameterSpec dhParams
         7: .line 306
            aload 0 /* this */
            new org.bouncycastle.crypto.params.ElGamalKeyGenerationParameters
            dup
            aload 2 /* random */
            new org.bouncycastle.crypto.params.ElGamalParameters
            dup
            aload 3 /* dhParams */
            invokevirtual javax.crypto.spec.DHParameterSpec.getP:()Ljava/math/BigInteger;
            aload 3 /* dhParams */
            invokevirtual javax.crypto.spec.DHParameterSpec.getG:()Ljava/math/BigInteger;
            aload 3 /* dhParams */
            invokevirtual javax.crypto.spec.DHParameterSpec.getL:()I
            invokespecial org.bouncycastle.crypto.params.ElGamalParameters.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;I)V
            invokespecial org.bouncycastle.crypto.params.ElGamalKeyGenerationParameters.<init>:(Ljava/security/SecureRandom;Lorg/bouncycastle/crypto/params/ElGamalParameters;)V
            putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.param:Lorg/bouncycastle/crypto/params/ElGamalKeyGenerationParameters;
        end local 3 // javax.crypto.spec.DHParameterSpec dhParams
         8: .line 309
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.engine:Lorg/bouncycastle/crypto/generators/ElGamalKeyPairGenerator;
            aload 0 /* this */
            getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.param:Lorg/bouncycastle/crypto/params/ElGamalKeyGenerationParameters;
            invokevirtual org.bouncycastle.crypto.generators.ElGamalKeyPairGenerator.init:(Lorg/bouncycastle/crypto/KeyGenerationParameters;)V
         9: .line 310
            aload 0 /* this */
            iconst_1
            putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.initialised:Z
        10: .line 311
            return
        end local 2 // java.security.SecureRandom random
        end local 1 // java.security.spec.AlgorithmParameterSpec params
        end local 0 // org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   11     0      this  Lorg/bouncycastle/jce/provider/JDKKeyPairGenerator$ElGamal;
            0   11     1    params  Ljava/security/spec/AlgorithmParameterSpec;
            0   11     2    random  Ljava/security/SecureRandom;
            4    5     3  elParams  Lorg/bouncycastle/jce/spec/ElGamalParameterSpec;
            7    8     3  dhParams  Ljavax/crypto/spec/DHParameterSpec;
    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=6, locals=4, args_size=1
        start local 0 // org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal this
         0: .line 315
            aload 0 /* this */
            getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.initialised:Z
            ifne 6
         1: .line 317
            new org.bouncycastle.crypto.generators.ElGamalParametersGenerator
            dup
            invokespecial org.bouncycastle.crypto.generators.ElGamalParametersGenerator.<init>:()V
            astore 1 /* pGen */
        start local 1 // org.bouncycastle.crypto.generators.ElGamalParametersGenerator pGen
         2: .line 319
            aload 1 /* pGen */
            aload 0 /* this */
            getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.strength:I
            aload 0 /* this */
            getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.certainty:I
            aload 0 /* this */
            getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.random:Ljava/security/SecureRandom;
            invokevirtual org.bouncycastle.crypto.generators.ElGamalParametersGenerator.init:(IILjava/security/SecureRandom;)V
         3: .line 320
            aload 0 /* this */
            new org.bouncycastle.crypto.params.ElGamalKeyGenerationParameters
            dup
            aload 0 /* this */
            getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.random:Ljava/security/SecureRandom;
            aload 1 /* pGen */
            invokevirtual org.bouncycastle.crypto.generators.ElGamalParametersGenerator.generateParameters:()Lorg/bouncycastle/crypto/params/ElGamalParameters;
            invokespecial org.bouncycastle.crypto.params.ElGamalKeyGenerationParameters.<init>:(Ljava/security/SecureRandom;Lorg/bouncycastle/crypto/params/ElGamalParameters;)V
            putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.param:Lorg/bouncycastle/crypto/params/ElGamalKeyGenerationParameters;
         4: .line 321
            aload 0 /* this */
            getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.engine:Lorg/bouncycastle/crypto/generators/ElGamalKeyPairGenerator;
            aload 0 /* this */
            getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.param:Lorg/bouncycastle/crypto/params/ElGamalKeyGenerationParameters;
            invokevirtual org.bouncycastle.crypto.generators.ElGamalKeyPairGenerator.init:(Lorg/bouncycastle/crypto/KeyGenerationParameters;)V
         5: .line 322
            aload 0 /* this */
            iconst_1
            putfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.initialised:Z
        end local 1 // org.bouncycastle.crypto.generators.ElGamalParametersGenerator pGen
         6: .line 325
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal.engine:Lorg/bouncycastle/crypto/generators/ElGamalKeyPairGenerator;
            invokevirtual org.bouncycastle.crypto.generators.ElGamalKeyPairGenerator.generateKeyPair:()Lorg/bouncycastle/crypto/AsymmetricCipherKeyPair;
            astore 1 /* pair */
        start local 1 // org.bouncycastle.crypto.AsymmetricCipherKeyPair pair
         7: .line 326
            aload 1 /* pair */
            invokevirtual org.bouncycastle.crypto.AsymmetricCipherKeyPair.getPublic:()Lorg/bouncycastle/crypto/CipherParameters;
            checkcast org.bouncycastle.crypto.params.ElGamalPublicKeyParameters
            astore 2 /* pub */
        start local 2 // org.bouncycastle.crypto.params.ElGamalPublicKeyParameters pub
         8: .line 327
            aload 1 /* pair */
            invokevirtual org.bouncycastle.crypto.AsymmetricCipherKeyPair.getPrivate:()Lorg/bouncycastle/crypto/CipherParameters;
            checkcast org.bouncycastle.crypto.params.ElGamalPrivateKeyParameters
            astore 3 /* priv */
        start local 3 // org.bouncycastle.crypto.params.ElGamalPrivateKeyParameters priv
         9: .line 329
            new java.security.KeyPair
            dup
            new org.bouncycastle.jce.provider.JCEElGamalPublicKey
            dup
            aload 2 /* pub */
            invokespecial org.bouncycastle.jce.provider.JCEElGamalPublicKey.<init>:(Lorg/bouncycastle/crypto/params/ElGamalPublicKeyParameters;)V
        10: .line 330
            new org.bouncycastle.jce.provider.JCEElGamalPrivateKey
            dup
            aload 3 /* priv */
            invokespecial org.bouncycastle.jce.provider.JCEElGamalPrivateKey.<init>:(Lorg/bouncycastle/crypto/params/ElGamalPrivateKeyParameters;)V
        11: .line 329
            invokespecial java.security.KeyPair.<init>:(Ljava/security/PublicKey;Ljava/security/PrivateKey;)V
            areturn
        end local 3 // org.bouncycastle.crypto.params.ElGamalPrivateKeyParameters priv
        end local 2 // org.bouncycastle.crypto.params.ElGamalPublicKeyParameters pub
        end local 1 // org.bouncycastle.crypto.AsymmetricCipherKeyPair pair
        end local 0 // org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Lorg/bouncycastle/jce/provider/JDKKeyPairGenerator$ElGamal;
            2    6     1  pGen  Lorg/bouncycastle/crypto/generators/ElGamalParametersGenerator;
            7   12     1  pair  Lorg/bouncycastle/crypto/AsymmetricCipherKeyPair;
            8   12     2   pub  Lorg/bouncycastle/crypto/params/ElGamalPublicKeyParameters;
            9   12     3  priv  Lorg/bouncycastle/crypto/params/ElGamalPrivateKeyParameters;
}
SourceFile: "JDKKeyPairGenerator.java"
NestHost: org.bouncycastle.jce.provider.JDKKeyPairGenerator
InnerClasses:
  public ElGamal = org.bouncycastle.jce.provider.JDKKeyPairGenerator$ElGamal of org.bouncycastle.jce.provider.JDKKeyPairGenerator