public class org.bouncycastle.crypto.generators.DHParametersGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.generators.DHParametersGenerator
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
private static final java.math.BigInteger TWO;
descriptor: Ljava/math/BigInteger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc 2
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
putstatic org.bouncycastle.crypto.generators.DHParametersGenerator.TWO: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 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/generators/DHParametersGenerator;
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 start local 1 start local 2 start local 3 0: aload 0
iload 1
putfield org.bouncycastle.crypto.generators.DHParametersGenerator.size:I
1: aload 0
iload 2
putfield org.bouncycastle.crypto.generators.DHParametersGenerator.certainty:I
2: aload 0
aload 3
putfield org.bouncycastle.crypto.generators.DHParametersGenerator.random:Ljava/security/SecureRandom;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/crypto/generators/DHParametersGenerator;
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.DHParameters generateParameters();
descriptor: ()Lorg/bouncycastle/crypto/params/DHParameters;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.generators.DHParametersGenerator.size:I
aload 0
getfield org.bouncycastle.crypto.generators.DHParametersGenerator.certainty:I
aload 0
getfield org.bouncycastle.crypto.generators.DHParametersGenerator.random:Ljava/security/SecureRandom;
invokestatic org.bouncycastle.crypto.generators.DHParametersHelper.generateSafePrimes:(IILjava/security/SecureRandom;)[Ljava/math/BigInteger;
astore 1
start local 1 1: aload 1
iconst_0
aaload
astore 2
start local 2 2: aload 1
iconst_1
aaload
astore 3
start local 3 3: aload 2
aload 3
aload 0
getfield org.bouncycastle.crypto.generators.DHParametersGenerator.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
start local 4 4: new org.bouncycastle.crypto.params.DHParameters
dup
aload 2
aload 4
aload 3
getstatic org.bouncycastle.crypto.generators.DHParametersGenerator.TWO:Ljava/math/BigInteger;
aconst_null
invokespecial org.bouncycastle.crypto.params.DHParameters.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Lorg/bouncycastle/crypto/params/DHValidationParameters;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/crypto/generators/DHParametersGenerator;
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: "DHParametersGenerator.java"