Top Fields Constructors Methods
org.bouncycastle.crypto.fips

pack-priv Class DhKeyGeneratorHelper

extends Object
Class Inheritance
Imports
java.math.BigInteger, java.security.SecureRandom, org.bouncycastle.crypto.internal.params.DhParameters, org.bouncycastle.util.BigIntegers

Field Summary

Modifier and TypeField and Description
pack-priv static final DhKeyGeneratorHelper
private static final BigInteger
private static final BigInteger

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv BigInteger
pack-priv BigInteger
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
pack-priv static final DhKeyGeneratorHelper INSTANCE
ONEback to summary
private static final BigInteger ONE
TWOback to summary
private static final BigInteger TWO

Constructor Detail

DhKeyGeneratorHelperback to summary
private DhKeyGeneratorHelper()

Method Detail

calculatePrivateback to summary
pack-priv BigInteger calculatePrivate(DhParameters dhParams, SecureRandom random)
calculatePublicback to summary
pack-priv BigInteger calculatePublic(DhParameters dhParams, BigInteger x)