public class org.bouncycastle.crypto.generators.ElGamalParametersGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.generators.ElGamalParametersGenerator
super_class: java.lang.Object
{
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int certainty;
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=1, locals=1, args_size=1
start local 0 // org.bouncycastle.crypto.generators.ElGamalParametersGenerator this
0: .line 8
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.bouncycastle.crypto.generators.ElGamalParametersGenerator this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/generators/ElGamalParametersGenerator;
public void init(int, int, java.security.SecureRandom);
descriptor: (IILjava/security/SecureRandom;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 // org.bouncycastle.crypto.generators.ElGamalParametersGenerator this
start local 1 // int size
start local 2 // int certainty
start local 3 // java.security.SecureRandom random
0: .line 19
aload 0 /* this */
iload 1 /* size */
putfield org.bouncycastle.crypto.generators.ElGamalParametersGenerator.size:I
1: .line 20
aload 0 /* this */
iload 2 /* certainty */
putfield org.bouncycastle.crypto.generators.ElGamalParametersGenerator.certainty:I
2: .line 21
aload 0 /* this */
aload 3 /* random */
putfield org.bouncycastle.crypto.generators.ElGamalParametersGenerator.random:Ljava/security/SecureRandom;
3: .line 22
return
end local 3 // java.security.SecureRandom random
end local 2 // int certainty
end local 1 // int size
end local 0 // org.bouncycastle.crypto.generators.ElGamalParametersGenerator this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/crypto/generators/ElGamalParametersGenerator;
0 4 1 size I
0 4 2 certainty I
0 4 3 random Ljava/security/SecureRandom;
MethodParameters:
Name Flags
size
certainty
random
public org.bouncycastle.crypto.params.ElGamalParameters generateParameters();
descriptor: ()Lorg/bouncycastle/crypto/params/ElGamalParameters;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 // org.bouncycastle.crypto.generators.ElGamalParametersGenerator this
0: .line 35
aload 0 /* this */
getfield org.bouncycastle.crypto.generators.ElGamalParametersGenerator.size:I
aload 0 /* this */
getfield org.bouncycastle.crypto.generators.ElGamalParametersGenerator.certainty:I
aload 0 /* this */
getfield org.bouncycastle.crypto.generators.ElGamalParametersGenerator.random:Ljava/security/SecureRandom;
invokestatic org.bouncycastle.crypto.generators.DHParametersHelper.generateSafePrimes:(IILjava/security/SecureRandom;)[Ljava/math/BigInteger;
astore 1 /* safePrimes */
start local 1 // java.math.BigInteger[] safePrimes
1: .line 37
aload 1 /* safePrimes */
iconst_0
aaload
astore 2 /* p */
start local 2 // java.math.BigInteger p
2: .line 38
aload 1 /* safePrimes */
iconst_1
aaload
astore 3 /* q */
start local 3 // java.math.BigInteger q
3: .line 39
aload 2 /* p */
aload 3 /* q */
aload 0 /* this */
getfield org.bouncycastle.crypto.generators.ElGamalParametersGenerator.random:Ljava/security/SecureRandom;
invokestatic org.bouncycastle.crypto.generators.DHParametersHelper.selectGenerator:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/security/SecureRandom;)Ljava/math/BigInteger;
astore 4 /* g */
start local 4 // java.math.BigInteger g
4: .line 41
new org.bouncycastle.crypto.params.ElGamalParameters
dup
aload 2 /* p */
aload 4 /* g */
invokespecial org.bouncycastle.crypto.params.ElGamalParameters.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;)V
areturn
end local 4 // java.math.BigInteger g
end local 3 // java.math.BigInteger q
end local 2 // java.math.BigInteger p
end local 1 // java.math.BigInteger[] safePrimes
end local 0 // org.bouncycastle.crypto.generators.ElGamalParametersGenerator this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/crypto/generators/ElGamalParametersGenerator;
1 5 1 safePrimes [Ljava/math/BigInteger;
2 5 2 p Ljava/math/BigInteger;
3 5 3 q Ljava/math/BigInteger;
4 5 4 g Ljava/math/BigInteger;
}
SourceFile: "ElGamalParametersGenerator.java"