Top Fields Constructors Methods
org.bouncycastle.crypto.fips

pack-priv Class DhParametersHelper

extends Object
Class Inheritance
Imports
java.math.BigInteger, java.security.SecureRandom, org.bouncycastle.math.ec.WNafUtil, org.bouncycastle.util.BigIntegers

Field Summary

Modifier and TypeField and Description
private static final BigInteger
private static final BigInteger

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static BigInteger[]
generateSafePrimes(int size, int certainty, SecureRandom random)

pack-priv static BigInteger
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ONEback to summary
private static final BigInteger ONE
TWOback to summary
private static final BigInteger TWO

Constructor Detail

DhParametersHelperback to summary
pack-priv DhParametersHelper()

Method Detail

generateSafePrimesback to summary
pack-priv static BigInteger[] generateSafePrimes(int size, int certainty, SecureRandom random)
selectGeneratorback to summary
pack-priv static BigInteger selectGenerator(BigInteger p, BigInteger q, SecureRandom random)